This repository has been archived by the owner on Apr 24, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathadvanced_capture.html
76 lines (57 loc) · 1.59 KB
/
advanced_capture.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Mobile Widgets</title>
<link rel="stylesheet" href="style/style.css" />
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
<script type="text/javascript" src="js/StructureElts.js"></script>
<script type="text/javascript" src="js/Structure.js"></script>
<script type="text/javascript" src="js/DocElements.js"></script>
</head>
<body>
<script type="text/javascript">
<!--
idCurrentPage = "advanced_capture";
beginPage();
//-->
</script>
<h1 class="title">photo capture</h1>
<script type="text/javascript">
<!--
addIndex();
//-->
</script>
<script type="text/javascript">addTitle("Introduction", 1);</script>
<p>
Capturing photo is possible with the MeMo player using the Media* nodes.
</p>
<p>
Browse the photo folder :
</p>
<textarea rows="11" cols="80" readonly="readonly" wrap="off">
// get the path of the photo folder
var photoDir = Browser.getProperty('fileconn.dir.photos');
// number of files in the folder
var nbFiles = File.list(photoDir);
// list files
for (var i=0; i<nbFiles; i++) {
var fileName = File.getName(i);
Browser.print('fileName '+fileName);
}
</textarea>
<p>
<script type="text/javascript">
<!--
addBackPageNavigator ('advanced_memory_tips','widgets_development_limitations');
//-->
</script>
<script type="text/javascript">
<!--
endPage();
//-->
</script>
</body>
</html>