-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathindicators.rb
430 lines (393 loc) · 45.9 KB
/
indicators.rb
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
class Indicators
# Programming language: false=not supported, true=supported but no license required, lic=supported and license required
@apidata = [
{"visible" => true, "category" => "", "version_supported" => "2.2", "api"=>"Accelerometer", "file"=>"/rhoelements/RawSensors","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"true", "rhoe"=>true, "rhodes"=>false, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>false,"wince"=>false,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"AddressBar", "file"=>"/rhoelements/addressbar","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Airbeam", "file"=>"/rhoelements/airbeam","description"=>"", "html"=>"false", "js"=>"lic", "ruby"=>"none", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>false,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Alarm", "file"=>"/rhoelements/alarm","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"Alert", "file"=>"/rhodesapi/alert-api","description"=>"", "html"=>"false", "js"=>"none", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>true,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Apd", "file"=>"/rhoelements/apd","description"=>"", "html"=>"none", "js"=>"lic", "ruby"=>"false", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Application", "file"=>"/rhoelements/application","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"AppApplication", "file"=>"/rhodesapi/appapplication-api","description"=>"", "html"=>"false", "js"=>"none", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>true,"win7"=>true,"bb"=>true,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"AsyncHttp", "file"=>"/rhodesapi/asynchttp-api","description"=>"", "html"=>"false", "js"=>"lic", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>true,"bb"=>true,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.2", "api"=>"AudioCapture", "file"=>"/rhoelements/AudioCapture","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"true", "rhoe"=>true, "rhodes"=>false, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>true,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"BackButton", "file"=>"/rhoelements/backbutton","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"BackLight", "file"=>"/rhoelements/backlight","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"Barcode", "file"=>"/rhodesapi/barcode-api","description"=>"", "html"=>"false", "js"=>"true", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>true,"bb"=>true,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Battery", "file"=>"/rhoelements/battery","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"BottomCommandArea", "file"=>"/rhoelements/bottomcommandarea","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"BluetoothManager", "file"=>"/rhodesapi/bluetoothmanager-api","description"=>"", "html"=>"false", "js"=>"none", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>false,"win32"=>false,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"BluetoothSession", "file"=>"/rhodesapi/bluetoothsession-api","description"=>"", "html"=>"false", "js"=>"none", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>false,"win32"=>false,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"Camera", "file"=>"/rhodesapi/camera-api","description"=>"", "html"=>"false", "js"=>"lic", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"CardReader", "file"=>"/rhoelements/cardreader","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Comm", "file"=>"/rhoelements/comm","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"Database", "file"=>"/rhodesapi/database-api","description"=>"", "html"=>"false", "js"=>"lic", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"DateTimePicker", "file"=>"/rhodesapi/datetimepicker-api","description"=>"", "html"=>"false", "js"=>"none", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>true,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Decoders", "file"=>"/rhoelements/toc_decoders","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Device", "file"=>"/rhoelements/device","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>false,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"EmmlProfile", "file"=>"/rhoelements/EMMLProfile","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"File", "file"=>"/rhodesapi/file-api","description"=>"", "html"=>"false", "js"=>"lic", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"FileTransfer", "file"=>"/rhoelements/FileTransfer","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"ForwardButton", "file"=>"/rhoelements/forwardbutton","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Generic", "file"=>"/rhoelements/generic","description"=>"", "html"=>"none", "js"=>"lic", "ruby"=>"false", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"GeoLocation", "file"=>"/rhodesapi/geolocation-api","description"=>"", "html"=>"false", "js"=>"lic", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Gesture", "file"=>"/rhoelements/Gesture","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"GoButton", "file"=>"/rhoelements/gobutton","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"History", "file"=>"/rhoelements/historyback2","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"false", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"HomeButton", "file"=>"/rhoelements/HomeButton","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Hourglass", "file"=>"/rhoelements/hourglass","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Imager", "file"=>"/rhoelements/imager","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"KeyCapture", "file"=>"/rhoelements/keycapture","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"KeyState", "file"=>"/rhoelements/keystate","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>false,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Keylight", "file"=>"/rhoelements/Keylight","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>false,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.1", "api"=>"LightSensor", "file"=>"/rhoelements/LightSensor","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>false,"wince"=>false,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.2", "api"=>"Magnetometer", "file"=>"/rhoelements/RawSensors","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"true", "rhoe"=>true, "rhodes"=>false, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>false,"wince"=>false,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"MapView", "file"=>"/rhodesapi/mapview-api","description"=>"", "html"=>"false", "js"=>"lic", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"MinimizeButton", "file"=>"/rhoelements/minimizebutton","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.2", "api"=>"MediaPlayer", "file"=>"/rhoelements/mediaPlayer","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"true", "rhoe"=>true, "rhodes"=>false, "msionly"=>false,"ios" => false,"android"=>true,"wm"=>false,"wince"=>false,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.1", "api"=>"Memory", "file"=>"/rhoelements/memory","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>false,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"Menu Apis", "file"=>"/rhodesapi/menu-apis","description"=>"", "html"=>"false", "js"=>"none", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>true,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"Menu-Toolbar-Tabbar", "file"=>"/rhodesapi/menu-toolbar-tabbar-apis","description"=>"", "html"=>"none", "js"=>"none", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>true,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"Model Controller", "file"=>"/rhodesapi/model-controller-api","description"=>"", "html"=>"false", "js"=>"none", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>false,"wince"=>false,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"NativeTabbar", "file"=>"/rhodesapi/nativetabbar-api","description"=>"", "html"=>"false", "js"=>"none", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>false,"wince"=>false,"win32"=>true,"win7"=>false,"bb"=>false,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"NativeToolbar", "file"=>"/rhodesapi/nativetoolbar-api","description"=>"", "html"=>"false", "js"=>"none", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>true,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"NavBar", "file"=>"/rhodesapi/navigationbar-iphone-api","description"=>"", "html"=>"false", "js"=>"none", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>false,"wm"=>false,"wince"=>false,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Network", "file"=>"/rhoelements/network","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"NdefMessage", "file"=>"/rhodesapi/NdefMessage-api","description"=>"", "html"=>"false", "js"=>"false", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>false,"ios" => false,"android"=>true,"wm"=>false,"wince"=>false,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"NdefRecord", "file"=>"/rhodesapi/NdefRecord-api","description"=>"", "html"=>"false", "js"=>"false", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>false,"ios" => false,"android"=>true,"wm"=>false,"wince"=>false,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"NFCManager", "file"=>"/rhodesapi/NFCManager-api","description"=>"", "html"=>"false", "js"=>"false", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>false,"ios" => false,"android"=>true,"wm"=>false,"wince"=>false,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"NFCTags", "file"=>"/rhoelements/toc_nfc","description"=>"", "html"=>"false", "js"=>"false", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>false,"ios" => false,"android"=>true,"wm"=>false,"wince"=>false,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"NoSIP", "file"=>"/rhoelements/nosip","description"=>"", "html"=>"none", "js"=>"lic", "ruby"=>"false", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Notificiation", "file"=>"/rhoelements/notification","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"ODAX", "file"=>"/rhoelements/odax","description"=>"", "html"=>"none", "js"=>"lic", "ruby"=>"false", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>false,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"PowerOn", "file"=>"/rhoelements/poweron","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>false,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Push", "file"=>"/rhoelements/push","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.2", "api"=>"RawSensors", "file"=>"/rhoelements/RawSensors","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"true", "rhoe"=>true, "rhodes"=>false, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>false,"wince"=>false,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Registry", "file"=>"/rhoelements/registry","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>false,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Reload Button", "file"=>"/rhoelements/reloadbutton","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.2 SP1", "api"=>"Rfid", "file"=>"/rhoelements/rfid","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>false,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Reboot", "file"=>"/rhoelements/reboot","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>false,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"RhoApplication", "file"=>"/rhodesapi/rhoapplication-api","description"=>"", "html"=>"false", "js"=>"lic", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>true,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"RhoConfig", "file"=>"/rhodesapi/rhoconfig-api","description"=>"", "html"=>"false", "js"=>"none", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>true,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"RhoContact", "file"=>"/rhodesapi/rhocontact-api","description"=>"", "html"=>"false", "js"=>"none", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"RhoController", "file"=>"/rhodesapi/rhocontroller-api","description"=>"", "html"=>"false", "js"=>"none", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>true,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"RhoError", "file"=>"/rhodesapi/rhoerror-api","description"=>"", "html"=>"false", "js"=>"none", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>true,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"RhoEvent", "file"=>"/rhodesapi/rhoevent-api","description"=>"", "html"=>"false", "js"=>"none", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"RhoLog", "file"=>"/rhodesapi/rholog-api","description"=>"", "html"=>"false", "js"=>"lic", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>true,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"Rhom", "file"=>"/rhodesapi/rhom-api","description"=>"", "html"=>"false", "js"=>"none", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>true,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"RhomSource", "file"=>"/rhodesapi/rhomsource-api","description"=>"", "html"=>"false", "js"=>"none", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>true,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"RhoUtils", "file"=>"/rhodesapi/rhoutils-api","description"=>"", "html"=>"false", "js"=>"none", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>true,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"RingtoneManager", "file"=>"/rhodesapi/ringtonemanager-api","description"=>"", "html"=>"false", "js"=>"none", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"RSM", "file"=>"/rhoelements/RSM","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>false,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Scanner", "file"=>"/rhoelements/scanner","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"ScreenOrientation", "file"=>"/rhoelements/screenorientation","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"SignatureCapture", "file"=>"/rhoelements/SignatureCapture","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"SignatureCapture Inline", "file"=>"/rhodesapi/signaturecapture-api","description"=>"", "html"=>"false", "js"=>"true", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"SIP", "file"=>"/rhoelements/sip","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Signal", "file"=>"/rhoelements/signal","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"SipButton", "file"=>"/rhoelements/sipbutton","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"StopButton", "file"=>"/rhoelements/stopbutton","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"Stylus", "file"=>"/rhoelements/stylus","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"SyncEngine", "file"=>"/rhodesapi/syncengine-api","description"=>"", "html"=>"false", "js"=>"none", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>true,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"System", "file"=>"/rhodesapi/system-api","description"=>"", "html"=>"false", "js"=>"lic", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>true,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "2.1", "api"=>"SystemTime", "file"=>"/rhoelements/systemTime","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>false,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"Timer API", "file"=>"/rhodesapi/timer-api","description"=>"", "html"=>"false", "js"=>"none", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Timer", "file"=>"/rhoelements/timer","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>true,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"TopCommandArea", "file"=>"/rhoelements/topcommandarea","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.2", "api"=>"VideoCapture", "file"=>"/rhoelements/VideoCapture","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>false,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Volume", "file"=>"/rhoelements/volume","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.2", "api"=>"Wake", "file"=>"/rhoelements/wake","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>true, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>false,"wince"=>false,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "2.0", "api"=>"WebView", "file"=>"/rhodesapi/webview-api","description"=>"", "html"=>"false", "js"=>"none", "ruby"=>"true", "rhoe"=>true, "rhodes"=>true, "msionly"=>false,"ios" => true,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>true,"win7"=>true,"bb"=>true,"rhosim"=>true},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Quit Button", "file"=>"/rhoelements/quitbutton","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"Zoom", "file"=>"/rhoelements/zoom","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
{"visible" => true, "category" => "", "version_supported" => "1.0", "api"=>"ZoomTextButton", "file"=>"/rhoelements/zoomTextButton","description"=>"", "html"=>"lic", "js"=>"lic", "ruby"=>"lic", "rhoe"=>true, "rhodes"=>false, "msionly"=>true,"ios" => false,"android"=>true,"wm"=>true,"wince"=>true,"win32"=>false,"win7"=>false,"bb"=>false,"rhosim"=>false},
];
def self.load(fileid)
@api = @apidata.detect {|a| a["file"] == fileid }
if @api.nil?
html = ""
else
html = "<p >"
if @api["html"] == "true" or @api["html"] == "lic"
html = html + '<span class="label label-info">HTML</span> '
end
if @api["js"]== "true" or @api["js"] == "lic"
html = html + '<span class="label label-warning">JAVASCRIPT</span> '
end
if @api["ruby"] == "lic"
html = html + '<span class="label label-important">RUBY</span> '
end
if @api["ruby"]== "true"
html = html + '<span class="label">RUBY (No License Required)</span> '
end
if @api["msionly"]
html = html + '<img src="/img/motowebkit.png"> '
end
html = html + "</p><p>"
if @api["ios"]
html = html + '<img src="/img/ios.png" style="width: 33px;padding-top: 8px" rel="tooltip" title="iphone, ipod touch, ipad">'
end
if @api["android"]
html = html + '<img src="/img/android.png" rel="tooltip" title="ET1 and Consumer Android Devices" style="width: 33px;padding-top: 6px;">'
end
if @api["win32"]
html = html + '<img src="/img/windows.png" style="padding-top:6px;" rel="tooltip" title="Windows Desktop XP And Windows 7">'
end
# if @api["win7"]
# html = html + '<img src="/img/wp7.png" style="padding-top:6px;" rel="tooltip" title="Windows Phone 7 Devices">'
# end
if @api["wm"] or @api["wince"]
html = html + '<img src="/img/windowsembedded.png" style="width: 180px;padding-top: 10px" rel="tooltip" title="Windows Mobile/CE from any manufacturer">'
end
if @api["bb"]
html = html + '<img src="/img/bb.png" style="width:30px;padding-top:6px;" rel="tooltip" title="BlackBerry Devices">'
end
if @api["rhosim"]
html = html + '<img src="/img/rhodes.png" rel="tooltip" title="RhoMobile Simulator Included with RhoStudio">SIM'
end
html += "</p>"
end
return html
end
def self.languages(fileid)
@api = @apidata.detect {|a| a["file"] == fileid }
html = ""
if @api.nil?
html = ""
else
html = "<ul class='nav nav-list'><li class='nav-header'>LANGUAGE SUPPORT</li>"
if @api["html"] == "true" or @api["html"] == "lic"
html = html + '<li><span class="label label-info">HTML</span></li>'
end
if @api["js"]== "true" or @api["js"] == "lic"
html = html + '<li><span class="label label-warning">JAVASCRIPT</span></li>'
end
if @api["ruby"] == "lic"
html = html + '<li><span class="label label-important">RUBY</span></li>'
end
if @api["ruby"]== "true"
html = html + '<li><span class="label">RUBY (No License Required)</span></li>'
end
html = html + "</ul>"
end
return html
end
def self.oslist(fileid)
@api = @apidata.detect {|a| a["file"] == fileid }
if @api.nil?
html = ""
else
html = "<ul class='nav nav-list'><li class='nav-header'>OPERATING SYSTEMS</li>"
if @api["ios"]
html = html + '<li>iOS</li>'
end
if @api["android"]
html = html + '<li>Android</li>'
end
if @api["wm"] or @api["wince"]
html = html + '<li>Windows Embedded Handheld</li>'
end
# if @api["win7"]
# html = html + '<li>Window Phone 7</li>'
# end
if @api["win32"]
html = html + '<li>Windows 32/64</li>'
end
if @api["bb"]
html = html + '<li>Blackberry</li>'
end
if @api["rhosim"]
html = html + '<li>RhoSimulator</li>'
end
html += "</ul>"
end
return html
end
def self.apimatrix_markdown()
md = '#Mobile API Compatibility
The following table shows the compatibility for each Mobile API.
##API Matrix (All Devices)
<script type="text/javascript" charset="utf-8">
/* Table initialisation */
$(document).ready(function() {
$("#matrix").dataTable({
"bPaginate": false,
"bLengthChange": false,
"bFilter": true,
"bSort": true,
"bInfo": false,
"bRetrieve": true,
"bProcessing": true,
"bDestroy": true,
"bStateSave": true,
"bAutoWidth": false});
$("#matrixmsi").dataTable({
"bPaginate": false,
"bLengthChange": false,
"bFilter": true,
"bSort": true,
"bInfo": false,
"bRetrieve": true,
"bProcessing": true,
"bDestroy": true,
"bStateSave": true,
"bAutoWidth": false});
} );
</script>
<table class="table table-striped table-bordered table-condensed apicompat" width="130%" id="matrix">
<thead>
<tr>
<th style="text-align:center;vertical-align: middle;">API Name</th>
<th style="text-align:center;vertical-align: middle;">Languages</th>
<th style="text-align:center"><img src="/img/ios.png" style="width: 33px;padding-top: 8px" rel="tooltip" title="iphone, ipod touch, ipad"></th>
<th style="text-align:center"><img src="/img/android.png" rel="tooltip" title="ET1 and Consumer Android Devices" style="width: 33px;padding-top: 6px;"></th>
<th colspan="3" style="text-align:center"><img src="/img/windowsembedded.png" style="width: 180px;padding-top: 10px" rel="tooltip" title="Windows Mobile/CE from any manufacturer"></th>
<th style="text-align:center"><img src="/img/windows.png" style="padding-top:6px;" rel="tooltip" title="Windows Desktop XP And Windows 7"></th>
<th><img src="/img/bb.png" style="width:30px;padding-top:6px;" rel="tooltip" title="BlackBerry Devices"></th>
<th style="text-align:center;vertical-align: middle;"><img src="/img/rhodes.png" rel="tooltip" title="RhoMobile Simulator Included with RhoStudio">SIM</th>
<th></th>
</tr>
<tr>
<th>Click this row for sorting</th>
<th></th>
<th style="text-align:center">3.0+</th>
<th style="text-align:center">2.3+</th>
<th style="text-align:center">WM6.1+</th>
<th style="text-align:center">WM6.5+</th>
<th style="text-align:center">CE6.0+</th>
<th style="text-align:center">XP/7</th>
<th style="text-align:center">4.6+</th>
<th></th>
<th>Ver</th>
</tr></thead><tbody>'
mdmsirows = ""
@apidata.each { |api|
if api["visible"]
if api["html"] == "true" or api["html"] == "lic"
html = '<span class="label label-info">H</span> <span style="display:none">license rhoelements html meta</span>'
else
html = ''
end
if api["js"]== "true" or api["js"] == "lic"
js = '<span class="label label-warning">J</span> <span style="display:none">license rhoelements javascript js</span>'
else
js = ''
end
langclass = 'start1'
if api["ruby"] == "lic"
ruby = '<span class="label label-important">R</span> <span style="display:none">license rhoelements ruby</span>'
else
if api["ruby"]== "true"
ruby = '<span class="label">R</span> <span style="display:none">rhodes</span>'
else
ruby = ''
langclass = 'start2'
end
end
if api["msionly"]
msi = "<img src='/img/motowebkit.png'><span style='display:none'>msi</span>"
else msi = '<span style="display:none">nonmsi</span>'
end
if api["ios"]
ios = '<span class="icon-star"></span><span style="display:none">ios</span>'
else
ios = ''
end
if api["android"]
android= '<span class="icon-star"></span><span style="display:none">android</span>'
else
android = ''
end
if api["win32"]
win32 = '<span class="icon-star"></span><span style="display:none">win32 windows</span>'
else
win32 = ''
end
# if api["win7"]
# win7 = '<span class="icon-star"></span><span style="display:none">win7 windows</span>'
# else
win7 = ''
# end
if api["wm"]
wm = '<span class="icon-star"></span><span style="display:none">windows mobile windows</span>'
else
wm = ''
end
if api["wince"]
wince = '<span class="icon-star"></span><span style="display:none">ce wince windows</span>'
else
wince = ''
end
if api["bb"]
bb = '<span class="icon-star"></span><span style="display:none">blackberry</span>'
else
bb = ''
end
if api["rhosim"]
rhosim = '<span class="icon-star"></span><span style="display:none">simulator</span>'
else
rhosim = ''
end
if !api["msionly"]
mdrow = '<tr><td> <a href="/v/2.2' + api["file"] + '" rel="tooltip">' + api["api"] + '</a> </td>
<td class="' + langclass + '">' + ruby + js + html +'</td>
<td style="text-align:center">' + ios + '</td>
<td style="text-align:center">' + android + '</td>
<td style="text-align:center">' + wm + '</td>
<td style="text-align:center">' + wm + '</td>
<td style="text-align:center">' + wince + '</td>
<td style="text-align:center">' + win32 + '</td>
<td style="text-align:center">' + bb + '</td>
<td style="text-align:center">' + rhosim + '</td>
<td> ' + api["version_supported"] + '</td>
</tr>'
md = md + mdrow
else
mdrow = '<tr><td> <a href="/v/2.2' + api["file"] + '" rel="tooltip">' + api["api"] + '</a> </td>
<td class="' + langclass + '">' + ruby + js + html +'</td>
<td style="text-align:center">' + android + '</td>
<td style="text-align:center">' + wm + '</td>
<td style="text-align:center">' + wm + '</td>
<td style="text-align:center">' + wince + '</td>
<td> ' + api["version_supported"] + '</td>
</tr>'
mdmsirows = mdmsirows + mdrow
end
end
}
md = md + "
</tbody></table>"
md = md + '
##API Matrix (Symbol Devices)
<table class="table table-striped table-bordered table-condensed apicompat" width="130%" id="matrixmsi">
<thead>
<tr>
<th style="text-align:center;vertical-align: middle;">API Name</th>
<th style="text-align:center;vertical-align: middle;">Languages</th>
<th style="text-align:center"><img src="/img/android.png" rel="tooltip" title="ET1 and Consumer Android Devices" style="width: 33px;padding-top: 6px;"></th>
<th colspan="3" style="text-align:center"><img src="/img/windowsembedded.png" style="width: 180px;padding-top: 10px" rel="tooltip" title="Windows Mobile/CE from any manufacturer"></th>
<th></th>
</tr>
<tr>
<th>Click this row for sorting</th>
<th></th>
<th style="text-align:center">2.3+</th>
<th style="text-align:center">WM6.1+</th>
<th style="text-align:center">WM6.5+</th>
<th style="text-align:center">CE6.0+</th>
<th>Ver</th>
</tr></thead><tbody>'
md = md + mdmsirows + "</tbody></table>
**NOTE: As of Rhodes version 3.3.3, the [Barcode](/rhodes/device-caps#barcode), [NFC](/rhodes/device-caps#nfc), and [Inline Signature Capture](/rhodes/device-caps#signature-capture) APIs, as well as [Rhom data encryption](/rhodes/rhom#database-encryption) are removed from Rhodes. These features are only supported in Motorola RhoMobile Suite. If you wish to use these features, you will need to [upgrade to RhoMobile Suite](/rhomobile-install). Your application's build.yml will also need to be modified to [indicate the application type is 'Rhoelements']( /rhoelements/rhoelements2-native#enabling-motorola-device-capabilities). Additionally, a [RhoElements license](/rhoelements/licensing) is required.**
##Legend
<table class='table' >
<tr><td><span class='label'>R</span></td><td>Ruby API supported - license not required (unless using Windows Platforms WM/CE/Win32)</td></tr>
<tr><td><span class='label label-important'>R</span></td><td>Ruby API supported - license required</td></tr>
<tr><td><span class='label label-warning'>J</span></td><td>Javascript API supported - license required (Not Supported on Blackberry)</td></tr>
<tr><td><span class='label label-info'>H</span></td><td>HTML META Tag API supported - license required</td></tr>
</table>
[See licensing for details](licensing)
"
return md
end
end