-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbluetooth_content_share
519 lines (498 loc) · 47.6 KB
/
bluetooth_content_share
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
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
<!DOCTYPE html>
<html>
<head>
<title>CreateWebView</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" id="themeJQ" href="../css/themes/default/theme-dark.min.css"/>
<link rel="stylesheet" href="../css/themes/default/jquery.mobile.structure-1.2.0.min.css"/>
<link rel="stylesheet" id="themePrism" href="../css/themes/prism/dark.min.css"/>
<link rel="stylesheet" id="themeDocs" href="../css/docs-dark.min.css"/>
<script src="../js/energize-min.js"></script>
<script src="../js/jquery-1.8.1.min.js"></script>
<script src="../../app.js"></script>
<script src="../js/common.js"></script>
<script src="../js/example.js"></script>
<script src="../js/jquery.mobile-1.2.0.min.js"></script>
</head>
<body>
<div data-role="page" data-theme="a">
<div data-role="header" data-position="fixed">
<a href='#' class='ui-btn-left' data-icon='arrow-l' onclick="history.back(); return false">Back</a>
<h1>CreateWebView</h1>
<a class="ui-btn-right" data-icon="gear" data-iconpos="notext" onclick="setTheme(getTheme() == 'default' ? 'dark' : 'default')"></a>
</div>
<div style="position:fixed; top:40px; width:100%; text-align:center; z-index:1101;">
<div id="appPopup" class="androidPopup">Hello World</div>
</div>
<div data-role="content">
<div class="samp samp-inline" style="font-size:revert; padding:10px 15px">
<b>Content:</b><br>
<span style="display:inline-block;padding-left:2em;">
- <a href="" onclick="jumpTo('Methods')">Methods</a><br>
</span><br>
</div>
<p>You can create a control to display local or remote web pages in your App using the <strong>CreateWebView</strong> method.</p>
<div class="samp">
web = app.CreateWebView(
<a href="#pop_num_frc" data-transition="pop" data-rel="popup">width</a>,
<a href="#pop_num_frc" data-transition="pop" data-rel="popup">height</a>,
<a href="#pop_str_001" data-transition="pop" data-rel="popup">options</a>,
<a href="#pop_num_prc" data-transition="pop" data-rel="popup">zoom</a> )
→ <b>app object:</b> WebView
</div>
<p>If you are loading remote web pages, then you might want to use the <strong>SetOnProgress</strong> method to set the name of a callback function that you want called to report the progress of loading the page.<br>
<br>
You can use the <strong>LoadUrl</strong> method to load an internal or external web page or the <strong>LoadHtml</strong> method to load text directly from within your App.<br>
<span class="samp samp-inline">web<span class="token punctuation">.</span><span class="token function">LoadUrl</span><span class="token punctuation">(</span> url<span class="token punctuation">,</span> options <span class="token punctuation">)</span><span class="token punctuation">;</span></span><br>
<span class="samp samp-inline">web<span class="token punctuation">.</span><span class="token function">LoadHtml</span><span class="token punctuation">(</span> html<span class="token punctuation">,</span> baseFolder<span class="token punctuation">,</span> options <span class="token punctuation">)</span><span class="token punctuation">;</span></span><br>
<br>
If you need to, you can use the <strong>Execute</strong> method to execute JavaScript code within the WebView.<br>
<span class="samp samp-inline">web<span class="token punctuation">.</span><span class="token function">Execute</span><span class="token punctuation">(</span> text <span class="token punctuation">)</span><span class="token punctuation">;</span></span></p>
<div data-role="collapsible" data-collapsed="true" data-mini="true" data-theme="a" data-content-theme="a">
<h3>Example - Remote</h3>
<div id="examp1" style="font-size:70%">
<span class="token keyword">function</span> <span class="token function">OnStart</span><span class="token punctuation">(</span><span class="token punctuation">)</span><br>
<span class="token punctuation">{</span><br>
<span style="display:inline-block">lay <span class="token operator">=</span> app<span class="token punctuation">.</span><span class="token function">CreateLayout</span><span class="token punctuation">(</span> <span class="token string">"linear"</span><span class="token punctuation">,</span> <span class="token string">"VCenter,FillXY"</span> <span class="token punctuation">)</span><span class="token punctuation">;</span></span><br>
<br>
<span style="display:inline-block"> <b id="snip1" style="font-size:100%">web <span class="token operator">=</span> app<span class="token punctuation">.</span><span class="token function">CreateWebView</span><span class="token punctuation">(</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">,</span> <span class="token string">"Progress"</span> <span class="token punctuation">)</span><span class="token punctuation">;</span></span><br>
<span style="display:inline-block"> web<span class="token punctuation">.</span><span class="token function">SetOnProgress</span><span class="token punctuation">(</span> web_OnProgess <span class="token punctuation">)</span><span class="token punctuation">;</span></span><br>
<span style="display:inline-block"> lay<span class="token punctuation">.</span><span class="token function">AddChild</span><span class="token punctuation">(</span> web <span class="token punctuation">)</span><span class="token punctuation">;</span></span></b><br>
<br>
<span style="display:inline-block"> app<span class="token punctuation">.</span><span class="token function">AddLayout</span><span class="token punctuation">(</span> lay <span class="token punctuation">)</span><span class="token punctuation">;</span></span><br>
<br>
<span style="display:inline-block"> web<span class="token punctuation">.</span><span class="token function">LoadUrl</span><span class="token punctuation">(</span> <span class="token string">"http:///www.google.com"</span> <span class="token punctuation">)</span><span class="token punctuation">;</span></span><br>
<span class="token punctuation">}</span><br>
<br>
<span class="token keyword">function</span> <span class="token function">web_OnProgess</span><span class="token punctuation">(</span> <span class="token parameter">progress</span> <span class="token punctuation">)</span><br>
<span class="token punctuation">{</span><br>
<span style="display:inline-block"> app<span class="token punctuation">.</span><span class="token function">Debug</span><span class="token punctuation">(</span> <span class="token string">"progress = "</span> <span class="token operator">+</span> progress <span class="token punctuation">)</span><span class="token punctuation">;</span></span><br>
<span class="token punctuation">}</span>
</div>
<div name="divCopy" align="right">
<a href="#" data-role="button" data-mini="true" data-inline="true" onclick="copy( snip1 )"> Copy </a>
<a href="#" data-role="button" data-mini="true" data-inline="true" onclick="copy( examp1 )">Copy All</a>
<a href="#" data-role="button" data-mini="true" data-inline="true" onclick="demo( examp1 )"> Run </a>
</div>
</div>
<div data-role="collapsible" data-collapsed="true" data-mini="true" data-theme="a" data-content-theme="a">
<h3>Example - Local File</h3>
<div id="examp2" style="font-size:70%">
<span class="token keyword">function</span> <span class="token function">OnStart</span><span class="token punctuation">(</span><span class="token punctuation">)</span><br>
<span class="token punctuation">{</span><br>
<span style="display:inline-block">lay <span class="token operator">=</span> app<span class="token punctuation">.</span><span class="token function">CreateLayout</span><span class="token punctuation">(</span> <span class="token string">"linear"</span><span class="token punctuation">,</span> <span class="token string">"VCenter,FillXY"</span> <span class="token punctuation">)</span><span class="token punctuation">;</span></span><br>
<br>
<span style="display:inline-block"> <b id="snip2" style="font-size:100%">web <span class="token operator">=</span> app<span class="token punctuation">.</span><span class="token function">CreateWebView</span><span class="token punctuation">(</span> <span class="token number">0.8</span><span class="token punctuation">,</span> <span class="token number">0.8</span> <span class="token punctuation">)</span><span class="token punctuation">;</span></span><br>
<span style="display:inline-block"> web<span class="token punctuation">.</span><span class="token function">SetBackColor</span><span class="token punctuation">(</span> <span class="token string">"#00000000"</span> <span class="token punctuation">)</span><span class="token punctuation">;</span></span><br>
<span style="display:inline-block"> lay<span class="token punctuation">.</span><span class="token function">AddChild</span><span class="token punctuation">(</span> web <span class="token punctuation">)</span><span class="token punctuation">;</span></span></b><br>
<br>
<span style="display:inline-block"> app<span class="token punctuation">.</span><span class="token function">AddLayout</span><span class="token punctuation">(</span> lay <span class="token punctuation">)</span><span class="token punctuation">;</span></span><br>
<br>
<span style="display:inline-block"> web<span class="token punctuation">.</span><span class="token function">LoadUrl</span><span class="token punctuation">(</span> <span class="token string">"file:///Sys/Html/Page.htm"</span> <span class="token punctuation">)</span><span class="token punctuation">;</span></span><br>
<span class="token punctuation">}</span>
</div>
<div name="divCopy" align="right">
<a href="#" data-role="button" data-mini="true" data-inline="true" onclick="copy( snip2 )"> Copy </a>
<a href="#" data-role="button" data-mini="true" data-inline="true" onclick="copy( examp2 )">Copy All</a>
<a href="#" data-role="button" data-mini="true" data-inline="true" onclick="demo( examp2 )"> Run </a>
</div>
</div>
<div data-role="collapsible" data-collapsed="true" data-mini="true" data-theme="a" data-content-theme="a">
<h3>Example - Direct Html</h3>
<div id="examp3" style="font-size:70%">
<span class="token keyword">function</span> <span class="token function">OnStart</span><span class="token punctuation">(</span><span class="token punctuation">)</span><br>
<span class="token punctuation">{</span><br>
<span style="display:inline-block">lay <span class="token operator">=</span> app<span class="token punctuation">.</span><span class="token function">CreateLayout</span><span class="token punctuation">(</span> <span class="token string">"linear"</span><span class="token punctuation">,</span> <span class="token string">"VCenter,FillXY"</span> <span class="token punctuation">)</span><span class="token punctuation">;</span></span><br>
<br>
<span style="display:inline-block"> <b id="snip3" style="font-size:100%">web <span class="token operator">=</span> app<span class="token punctuation">.</span><span class="token function">CreateWebView</span><span class="token punctuation">(</span> <span class="token number">0.8</span><span class="token punctuation">,</span> <span class="token number">0.8</span> <span class="token punctuation">)</span><span class="token punctuation">;</span></span><br>
<span style="display:inline-block"> web<span class="token punctuation">.</span><span class="token function">SetBackColor</span><span class="token punctuation">(</span> <span class="token string">"#00000000"</span> <span class="token punctuation">)</span><span class="token punctuation">;</span></span><br>
<span style="display:inline-block"> lay<span class="token punctuation">.</span><span class="token function">AddChild</span><span class="token punctuation">(</span> web <span class="token punctuation">)</span><span class="token punctuation">;</span></span></b><br>
<br>
<span style="display:inline-block"> app<span class="token punctuation">.</span><span class="token function">AddLayout</span><span class="token punctuation">(</span> lay <span class="token punctuation">)</span><span class="token punctuation">;</span></span><br>
<br>
<span style="display:inline-block">html <span class="token operator">=</span> <span class="token string">"<html><body><center>"</span> <span class="token operator">+</span></span><br>
<span style="display:inline-block"><span class="token string">" <img src='Img/Droid2.png'>"</span> <span class="token operator">+</span></span><br>
<span style="display:inline-block"><span class="token string">" <div style='color:white; font-size:30;'>"</span> <span class="token operator">+</span></span><br>
<span style="display:inline-block"><span class="token string">" Hello World!</div><br>"</span> <span class="token operator">+</span></span><br>
<span style="display:inline-block"><span class="token string">"</center></body></html>"</span><span class="token punctuation">;</span></span><br>
<br>
<span style="display:inline-block"> web<span class="token punctuation">.</span><span class="token function">LoadHtml</span><span class="token punctuation">(</span> html<span class="token punctuation">,</span> <span class="token string">"file:///Sys/"</span> <span class="token punctuation">)</span><span class="token punctuation">;</span></span><br>
<span class="token punctuation">}</span>
</div>
<div name="divCopy" align="right">
<a href="#" data-role="button" data-mini="true" data-inline="true" onclick="copy( snip3 )"> Copy </a>
<a href="#" data-role="button" data-mini="true" data-inline="true" onclick="copy( examp3 )">Copy All</a>
<a href="#" data-role="button" data-mini="true" data-inline="true" onclick="demo( examp3 )"> Run </a>
</div>
</div>
<h3>Methods</h3>
<p>The following methods are available on the <strong>WebView</strong> object:</p>
<div class="samp">
<a href="#pop_dsc_001" data-transition="pop" data-rel="popup" class="baseFunc">AdjustColor</a>(
<a href="#pop_num_001" data-transition="pop" data-rel="popup">hue</a>,
<a href="#pop_num_002" data-transition="pop" data-rel="popup">saturation</a>,
<a href="#pop_num_002" data-transition="pop" data-rel="popup">brightness</a>,
<a href="#pop_num_004" data-transition="pop" data-rel="popup">contrast</a> )
</div>
<div class="samp">
<a href="#pop_dsc_002" data-transition="pop" data-rel="popup">Back</a>()
</div>
<div class="samp">
<a href="#pop_dsc_003" data-transition="pop" data-rel="popup">CanGoBack</a>() → <b>boolean</b>
</div>
<div class="samp">
<a href="#pop_dsc_004" data-transition="pop" data-rel="popup">CanGoForward</a>()
</div>
<div class="samp">
<a href="#pop_dsc_005" data-transition="pop" data-rel="popup">Capture</a>(
<a href="#pop_str_pth" data-transition="pop" data-rel="popup">file</a> )
</div>
<div class="samp">
<a href="#pop_dsc_006" data-transition="pop" data-rel="popup" class="baseFunc">ClearFocus</a>()
</div>
<div class="samp">
<a href="#pop_dsc_007" data-transition="pop" data-rel="popup">ClearHistory</a>()
</div>
<div class="samp">
<a href="#pop_dsc_008" data-transition="pop" data-rel="popup">Execute</a>(
<a href="#pop_str_jsc" data-transition="pop" data-rel="popup">code</a>,
<a href="#pop_fnc_001" data-transition="pop" data-rel="popup">callback</a> )
</div>
<div class="samp">
<a href="#pop_dsc_009" data-transition="pop" data-rel="popup" class="baseFunc">Focus</a>()
</div>
<div class="samp">
<a href="#pop_dsc_00a" data-transition="pop" data-rel="popup">Forward</a>()
</div>
<div class="samp">
<a href="#pop_dsc_00b" data-transition="pop" data-rel="popup" class="baseFunc">GetAbsHeight</a>() → <b>number:</b> <i>integer</i>
</div>
<div class="samp">
<a href="#pop_dsc_00c" data-transition="pop" data-rel="popup" class="baseFunc">GetAbsWidth</a>() → <b>number:</b> <i>integer</i>
</div>
<div class="samp">
<a href="#pop_dsc_00d" data-transition="pop" data-rel="popup" class="baseFunc">GetHeight</a>(
<a href="#pop_str_002" data-transition="pop" data-rel="popup">options</a> )
→ <b>number</b>
</div>
<div class="samp">
<a href="#pop_dsc_00e" data-transition="pop" data-rel="popup" class="baseFunc">GetLeft</a>(
<a href="#pop_str_002" data-transition="pop" data-rel="popup">options</a> )
→ <b>number</b>
</div>
<div class="samp">
<a href="#pop_dsc_00f" data-transition="pop" data-rel="popup" class="baseFunc">GetParent</a>() → <b>app object</b>
</div>
<div class="samp">
<a href="#pop_dsc_010" data-transition="pop" data-rel="popup" class="baseFunc">GetPosition</a>(
<a href="#pop_str_004" data-transition="pop" data-rel="popup">options</a> )
→ <b>object:</b> {
<a href="#pop_std_num" data-transition="pop" data-rel="popup">left</a>,
<a href="#pop_std_num" data-transition="pop" data-rel="popup">top</a>,
<a href="#pop_std_num" data-transition="pop" data-rel="popup">right</a>,
<a href="#pop_std_num" data-transition="pop" data-rel="popup">bottom</a> }
</div>
<div class="samp">
<a href="#pop_dsc_011" data-transition="pop" data-rel="popup" class="baseFunc">GetTop</a>(
<a href="#pop_str_002" data-transition="pop" data-rel="popup">options</a> )
→ <b>number</b>
</div>
<div class="samp">
<a href="#pop_dsc_012" data-transition="pop" data-rel="popup">GetType</a>() → <b>string:</b> <docstr>“WebView”</docstr>
</div>
<div class="samp">
<a href="#pop_dsc_013" data-transition="pop" data-rel="popup">GetUrl</a>() → <b>string:</b> <i>url path</i>
</div>
<div class="samp">
<a href="#pop_dsc_014" data-transition="pop" data-rel="popup" class="baseFunc">GetVisibility</a>() → <b>string:</b> <docstr>“Show”</docstr> or <docstr>“Hide”</docstr> or <docstr>“Gone”</docstr>
</div>
<div class="samp">
<a href="#pop_dsc_015" data-transition="pop" data-rel="popup" class="baseFunc">GetWidth</a>(
<a href="#pop_str_002" data-transition="pop" data-rel="popup">options</a> )
→ <b>number</b>
</div>
<div class="samp">
<a href="#pop_dsc_016" data-transition="pop" data-rel="popup" class="baseFunc">Gone</a>()
</div>
<div class="samp">
<a href="#pop_dsc_017" data-transition="pop" data-rel="popup" class="baseFunc">Hide</a>()
</div>
<div class="samp">
<a href="#pop_dsc_018" data-transition="pop" data-rel="popup" class="baseFunc">IsEnabled</a>() → <b>boolean</b>
</div>
<div class="samp">
<a href="#pop_dsc_019" data-transition="pop" data-rel="popup">IsOverlap</a>(
<a href="#pop_std_dso" data-transition="pop" data-rel="popup">obj</a>,
<a href="#pop_num_frc" data-transition="pop" data-rel="popup">depth</a> )
→ <b>boolean</b>
</div>
<div class="samp">
<a href="#pop_dsc_01a" data-transition="pop" data-rel="popup" class="baseFunc">IsVisible</a>() → <b>boolean</b>
</div>
<div class="samp">
<a href="#pop_dsc_01b" data-transition="pop" data-rel="popup">LoadHtml</a>(
<a href="#pop_str_htm" data-transition="pop" data-rel="popup">html</a>,
<a href="#pop_str_pth" data-transition="pop" data-rel="popup">baseFolder</a>,
<a href="#pop_str_001" data-transition="pop" data-rel="popup">options</a> )
</div>
<div class="samp">
<a href="#pop_dsc_01c" data-transition="pop" data-rel="popup">LoadUrl</a>(
<a href="#pop_str_url" data-transition="pop" data-rel="popup">url</a>,
<a href="#pop_str_001" data-transition="pop" data-rel="popup">options</a> )
</div>
<div class="samp">
<a href="#pop_dsc_01d" data-transition="pop" data-rel="popup" class="premHint">Method</a>(
<a href="#pop_std_str" data-transition="pop" data-rel="popup">name</a>,
<a href="#pop_lst_001" data-transition="pop" data-rel="popup">types</a>,
<a href="#pop_std_str" data-transition="pop" data-rel="popup">p1</a>,
<a href="#pop_std_str" data-transition="pop" data-rel="popup">p2</a>,
<a href="#pop_std_str" data-transition="pop" data-rel="popup">p3</a>,
<a href="#pop_std_str" data-transition="pop" data-rel="popup">p4</a> )
→ <b>all types</b>
</div>
<div class="samp">
<a href="#pop_dsc_01e" data-transition="pop" data-rel="popup">Print</a>()
</div>
<div class="samp">
<a href="#pop_dsc_01f" data-transition="pop" data-rel="popup">Reload</a>()
</div>
<div class="samp">
<a href="#pop_dsc_020" data-transition="pop" data-rel="popup" class="baseFunc">SetBackAlpha</a>(
<a href="#pop_num_005" data-transition="pop" data-rel="popup">alpha</a> )
</div>
<div class="samp">
<a href="#pop_dsc_021" data-transition="pop" data-rel="popup" class="baseFunc">SetBackColor</a>(
<a href="#pop_str_col" data-transition="pop" data-rel="popup">color</a> )
</div>
<div class="samp">
<a href="#pop_dsc_022" data-transition="pop" data-rel="popup" class="baseFunc">SetBackGradient</a>(
<a href="#pop_str_col" data-transition="pop" data-rel="popup">color1</a>,
<a href="#pop_str_col" data-transition="pop" data-rel="popup">color2</a>,
<a href="#pop_std_ukn" data-transition="pop" data-rel="popup">color3</a>,
<a href="#pop_str_009" data-transition="pop" data-rel="popup">options</a> )
</div>
<div class="samp">
<a href="#pop_dsc_023" data-transition="pop" data-rel="popup" class="baseFunc">SetBackGradientRadial</a>(
<a href="#pop_num_frc" data-transition="pop" data-rel="popup">x</a>,
<a href="#pop_num_frc" data-transition="pop" data-rel="popup">y</a>,
<a href="#pop_num_frc" data-transition="pop" data-rel="popup">radius</a>,
<a href="#pop_str_col" data-transition="pop" data-rel="popup">color1</a>,
<a href="#pop_str_col" data-transition="pop" data-rel="popup">color2</a>,
<a href="#pop_std_ukn" data-transition="pop" data-rel="popup">color3</a>,
<a href="#pop_str_com" data-transition="pop" data-rel="popup">options</a> )
</div>
<div class="samp">
<a href="#pop_dsc_024" data-transition="pop" data-rel="popup" class="baseFunc">SetBackground</a>(
<a href="#pop_str_pth" data-transition="pop" data-rel="popup">file</a>,
<a href="#pop_str_00a" data-transition="pop" data-rel="popup">options</a> )
</div>
<div class="samp">
<a href="#pop_dsc_025" data-transition="pop" data-rel="popup" class="baseFunc">SetColorFilter</a>(
<a href="#pop_str_col" data-transition="pop" data-rel="popup">color</a>,
<a href="#pop_str_00b" data-transition="pop" data-rel="popup">mode</a> )
</div>
<div class="samp">
<a href="#pop_dsc_026" data-transition="pop" data-rel="popup" class="baseFunc">SetEnabled</a>(
<a href="#pop_std_bin" data-transition="pop" data-rel="popup">enable</a> )
</div>
<div class="samp">
<a href="#pop_dsc_027" data-transition="pop" data-rel="popup" class="baseFunc">SetMargins</a>(
<a href="#pop_std_num" data-transition="pop" data-rel="popup">left</a>,
<a href="#pop_std_num" data-transition="pop" data-rel="popup">top</a>,
<a href="#pop_std_num" data-transition="pop" data-rel="popup">right</a>,
<a href="#pop_num_frc" data-transition="pop" data-rel="popup">bottom</a>,
<a href="#pop_str_00c" data-transition="pop" data-rel="popup">mode</a> )
</div>
<div class="samp">
<a href="#pop_dsc_028" data-transition="pop" data-rel="popup">SetOnConsole</a>(
<a href="#pop_fnc_002" data-transition="pop" data-rel="popup">callback</a> )
</div>
<div class="samp">
<a href="#pop_dsc_029" data-transition="pop" data-rel="popup">SetOnError</a>(
<a href="#pop_fnc_003" data-transition="pop" data-rel="popup">callback</a> )
</div>
<div class="samp">
<a href="#pop_dsc_02a" data-transition="pop" data-rel="popup">SetOnProgress</a>(
<a href="#pop_fnc_004" data-transition="pop" data-rel="popup">callback</a> )
</div>
<div class="samp">
<a href="#pop_dsc_02b" data-transition="pop" data-rel="popup">SetOnTouch</a>(
<a href="#pop_fnc_005" data-transition="pop" data-rel="popup">callback</a> )
</div>
<div class="samp">
<a href="#pop_dsc_02c" data-transition="pop" data-rel="popup" class="baseFunc">SetPadding</a>(
<a href="#pop_std_num" data-transition="pop" data-rel="popup">left</a>,
<a href="#pop_std_num" data-transition="pop" data-rel="popup">top</a>,
<a href="#pop_std_num" data-transition="pop" data-rel="popup">right</a>,
<a href="#pop_num_frc" data-transition="pop" data-rel="popup">bottom</a>,
<a href="#pop_str_00c" data-transition="pop" data-rel="popup">mode</a> )
</div>
<div class="samp">
<a href="#pop_dsc_02d" data-transition="pop" data-rel="popup" class="baseFunc">SetPosition</a>(
<a href="#pop_std_num" data-transition="pop" data-rel="popup">left</a>,
<a href="#pop_std_num" data-transition="pop" data-rel="popup">top</a>,
<a href="#pop_std_num" data-transition="pop" data-rel="popup">width</a>,
<a href="#pop_std_num" data-transition="pop" data-rel="popup">height</a>,
<a href="#pop_str_002" data-transition="pop" data-rel="popup">options</a> )
</div>
<div class="samp">
<a href="#pop_dsc_02e" data-transition="pop" data-rel="popup">SetRedirect</a>(
<a href="#pop_str_url" data-transition="pop" data-rel="popup">urlFrom</a>,
<a href="#pop_str_url" data-transition="pop" data-rel="popup">urlTo</a> )
</div>
<div class="samp">
<a href="#pop_dsc_02f" data-transition="pop" data-rel="popup" class="baseFunc">SetScale</a>(
<a href="#pop_num_fac" data-transition="pop" data-rel="popup">x</a>,
<a href="#pop_num_fac" data-transition="pop" data-rel="popup">y</a> )
</div>
<div class="samp">
<a href="#pop_dsc_030" data-transition="pop" data-rel="popup" class="baseFunc">SetSize</a>(
<a href="#pop_std_num" data-transition="pop" data-rel="popup">width</a>,
<a href="#pop_std_num" data-transition="pop" data-rel="popup">height</a>,
<a href="#pop_str_00f" data-transition="pop" data-rel="popup">options</a> )
</div>
<div class="samp">
<a href="#pop_dsc_031" data-transition="pop" data-rel="popup">SetTouchMode</a>(
<a href="#pop_std_bin" data-transition="pop" data-rel="popup">mode</a> )
</div>
<div class="samp">
<a href="#pop_dsc_032" data-transition="pop" data-rel="popup">SetUserAgent</a>(
<a href="#pop_std_str" data-transition="pop" data-rel="popup">agent</a> )
</div>
<div class="samp">
<a href="#pop_dsc_033" data-transition="pop" data-rel="popup">SetUserCreds</a>(
<a href="#pop_std_str" data-transition="pop" data-rel="popup">name</a>,
<a href="#pop_std_str" data-transition="pop" data-rel="popup">password</a> )
</div>
<div class="samp">
<a href="#pop_dsc_034" data-transition="pop" data-rel="popup" class="baseFunc">SetVisibility</a>(
<a href="#pop_str_010" data-transition="pop" data-rel="popup">mode</a> )
</div>
<div class="samp">
<a href="#pop_dsc_035" data-transition="pop" data-rel="popup" class="baseFunc">Show</a>()
</div>
<div class="samp">
<a href="#pop_dsc_036" data-transition="pop" data-rel="popup">SimulateKey</a>(
<a href="#pop_std_str" data-transition="pop" data-rel="popup">keyName</a>,
<a href="#pop_str_011" data-transition="pop" data-rel="popup">modifiers</a>,
<a href="#pop_std_num" data-transition="pop" data-rel="popup">pause</a> )
</div>
<div class="samp">
<a href="#pop_dsc_037" data-transition="pop" data-rel="popup" class="baseFunc">Tween</a>(
<a href="#pop_obj_002" data-transition="pop" data-rel="popup">target</a>,
<a href="#pop_num_mls" data-transition="pop" data-rel="popup">duration</a>,
<a href="#pop_str_012" data-transition="pop" data-rel="popup">type</a>,
<a href="#pop_num_int" data-transition="pop" data-rel="popup">repeat</a>,
<a href="#pop_std_bin" data-transition="pop" data-rel="popup">yoyo</a>,
<a href="#pop_fnc_006" data-transition="pop" data-rel="popup">callback</a> )
</div>
</div>
<div data-role="popup" id="pop_std_bin" class="ui-content"><b>boolean</b></div>
<div data-role="popup" id="pop_std_dso" class="ui-content"><b>app object</b></div>
<div data-role="popup" id="pop_std_num" class="ui-content"><b>number</b></div>
<div data-role="popup" id="pop_std_str" class="ui-content"><b>string</b></div>
<div data-role="popup" id="pop_std_ukn" class="ui-content"><b>unknown</b></div>
<div data-role="popup" id="pop_num_fac" class="ui-content"><b>number:</b> <i>factor</i></div>
<div data-role="popup" id="pop_num_frc" class="ui-content"><b>number:</b> <i>fraction (0..1)</i></div>
<div data-role="popup" id="pop_num_int" class="ui-content"><b>number:</b> <i>integer</i></div>
<div data-role="popup" id="pop_num_mls" class="ui-content"><b>number:</b> <i>milliseconds</i></div>
<div data-role="popup" id="pop_num_prc" class="ui-content"><b>number:</b> <i>percent</i></div>
<div data-role="popup" id="pop_num_001" class="ui-content"><b>number:</b> -180..180</div>
<div data-role="popup" id="pop_num_002" class="ui-content"><b>number:</b> -100..100</div>
<div data-role="popup" id="pop_num_004" class="ui-content"><b>number:</b> 0..100</div>
<div data-role="popup" id="pop_num_005" class="ui-content"><b>number:</b> 0..0.99 or 1..256</div>
<div data-role="popup" id="pop_str_col" class="ui-content"><b>string:</b> <i><br> hexadecimal: <docstr>“#rrggbb”</docstr>, <docstr>“#aarrggbb”</docstr><br> colourName: <docstr>“red”</docstr>, <docstr>“green”</docstr>, ...</i></div>
<div data-role="popup" id="pop_str_com" class="ui-content"><b>string:</b> <i>comma <docstr>“,”</docstr> separated</i></div>
<div data-role="popup" id="pop_str_htm" class="ui-content"><b>string:</b> <i>html code</i></div>
<div data-role="popup" id="pop_str_jsc" class="ui-content"><b>string:</b> <i>javascript code</i></div>
<div data-role="popup" id="pop_str_pth" class="ui-content"><b>string:</b> <i>path to file or folder ( <docstr>“/absolute/...”</docstr> or <docstr>“relative/...”</docstr> )</i></div>
<div data-role="popup" id="pop_str_url" class="ui-content"><b>string:</b> <i>url path</i></div>
<div data-role="popup" id="pop_str_001" class="ui-content"><b>string:</b> <i>comma <docstr>“,”</docstr> separated:</i> <docstr>“<a href="" onclick="app.ShowPopup('Allows the user to zoom the page')">AllowZoom</a>”</docstr>, <docstr>“AutoZoom”</docstr>, <docstr>“<a href="" onclick="app.ShowPopup('force page using “wide” viewport')">Wide</a>”</docstr>, <docstr>“FillX/Y”</docstr>, <docstr>“<a href="" onclick="app.ShowPopup('prevents copy/paste popup')">NoActionBar</a>”</docstr>, <docstr>“IgnoreErrors”</docstr>, <docstr>“IgnoreSSLErrors”</docstr>, <docstr>“<a href="" onclick="app.ShowPopup('prevent app.* calls')">NoApp</a>”</docstr>, <docstr>“<a href="" onclick="app.ShowPopup('Disable camera')">NoCapture</a>”</docstr>, <docstr>“<a href="" onclick="app.ShowPopup('Disable location sensor')">NoLocate</a>”</docstr>, <docstr>“NoLongTouch”</docstr>, <docstr>“<a href="" onclick="app.ShowPopup('Dont pause WebView when app in background')">NoPause</a>”</docstr>, <docstr>“NoScrollBars”</docstr>, <docstr>“<a href="" onclick="app.ShowPopup('Zoom to full width of page')">Overview</a>”</docstr>, <docstr>“<a href="" onclick="app.ShowPopup('Shows a progress indicator when loading')">Progress</a>”</docstr>, <docstr>“ScrollFade”</docstr>, <docstr>“<a href="" onclick="app.ShowPopup('makes softkeyboard useful for html code editors')">UseBasicInput</a>”</docstr>, <docstr>“<a href="" onclick="app.ShowPopup('Open links in external browser')">UseBrowser</a>”</docstr></div>
<div data-role="popup" id="pop_str_002" class="ui-content"><b>string:</b> <docstr>“px”</docstr></div>
<div data-role="popup" id="pop_str_004" class="ui-content"><b>string:</b> <docstr>“screen”</docstr>, <docstr>“px”</docstr></div>
<div data-role="popup" id="pop_str_009" class="ui-content"><b>string:</b> <docstr>“left-right”</docstr> or <docstr>“right-left”</docstr> or <docstr>“top-bottom”</docstr> or <docstr>“bottom-top”</docstr> or <docstr>“bl-tr”</docstr> or <docstr>“br-tl”</docstr> or <docstr>“tl-br”</docstr> or <docstr>“tr-bl”</docstr></div>
<div data-role="popup" id="pop_str_00a" class="ui-content"><b>string:</b> <docstr>“repeat”</docstr></div>
<div data-role="popup" id="pop_str_00b" class="ui-content"><b>string:</b> <docstr>“Add”</docstr> or <docstr>“Multiply”</docstr> or <docstr>“clear”</docstr> or <docstr>“darken”</docstr> or <docstr>“lighten”</docstr> or <docstr>“overlay”</docstr> or <docstr>“screen”</docstr> or <docstr>“xor”</docstr> or <docstr>“src_in”</docstr> or <docstr>“src_out”</docstr> or <docstr>“src_atop”</docstr> or <docstr>“src_over”</docstr> or <docstr>“dst_in”</docstr> or <docstr>“dst_out”</docstr> or <docstr>“dst_atop”</docstr> or <docstr>“dst_over”</docstr></div>
<div data-role="popup" id="pop_str_00c" class="ui-content"><b>string:</b> <docstr>“px”</docstr> or <docstr>“sp”</docstr> or <docstr>“dip”</docstr> or <docstr>“mm”</docstr> or <docstr>“pt”</docstr></div>
<div data-role="popup" id="pop_str_00f" class="ui-content"><b>string:</b> <docstr>“px”</docstr> or <docstr>“sp”</docstr> or <docstr>“dip”</docstr> or <docstr>“dp”</docstr> or <docstr>“mm”</docstr> or <docstr>“pt”</docstr></div>
<div data-role="popup" id="pop_str_010" class="ui-content"><b>string:</b> <docstr>“Show”</docstr> or <docstr>“Hide”</docstr> or <docstr>“Gone”</docstr></div>
<div data-role="popup" id="pop_str_011" class="ui-content"><b>string:</b> <docstr>“META_META_ON”</docstr>, <docstr>“META_RIGHT_ON”</docstr>, <docstr>“NUM_LOCK_ON”</docstr>, <docstr>“SCROLL_LOCK_ON”</docstr>, <docstr>“SHIFT_LEFT_ON”</docstr>, <docstr>“SHIFT_MASK”</docstr>, <docstr>“SHIFT_ON”</docstr>, <docstr>“SHIFT_RIGHT_ON”</docstr>, <docstr>“SYM_ON”</docstr></div>
<div data-role="popup" id="pop_str_012" class="ui-content"><b>string:</b> <docstr>“Linear.None”</docstr> or <docstr>“Quadratic.In/Out”</docstr> or <docstr>“Cubic.In/Out”</docstr> or <docstr>“Quartic.In/Out”</docstr> or <docstr>“Quintic.In/Out”</docstr> or <docstr>“Sinusoidal.In/Out”</docstr> or <docstr>“Exponential.In/Out”</docstr> or <docstr>“Circular.In/Out”</docstr> or <docstr>“Elastic.In/Out”</docstr> or <docstr>“Back.In/Out”</docstr> or <docstr>“Bounce.In/Out”</docstr></div>
<div data-role="popup" id="pop_obj_001" class="ui-content"><b>object:</b> { <a href="" onclick="app.ShowPopup('app object')">source</a>, <a href="" onclick="app.ShowPopup('string: “Down” or “Move” or “Up”')">action</a>, <a href="" onclick="app.ShowPopup('number: integer')">count</a>, x: [ <a href="" onclick="app.ShowPopup('number: fraction (0..1)')">x1</a>, <a href="" onclick="app.ShowPopup('number: fraction (0..1)')">x2</a>, <a href="" onclick="app.ShowPopup('number: fraction (0..1)')">x3</a> ], y: [ <a href="" onclick="app.ShowPopup('number: fraction (0..1)')">y1</a>, <a href="" onclick="app.ShowPopup('number: fraction (0..1)')">y2</a>, <a href="" onclick="app.ShowPopup('number: fraction (0..1)')">y3</a> ] }</div>
<div data-role="popup" id="pop_obj_002" class="ui-content"><b>object:</b> { <a href="" onclick="app.ShowPopup('number: fraction (0..1)')">x</a>, <a href="" onclick="app.ShowPopup('number: fraction (0..1)')">y</a>, <a href="" onclick="app.ShowPopup('number: fraction (0..1)')">w</a>, <a href="" onclick="app.ShowPopup('number: fraction (0..1)')">w</a>, <a href="" onclick="app.ShowPopup('number: fraction (0..1): horizontal scale')">sw</a>, <a href="" onclick="app.ShowPopup('number: fraction (0..1): vertical scale')">sh</a>, <a href="" onclick="app.ShowPopup('number: angle in degrees (0..360)')">rot</a> }</div>
<div data-role="popup" id="pop_lst_001" class="ui-content"><b>list:</b> boolean,char,byte,short,int,long,float,double,String,CharSequence,...</div>
<div data-role="popup" id="pop_fnc_001" class="ui-content"><b>function</b>(
<a href="" onclick="app.ShowPopup('all types')">result</a>
)</div>
<div data-role="popup" id="pop_fnc_002" class="ui-content"><b>function</b>(
<a href="" onclick="app.ShowPopup('string')">msg</a>
)</div>
<div data-role="popup" id="pop_fnc_003" class="ui-content"><b>function</b>(
<a href="" onclick="app.ShowPopup('string')">error</a>
)</div>
<div data-role="popup" id="pop_fnc_004" class="ui-content"><b>function</b>(
<a href="" onclick="app.ShowPopup('number: percent')">progress</a>
)</div>
<div data-role="popup" id="pop_fnc_005" class="ui-content"><b>function</b>(
<a href="" onclick="switchPopup(this, '#pop_obj_001')" data-transition="pop" data-rel="popup">event</a>
)</div>
<div data-role="popup" id="pop_fnc_006" class="ui-content"><b>function</b>()</div>
<div data-role="popup" id="pop_dsc_001" class="ui-content"><b>web.AdjustColor</b><br>Adjust the visual color effect of the control by setting the Hue (by angle in degrees in a color circle), the saturation, brightness and contrast of the control.</div>
<div data-role="popup" id="pop_dsc_002" class="ui-content"><b>web.Back</b><br>Loads the previous page from history.</div>
<div data-role="popup" id="pop_dsc_003" class="ui-content"><b>web.CanGoBack</b><br>Check whether the user can travel back in history.</div>
<div data-role="popup" id="pop_dsc_004" class="ui-content"><b>web.CanGoForward</b><br>Check whether the user can travel forward in history.</div>
<div data-role="popup" id="pop_dsc_005" class="ui-content"><b>web.Capture</b><br>Captures the visible area of the web view to a file.</div>
<div data-role="popup" id="pop_dsc_006" class="ui-content"><b>web.ClearFocus</b><br>Removes the focus of the control so that the user no longer has immediate access to it.</div>
<div data-role="popup" id="pop_dsc_007" class="ui-content"><b>web.ClearHistory</b><br>Clears the page history for Back() and Forward()</div>
<div data-role="popup" id="pop_dsc_008" class="ui-content"><b>web.Execute</b><br>Executes JavaScript code inside the WebView and passes the result to the callback</div>
<div data-role="popup" id="pop_dsc_009" class="ui-content"><b>web.Focus</b><br>Set the focus to the control so that the user can interact with it immediately.</div>
<div data-role="popup" id="pop_dsc_00a" class="ui-content"><b>web.Forward</b><br>Loads the following page from history.</div>
<div data-role="popup" id="pop_dsc_00b" class="ui-content"><b>web.GetAbsHeight</b><br>Get the absolute height of the control in pixels.</div>
<div data-role="popup" id="pop_dsc_00c" class="ui-content"><b>web.GetAbsWidth</b><br>Get the absolute width of the control in pixels.</div>
<div data-role="popup" id="pop_dsc_00d" class="ui-content"><b>web.GetHeight</b><br>Get the height of the control as screen height relative float or in pixels with the <strong>px</strong> option.</div>
<div data-role="popup" id="pop_dsc_00e" class="ui-content"><b>web.GetLeft</b><br>Get the distance from the control to the left parent border as width relative float or in pixels with the <strong>px</strong> option.</div>
<div data-role="popup" id="pop_dsc_00f" class="ui-content"><b>web.GetParent</b><br>Returns the parent control object where the object was added to - commonly a layout.</div>
<div data-role="popup" id="pop_dsc_010" class="ui-content"><b>web.GetPosition</b><br>Returns data about the position and size of the control.<br>If the <strong>screen</strong> option is given the position on the screen will be returned. Otherwise relative to the parent control.<br>The <strong>px</strong> options turns the relative values into pixels.</div>
<div data-role="popup" id="pop_dsc_011" class="ui-content"><b>web.GetTop</b><br>Get the distance from the control to the upper parent border as height relative float or in pixels with the <strong>px</strong> option.</div>
<div data-role="popup" id="pop_dsc_012" class="ui-content"><b>web.GetType</b><br>Returns the control class name.</div>
<div data-role="popup" id="pop_dsc_013" class="ui-content"><b>web.GetUrl</b><br>Returns the current website url.</div>
<div data-role="popup" id="pop_dsc_014" class="ui-content"><b>web.GetVisibility</b><br>Returns the current visibility state of the control. The Values are:<br><strong>Show</strong>: visible<br><strong>Hide</strong>: invisible but still consuming space<br><strong>Gone</strong>: invisible and not consuming space</div>
<div data-role="popup" id="pop_dsc_015" class="ui-content"><b>web.GetWidth</b><br>Get the width of the control as screen width relative float or in pixels with the <strong>px</strong> option.</div>
<div data-role="popup" id="pop_dsc_016" class="ui-content"><b>web.Gone</b><br>Hides the control without consuming any more layout space as if it were never there.</div>
<div data-role="popup" id="pop_dsc_017" class="ui-content"><b>web.Hide</b><br>Hide the control but keep the layout space free.</div>
<div data-role="popup" id="pop_dsc_018" class="ui-content"><b>web.IsEnabled</b><br>Returns whether the control is currently useable by the user.</div>
<div data-role="popup" id="pop_dsc_019" class="ui-content"><b>web.IsOverlap</b><br>Returns whether the control overlaps with another by a given distance.</div>
<div data-role="popup" id="pop_dsc_01a" class="ui-content"><b>web.IsVisible</b><br>Returns whether the control is currently visible to the user, ignoring overlaying controls.</div>
<div data-role="popup" id="pop_dsc_01b" class="ui-content"><b>web.LoadHtml</b><br>Loads html code to the WebView.</div>
<div data-role="popup" id="pop_dsc_01c" class="ui-content"><b>web.LoadUrl</b><br>Loads an url to the WebView</div>
<div data-role="popup" id="pop_dsc_01d" class="ui-content"><b>web.Method</b><br>Allows access to other functions defined on the object in Java via reflection.<br><br><div class='premHint'><strong>Note: This function is a premium feature. Please consider subscribing to Premium to use this feature and support DroidScript in its further development.</strong></div></div>
<div data-role="popup" id="pop_dsc_01e" class="ui-content"><b>web.Print</b><br>Print current page via the builtin android printer dialog.<br><br>Note: Available since Android 4.4 KitKat</div>
<div data-role="popup" id="pop_dsc_01f" class="ui-content"><b>web.Reload</b><br>Reloads the current page</div>
<div data-role="popup" id="pop_dsc_020" class="ui-content"><b>web.SetBackAlpha</b><br>Set the transparency of the background by an alpha value between <b>0</b> (<i>no transparency</i>) and <b>0.99</b> (<i>full transparent</i>) or <b>1</b> (<i>no transparency</i>) and <b>256</b> (<i>full transparent</i>)</div>
<div data-role="popup" id="pop_dsc_021" class="ui-content"><b>web.SetBackColor</b><br>Changes the background color of the control.</div>
<div data-role="popup" id="pop_dsc_022" class="ui-content"><b>web.SetBackGradient</b><br>Define the background color of the control with a gradient. The default gradient direction is from top to bottom, but you can change it from left to right and the reversed versions of course.</div>
<div data-role="popup" id="pop_dsc_023" class="ui-content"><b>web.SetBackGradientRadial</b><br>Define a radial color gradient for the background of control.</div>
<div data-role="popup" id="pop_dsc_024" class="ui-content"><b>web.SetBackground</b><br>Changes the background to an image which can be repeated using the <strong>repeat</strong> option.<br>An image which is often used with that option is '/res/drawable/pattern_carbon' - try it out!</div>
<div data-role="popup" id="pop_dsc_025" class="ui-content"><b>web.SetColorFilter</b><br>Adjust the visual color effect with a color and a given BlendMode. More information about BlendMode can be found in the <a href="https://developer.android.com/reference/android/graphics/BlendMode.html" onclick="return OpenUrl(this.href);">Android Developer page</a>.</div>
<div data-role="popup" id="pop_dsc_026" class="ui-content"><b>web.SetEnabled</b><br>En/Disable the control physically and visually so that the user can/can not access the control. Events like OnTouch will still be fired.</div>
<div data-role="popup" id="pop_dsc_027" class="ui-content"><b>web.SetMargins</b><br>Define a distance to other controls on each side of the control.</div>
<div data-role="popup" id="pop_dsc_028" class="ui-content"><b>web.SetOnConsole</b><br>Define a callback function which is called when a message was logged to the console.</div>
<div data-role="popup" id="pop_dsc_029" class="ui-content"><b>web.SetOnError</b><br>Define a callback function which is called when an error occured.</div>
<div data-role="popup" id="pop_dsc_02a" class="ui-content"><b>web.SetOnProgress</b><br>Define a callback function which is called when the webpage loading progress changed</div>
<div data-role="popup" id="pop_dsc_02b" class="ui-content"><b>web.SetOnTouch</b><br>Define a callback function that is called when the user touches the control. In addition, an <strong>event</strong> object is passed to the callback function to obtain information about the touch <strong>type</strong>, the touch <strong>position(s)</strong>, the <strong>amount</strong> of touches and the <strong>control</strong> that was touched.</div>
<div data-role="popup" id="pop_dsc_02c" class="ui-content"><b>web.SetPadding</b><br>Define distances that elements within the control are to maintain from the control borders.</div>
<div data-role="popup" id="pop_dsc_02d" class="ui-content"><b>web.SetPosition</b><br>Defines the position and size for the control if the parent is an absolute layout.</div>
<div data-role="popup" id="pop_dsc_02e" class="ui-content"><b>web.SetRedirect</b><br>Add a url redirection rule.</div>
<div data-role="popup" id="pop_dsc_02f" class="ui-content"><b>web.SetScale</b><br>Scales the control along with its contents by the factors passed to the function.</div>
<div data-role="popup" id="pop_dsc_030" class="ui-content"><b>web.SetSize</b><br>Change the size of the control in either screen relative values or in pixels if the <strong>px</strong> option was given.</div>
<div data-role="popup" id="pop_dsc_031" class="ui-content"><b>web.SetTouchMode</b><br>Set the control in touch mode.</div>
<div data-role="popup" id="pop_dsc_032" class="ui-content"><b>web.SetUserAgent</b><br>Defines a custom user agent</div>
<div data-role="popup" id="pop_dsc_033" class="ui-content"><b>web.SetUserCreds</b><br>Set login data for websites that require authentication.</div>
<div data-role="popup" id="pop_dsc_034" class="ui-content"><b>web.SetVisibility</b><br>Change the visibility of the control to one of the available modes:<br><strong>Show:</strong> visible<br><strong>Hide:</strong> invisible but still consuming space<br><strong>Gone:</strong> invisible and not consuming space</div>
<div data-role="popup" id="pop_dsc_035" class="ui-content"><b>web.Show</b><br>Set the visibility of the control to <docstr>“Show”</docstr>.</div>
<div data-role="popup" id="pop_dsc_036" class="ui-content"><b>web.SimulateKey</b><br>Simulates a key event on an app object.<br><br>You can find the complete list of key names on the <a href="https://developer.android.com/reference/android/view/KeyEvent#KEYCODE_0" onclick="return OpenUrl(this.href);">Android Developer Page</a>.</div>
<div data-role="popup" id="pop_dsc_037" class="ui-content"><b>web.Tween</b><br>Performs an animation on the control.<br>The <strong>target</strong> object is for the position, size and rotation that the control has at the end of the animation.<br><br>The <strong>type</strong> specifies the behavior and the speed of the animation. Separated by a dot, you must also specify whether you want to apply this behavior to the beginning (In), end (Out), or to both (InOut) times of the animation.<br><br>With the amount of <strong>repeat</strong>s you can control how many times you want to play the animation.<br><br>If you have <strong>jojo</strong> activated, the animation will alternate between forward and backward playback, so that if the repetition value is odd, the control will be at the start position again at the end of the animation.<br><br>Finally the <strong>callback</strong> function will be called after the animation has finished. Well, it's about time!</div>
</div>
</body>
</html>