User Tools

Site Tools


getting_started:docs

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
Next revision Both sides next revision
getting_started:docs [2014/12/20 01:29]
bcarroll
getting_started:docs [2018/12/30 13:34]
182.1.60.113 [app]
Line 1: Line 1:
-The docs section of the [[ide|IDE]] is a good place for newcomers to look to find out how DroidScript works.+function indicator( v ) { 
 +    return v]
 +
 +var arr = [ 'beep', 'boop', 'foo', 'bar' ];
  
-At the very leastyou should look at the first two sectionsIntroduction and Layouts.+var out = groupBy( arrindicator ); 
 +// returns { 'b': [ 'beep''boop', 'bar' ], 'f': [ 'foo' ] } 
 +function predicate( key, value ) { 
 +    return ( value > 1 ); 
 +}
  
-====Introduction====+var obj1 = { 
 +    'a': 1, 
 +    'b': 2, 
 +    'c':
 +}; 
 + 
 +var obj2 = omitBy( obj1, predicate ); 
 +// returns { 'a': 1 } 
 +=====Introduction=====
 Start here to find the very basics of the DroidScript app. Start here to find the very basics of the DroidScript app.
  
-====app==== +=====app===== 
-all methods of the [[built_in:app]] object\\   +all methods of the **[[built_in:app]]** object\\   
-all [[built_in:app_events|Events]] of the app object\\+all **[[built_in:app_events|Events]]** of the app object\\ 
 + 
 +function indicator( v ) { 
 +    return v[ 0 ]; 
 +
 +var arr = [ 'beep', 'boop', 'foo', 'bar' ]; 
 + 
 +var out = groupBy( arr, indicator ); 
 +// returns { 'b': [ 'beep', 'boop', 'bar' ], 'f': [ 'foo' ] } 
 +function predicate( key, value ) { 
 +    return ( value > 1 ); 
 +
 + 
 +var obj1 = { 
 +    'a': 1, 
 +    'b': 2, 
 +    'c':
 +}; 
 + 
 +var obj2 = omitBy( obj1, predicate ); 
 +// returns { 'a': 1 } 
 +=====Layouts===== 
 +Show the basics of organising stuff on the screen **[[built_in:layouts|Layouts]]**
  
-====Layouts==== +=====Controls=====
-Show the basics of organising stuff on the screen +
-[[built_in:layouts|Layouts]] +
-====Controls====+
 Gives details of the controls that allow you to communicate with the user and the phone or tablet on which your app is running Gives details of the controls that allow you to communicate with the user and the phone or tablet on which your app is running
  
Line 23: Line 57:
   * [[built_in:checkboxes|CheckBoxes]]    * [[built_in:checkboxes|CheckBoxes]] 
   * [[built_in:Crypt]] Encrypt and decrypt text   * [[built_in:Crypt]] Encrypt and decrypt text
 +  * [[built_in:Database]]
   * [[built_in:Dialog]]   * [[built_in:Dialog]]
   * [[built_in:Downloader]]   * [[built_in:Downloader]]
   * [[built_in:Email]]   * [[built_in:Email]]
 +  * [[built_in:glview|GLView]]
   * [[built_in:images|Images]] Display an image from a file and/or draw on it yourself with code.   * [[built_in:images|Images]] Display an image from a file and/or draw on it yourself with code.
   * [[built_in:IOIO]]   * [[built_in:IOIO]]
Line 56: Line 92:
   * [[built_in:Zip|ZipUtil]] Compress and decompress files   * [[built_in:Zip|ZipUtil]] Compress and decompress files
  
-====Sensors====+=====Sensors=====
   * [[built_in:sensors|Sensors]]   * [[built_in:sensors|Sensors]]
  
-====JavaScript====+=====JavaScript=====
   * [[javascript:Basics]] A basic introduction to the JavaScript computer language.   * [[javascript:Basics]] A basic introduction to the JavaScript computer language.
-====Plugins====+ 
 +=====Plugins=====
 A list of installed [[plugins:start|DroidScript Plugins]] A list of installed [[plugins:start|DroidScript Plugins]]
getting_started/docs.txt · Last modified: 2021/07/25 09:14 by stevegarman