User Tools

Site Tools


sample_code:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
sample_code:start [2016/08/28 20:26]
titus [Sample programs]
sample_code:start [2022/07/14 15:49]
al4he6
Line 2: Line 2:
  
 ====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 28: Line 31:
 [[sample_code:image_rotate|Image rotate]] - rotate x×y images using image.DrawImageMtx\\ [[sample_code:image_rotate|Image rotate]] - rotate x×y images using image.DrawImageMtx\\
 [[sample_code:layout_children|Layout Children]] - Functions to manipulate controls on a layout\\ [[sample_code:layout_children|Layout Children]] - Functions to manipulate controls on a layout\\
 +[[sample_code:list_of_entries|List of Entries]] - Show a list of entries (with add, update, delete, save, load)\\
 [[sample_code:listing_nxt_files|Listing files on NXT]] - Sample app\\ [[sample_code:listing_nxt_files|Listing files on NXT]] - Sample app\\
 [[sample_code:random_file_acces|Low Random File Acces]] - Sample and Infos from Dave Smart\\ [[sample_code:random_file_acces|Low Random File Acces]] - Sample and Infos from Dave Smart\\
Line 44: Line 48:
 [[sample_code:superuser|superuser on rooted device]]\\ [[sample_code:superuser|superuser on rooted device]]\\
 [[sample_code:shell|shell access]]\\ [[sample_code:shell|shell access]]\\
 +[[sample_code:listroots|list writeable mounted paths]] - List free space on mounted writeable paths\\
 [[sample_code:Using app.Execute]] - How to use app.Execute to get DS to respond to buttons/links etc in a Webview\\ [[sample_code:Using app.Execute]] - How to use app.Execute to get DS to respond to buttons/links etc in a Webview\\
 [[sample_code:file_service|Website File Check Service]] - Service to keep checking whether a file on a webserver has changed\\ [[sample_code:file_service|Website File Check Service]] - Service to keep checking whether a file on a webserver has changed\\
Line 55: Line 60:
 [[sample_code:new_file|New File Dialog]] - Show a dialog and create a new file in a folder\\ [[sample_code:new_file|New File Dialog]] - Show a dialog and create a new file in a folder\\
 [[sample_code:new_folder|New Folder Dialog]] - Show a dialog and create a new folder in the path\\ [[sample_code:new_folder|New Folder Dialog]] - Show a dialog and create a new folder in the path\\
 +[[inputbox|Dialog for user input]] Get a string from the user\\
 [[sample_code:custom_dialog|Custom Yes-No Dialog]] - Sample how to create a simple custom dialog, displayed if Back-Button is touched\\ [[sample_code:custom_dialog|Custom Yes-No Dialog]] - Sample how to create a simple custom dialog, displayed if Back-Button is touched\\
 [[sample_code:database_navigate|Navigate Droidscript Databases]] First draft to navigate multidatabases, tables, columns and see values.\\ [[sample_code:database_navigate|Navigate Droidscript Databases]] First draft to navigate multidatabases, tables, columns and see values.\\
Line 69: Line 74:
 [[sample_code:textedit_search|TextEdit Search]] - Search for string in a TextEdit control \\ [[sample_code:textedit_search|TextEdit Search]] - Search for string in a TextEdit control \\
 [[sample_code:hexview|File Hex Viewer]] display a file in hex\\ [[sample_code:hexview|File Hex Viewer]] display a file in hex\\
 +[[sample_code:Search |]]   search   \\
 +----
 +
 +====Samples on the forum====
 +[[forum_sample_links|Links to samples]] on the official DroidScript forum
 +
 ---- ----
  
sample_code/start.txt · Last modified: 2022/07/24 16:49 by al4he6