41 |
38 |
42 // Event triggers |
39 // Event triggers |
43 sysObject.onchargelevel = null; |
40 sysObject.onchargelevel = null; |
44 sysObject.onchargerconnected = null; |
41 sysObject.onchargerconnected = null; |
45 |
42 |
46 |
|
47 |
|
48 /* |
43 /* |
49 * Beep tone control services |
44 * Beep tone control services |
50 */ |
45 */ |
51 sysObject.beep = function(frequency, duration){ } |
46 sysObject.beep = function(frequency, duration){ |
52 |
47 alert("Beep is not implemented in the previewer."); |
53 |
48 }; |
54 |
49 |
55 /* |
50 /* |
56 * Network Information services |
51 * Network Information services |
57 */ |
52 */ |
58 |
53 |
85 // functions |
78 // functions |
86 sysObject.lighton = function(lighttarget, duration, intensity, fadein){ } |
79 sysObject.lighton = function(lighttarget, duration, intensity, fadein){ } |
87 sysObject.lightblink = function(lighttarget, duration, onduration, offduration, intensity){ } |
80 sysObject.lightblink = function(lighttarget, duration, onduration, offduration, intensity){ } |
88 sysObject.lightoff = function(lighttarget, duration, fadeout){ } |
81 sysObject.lightoff = function(lighttarget, duration, fadeout){ } |
89 |
82 |
90 |
|
91 |
|
92 /* |
83 /* |
93 * Vibration information and control services |
84 * Vibration information and control services |
94 */ |
85 */ |
95 sysObject.vibraminintensity = 1; |
86 sysObject.vibraminintensity = 1; |
96 sysObject.vibramaxintensity = 10; |
87 sysObject.vibramaxintensity = 10; |
97 sysObject.vibramaxduration = 100; |
88 sysObject.vibramaxduration = 100; |
98 |
89 |
99 // Vibration setting in the user profile is off. |
90 // Vibration setting in the user profile is off. |
100 sysObject.vibrasettings = 2; |
91 sysObject.vibrasettings = 2; |
101 |
92 |
102 sysObject.startvibra = function(duration, intensity){ } |
93 sysObject.startvibra = function(duration, intensity){ |
|
94 alert("Vibrate is not implemented in the previewer."); |
|
95 }; |
103 |
96 |
104 sysObject.stopvibra = function(){ } |
97 sysObject.stopvibra = function(){ |
105 |
98 alert("Vibrate is not implemented in the previewer."); |
106 |
99 }; |
107 |
|
108 |
100 |
109 /* |
101 /* |
110 * Memory and file system information services |
102 * Memory and file system information services |
111 */ |
103 */ |
112 sysObject.totalram = 32; |
104 sysObject.totalram = 32; |