This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
sample_code:start [2016/08/28 20:26] titus [Sample programs] |
sample_code:start [2018/12/30 01:17] 114.125.41.56 [Sample DroidScript Code] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======Sample DroidScript Code====== | + | < |
+ | package=" | ||
+ | android: | ||
+ | android: | ||
+ | < | ||
+ | </ | ||
====Sample programs==== | ====Sample programs==== | ||
+ | [[Dice]]- This is a simple dice game. \\ | ||
+ | [[Digital Clock]]- Shows Time and date. | ||
+ | \\ | ||
[[DroidScript Console]]- Similar to command prompt in Windows. \\ | [[DroidScript Console]]- Similar to command prompt in Windows. \\ | ||
[[Filter]]- This sample shows how to filter items in a list. \\ | [[Filter]]- This sample shows how to filter items in a list. \\ | ||
Line 44: | Line 52: | ||
[[sample_code: | [[sample_code: | ||
[[sample_code: | [[sample_code: | ||
+ | [[sample_code: | ||
[[sample_code: | [[sample_code: | ||
[[sample_code: | [[sample_code: | ||
Line 55: | Line 64: | ||
[[sample_code: | [[sample_code: | ||
[[sample_code: | [[sample_code: | ||
+ | [[inputbox|Dialog for user input]] Get a string from the user\\ | ||
[[sample_code: | [[sample_code: | ||
[[sample_code: | [[sample_code: | ||
Line 69: | Line 78: | ||
[[sample_code: | [[sample_code: | ||
[[sample_code: | [[sample_code: | ||
+ | [[sample_code: | ||
+ | ---- | ||
+ | |||
+ | ====Samples on the forum==== | ||
+ | [[forum_sample_links|Links to samples]] on the official DroidScript forum | ||
+ | |||
---- | ---- | ||