User Tools

Site Tools


built_in:app

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
built_in:app [2015/07/08 09:26]
octazid [Table]
built_in:app [2015/11/02 08:10]
octazid [Table] create links
Line 9: Line 9:
 | [[built_in:broadcast|app.Broadcast( p1,p2 )]]                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | [[built_in:broadcast|app.Broadcast( p1,p2 )]]                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
 | [[built_in:call|app.Call( number )]]                                             | Makes phone call to a **number**.                                                                                                                                                                                                                                                                                                                                                                                                                                                      | | [[built_in:call|app.Call( number )]]                                             | Makes phone call to a **number**.                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
 +| [[built_in:clear_data|app.ClearData()]]                                          | clears app.SaveText/SaveNumber..etc                                                                                                                                                                                                                                                                                                                                                                                                                                             | 1.29   |
 | [[built_in:copy_file|app.CopyFile( src, dest )]]                                 | Copy a file **src** from the app to the **dest** folder on the SD-card.                                                                                                                                                                                                                                                                                                                                                                                                                | | [[built_in:copy_file|app.CopyFile( src, dest )]]                                 | Copy a file **src** from the app to the **dest** folder on the SD-card.                                                                                                                                                                                                                                                                                                                                                                                                                |
 | [[built_in:copy_folder|app.CopyFolder( src,dest,overwrite )]]                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | [[built_in:copy_folder|app.CopyFolder( src,dest,overwrite )]]                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
Line 63: Line 64:
 | [[built_in:debug|app.Debug( text )]]                                             | Sends **text** info to the Debug tab and debug your app.                                                                                                                                                                                                                                                                                                                                                                                                                        |        | | [[built_in:debug|app.Debug( text )]]                                             | Sends **text** info to the Debug tab and debug your app.                                                                                                                                                                                                                                                                                                                                                                                                                        |        |
 | [[built_in:delete_database|app.DeleteDatabase(name)]]                            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | [[built_in:delete_database|app.DeleteDatabase(name)]]                            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
-| [[built_in:delete_file|app.DeleteFile( file )]]                                  | Deletes **file**. File needs the fullpath.<code>app.DeleteFile( "/sdcard/wftest.txt" );</code>                                                                                                                                                                                                                                                                                                                                                                                  |        |+| [[built_in:delete_file|app.DeleteFile( file )]]                                  | Deletes **file**. The **file** parameter needs the fullpath.<code>app.DeleteFile( "/sdcard/wftest.txt" );</code>                                                                                                                                                                                                                                                                                                                                                              |        |
 | [[built_in:delete_folder|app.DeleteFolder( folder )]]                            | <code>app.DeleteFolder( "/sdcard/Temp" );</code>                                                                                                                                                                                                                                                                                                                                                                                                                                |        | | [[built_in:delete_folder|app.DeleteFolder( folder )]]                            | <code>app.DeleteFolder( "/sdcard/Temp" );</code>                                                                                                                                                                                                                                                                                                                                                                                                                                |        |
 | [[built_in:destroy_layout|app.DestroyLayout( layout )]]                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | [[built_in:destroy_layout|app.DestroyLayout( layout )]]                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
 | [[app_methods:enablebackkey|app.EnableBackKey( true/false )]]                    | Sets if your App will exit, if you press the Back-Key.<code>app.EnableBackKey( false );</code>                                                                                                                                                                                                                                                                                                                                                                                  |        | | [[app_methods:enablebackkey|app.EnableBackKey( true/false )]]                    | Sets if your App will exit, if you press the Back-Key.<code>app.EnableBackKey( false );</code>                                                                                                                                                                                                                                                                                                                                                                                  |        |
-| [[built_in:execute|app.Execute( code )]]                                         | This function is intended for use inside a WebView control to execute functions in the main script\\ Note: You should put quotes around the code you want executing too: <code>app.Execute( "Alert( 'Hi' )" );</code>                                                                 or                                                                                                 <code>app.Execute( "Alert( \"Hi\" )" );</code>                                         |        |+| [[built_in:disable_keys|app.DisableKeys(keyList)]]                               | disables normal function of given keys                                                                                                                                                                                                                                                                                                                                                                                                                                          | 1.29   | 
 +| [[built_in:execute|app.Execute( code )]]                                         | This function is intended for use inside a WebView control to execute functions in the main script\\ Note: You should put quotes around the code you want executing too: <code>app.Execute( "Alert( 'Hi' )" );</code>                                                                         or                                                                                                             <code>app.Execute( "Alert( \"Hi\" )" );</code>                     |        |
 | [[app_methods:enablebackkey|app.Exit( p1 )]]                                     | Stops your App.                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | [[app_methods:enablebackkey|app.Exit( p1 )]]                                     | Stops your App.                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
 | [[built_in:extract_assets|app.ExtractAssets( src,dest,overwrite )]]              | Copy content from one folder to another. If **overwrite** = true, then existing files in destination folder will be overwritten.                                                                                                                                                                                                                                                                                                                                                |        | | [[built_in:extract_assets|app.ExtractAssets( src,dest,overwrite )]]              | Copy content from one folder to another. If **overwrite** = true, then existing files in destination folder will be overwritten.                                                                                                                                                                                                                                                                                                                                                |        |
Line 74: Line 76:
 | [[built_in:get_accounts|app.GetAccounts()]]                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | 1.25b  | | [[built_in:get_accounts|app.GetAccounts()]]                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | 1.25b  |
 | [[built_in:get_app_name|app.GetAppName()]]                                       | Returns the name of your App.                                                                                                                                                                                                                                                                                                                                                                                                                                                          | | [[built_in:get_app_name|app.GetAppName()]]                                       | Returns the name of your App.                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
 +| [[built_in:get_battery_level|app.GetBatteryLevel()]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | 1.29   |
 | [[built_in:get_app_path|app.GetAppPath()]]                                       | Returns the path of your App.                                                                                                                                                                                                                                                                                                                                                                                                                                                          | | [[built_in:get_app_path|app.GetAppPath()]]                                       | Returns the path of your App.                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
 | [[built_in:get_built_num|app.GetBuildNum()]]                                     | Returns the version number of the Android operating system currently running.                                                                                                                                                                                                                                                                                                                                                                                                          | | [[built_in:get_built_num|app.GetBuildNum()]]                                     | Returns the version number of the Android operating system currently running.                                                                                                                                                                                                                                                                                                                                                                                                          |
Line 90: Line 93:
 | [[built_in:get_file_date|app.GetFileDate( file )]]                               | Returns the date of a **file** (file needs the full path).                                                                                                                                                                                                                                                                                                                                                                                                                      |        | | [[built_in:get_file_date|app.GetFileDate( file )]]                               | Returns the date of a **file** (file needs the full path).                                                                                                                                                                                                                                                                                                                                                                                                                      |        |
 | [[built_in:get_file_size|app.GetFileSize( file )]]                               | Returns the size of a **file** in bytes (file needs the full path).                                                                                                                                                                                                                                                                                                                                                                                                                    | | [[built_in:get_file_size|app.GetFileSize( file )]]                               | Returns the size of a **file** in bytes (file needs the full path).                                                                                                                                                                                                                                                                                                                                                                                                                    |
-| [[built_in:get_free_space|app.GetFreeSpace( option )]]                           | Returns free space in gigabytes. Parameter **option** can be: "internal" or "external"                                                                                                                                                                                                                                                                                                                                                                                        |        |+| [[built_in:get_free_space|app.GetFreeSpace( option )]]                           | Returns the free space in gigabytes. Parameter **option** can be: "internal" or "external"                                                                                                                                                                                                                                                                                                                                                                                    |        |
 | [[built_in:get_internal_folder|app.GetInternalFolder()]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | [[built_in:get_internal_folder|app.GetInternalFolder()]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
-| [[built_in:get_ip_address|app.GetIPAddress()]]                                   | Returns the IP Address of your mobile.                                                                                                                                                                                                                                                                                                                                                                                                                                          |        |+| [[built_in:get_ip_address|app.GetIPAddress()]]                                   | Returns the IP Address of your device.                                                                                                                                                                                                                                                                                                                                                                                                                                          |        |
 | [[built_in:get_joystick_name|app.GetJoystickName( id )]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | [[built_in:get_joystick_name|app.GetJoystickName( id )]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
 | [[built_in:get_joystick_state|app.GetJoystickState( id,key )]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | | [[built_in:get_joystick_state|app.GetJoystickState( id,key )]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
Line 106: Line 109:
 | [[built_in:get_model|app.GetModel()]]                                            | [[sample_code:get_device_specs|Sample Get Device Infos]]                                                                                                                                                                                                                                                                                                                                                                                                                        |        | | [[built_in:get_model|app.GetModel()]]                                            | [[sample_code:get_device_specs|Sample Get Device Infos]]                                                                                                                                                                                                                                                                                                                                                                                                                        |        |
 | [[built_in:get_name|app.GetName()]]                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | [[built_in:get_name|app.GetName()]]                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
 +| [[built_in:get_notify_id|app.GetNotifyId()]]                                     | gets id of in-comming notification                                                                                                                                                                                                                                                                                                                                                                                                                                              | 1.29   |
 | [[built_in:get_objects|app.GetObjects()]]                                        | Returns all Objects of your App                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | [[built_in:get_objects|app.GetObjects()]]                                        | Returns all Objects of your App                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
 | [[built_in:get_options|app.GetOptions()]]                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | [[built_in:get_options|app.GetOptions()]]                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
Line 115: Line 119:
 | [[built_in:get_ringer_mode|app.GetRingerMode()]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | [[built_in:get_ringer_mode|app.GetRingerMode()]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
 | [[built_in:get_rotation|app.GetRotation()]]                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | [[built_in:get_rotation|app.GetRotation()]]                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
 +| [[built_in:get_running_apps|app.GetRunningApps()]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | 1.29   |
 +| [[built_in:get_running_services|app.GetRunningServices()]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | 1.29   |
 | [[built_in:get_screen_density|app.GetScreenDensity()]]                           | [[sample_code:get_device_specs|Sample Get Device Infos]]                                                                                                                                                                                                                                                                                                                                                                                                                        |        | | [[built_in:get_screen_density|app.GetScreenDensity()]]                           | [[sample_code:get_device_specs|Sample Get Device Infos]]                                                                                                                                                                                                                                                                                                                                                                                                                        |        |
-| [[built_in:get_screen_height|app.GetScreenHeight()]]                             | Returns the Height of your mobile\\ [[sample_code:get_device_specs|Sample Get Device Infos]]                                                                                                                                                                                                                                                                                                                                                                                    |        | +| [[built_in:get_screen_height|app.GetScreenHeight()]]                             | Returns the Height of your device\\ [[sample_code:get_device_specs|Sample Get Device Infos]]                                                                                                                                                                                                                                                                                                                                                                                    |        | 
-| [[built_in:get_screen_width|app.GetScreenWidth()]]                               | Returns the Width of your mobile\\ [[sample_code:get_device_specs|Sample Get Device Infos]]                                                                                                                                                                                                                                                                                                                                                                                            |+| [[built_in:get_screen_width|app.GetScreenWidth()]]                               | Returns the Width of your device\\ [[sample_code:get_device_specs|Sample Get Device Infos]]                                                                                                                                                                                                                                                                                                                                                                                            |
 | [[built_in:get_shared_files|app.GetSharedFiles()]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | | [[built_in:get_shared_files|app.GetSharedFiles()]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
 | [[built_in:get_shared_text|app.GetSharedText( p1 )]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | | [[built_in:get_shared_text|app.GetSharedText( p1 )]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
 +| [[built_in:get_special_folder|app.GetSpecialFolder( name )]]                     | 'DCIM','Pictures','Movies','Downloads' etc                                                                                                                                                                                                                                                                                                                                                                                                                                      | 1.29   |
 | [[built_in:get_top|app.GetTop()]]                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | [[built_in:get_top|app.GetTop()]]                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
 | [[built_in:get_user|app.GetUser()]]                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | [[built_in:get_user|app.GetUser()]]                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
Line 132: Line 139:
 | [[built_in:is_chrome|app.IsChrome()]]                                            | detects running in arc welded chrome                                                                                                                                                                                                                                                                                                                                                                                                                                            | 1.23b  | | [[built_in:is_chrome|app.IsChrome()]]                                            | detects running in arc welded chrome                                                                                                                                                                                                                                                                                                                                                                                                                                            | 1.23b  |
 | [[built_in:is_folder|app.IsFolder( folder )]]                                    | Checks if **folder** is a file or folder.                                                                                                                                                                                                                                                                                                                                                                                                                                              | | [[built_in:is_folder|app.IsFolder( folder )]]                                    | Checks if **folder** is a file or folder.                                                                                                                                                                                                                                                                                                                                                                                                                                              |
 +| [[built_in:is_keyboard_shown|app.IsKeyboardShown()]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | 1.29   |
 | [[built_in:is_new_version|app.IsNewVersion()]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | | [[built_in:is_new_version|app.IsNewVersion()]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
 | [[built_in:is_pro|app.IsPro()]]                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | [[built_in:is_pro|app.IsPro()]]                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
Line 138: Line 146:
 | [[built_in:is_wifi_enabled|app.IsWifiEnabled()]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | [[built_in:is_wifi_enabled|app.IsWifiEnabled()]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
 | [[built_in:kill_app|app.KillApp( file )]]                                        | Delete the file\\ (file needs the fullpath)                                                                                                                                                                                                                                                                                                                                                                                                                                            | | [[built_in:kill_app|app.KillApp( file )]]                                        | Delete the file\\ (file needs the fullpath)                                                                                                                                                                                                                                                                                                                                                                                                                                            |
-| [[built_in:list_folder|app.ListFolder( path,filter,limit,options )]]             | Lists all files and folders in a **path**, which match the **filter** and their count in **path** is less than the **limit**.<code>app.ListFolder( "/sdcard/mp3", ".mp3", 50);</code>                                                                                                                                                                                                                                                                                           |        |+| [[built_in:list_folder|app.ListFolder( path,filter,limit,options )]]             | Lists all files and folders in a **path**, which match the **filter** and their count in **path** is less than the **limit**. options can be **"FullPath"**                                                                                                                                                                                                                                                                                                                     |        |
 | [[built_in:load_boolean|app.LoadBoolean( valueName, default, id )]]              | The **LoadBoolean** method loads and returns a boolean (true of false) value from the user's storage space under **valueName**. If there is no stored **valueName**, then method returns **default** value. Parameter **id** is an optional text parameter and allows sharing of data across multiple Apps when the same id is used by both apps.                                                                                                                                      | | [[built_in:load_boolean|app.LoadBoolean( valueName, default, id )]]              | The **LoadBoolean** method loads and returns a boolean (true of false) value from the user's storage space under **valueName**. If there is no stored **valueName**, then method returns **default** value. Parameter **id** is an optional text parameter and allows sharing of data across multiple Apps when the same id is used by both apps.                                                                                                                                      |
 | [[built_in:load_number|app.LoadNumber( valueName, default, id )]]                | The **LoadNumber** method loads and returns a numeric value from the user's storage space under **valueName**. If there is no stored **valueName**, then method returns **default** value. Parameter **id** is an optional text parameter and allows sharing of data across multiple Apps when the same id is used by both apps.                                                                                                                                                |        | | [[built_in:load_number|app.LoadNumber( valueName, default, id )]]                | The **LoadNumber** method loads and returns a numeric value from the user's storage space under **valueName**. If there is no stored **valueName**, then method returns **default** value. Parameter **id** is an optional text parameter and allows sharing of data across multiple Apps when the same id is used by both apps.                                                                                                                                                |        |
Line 158: Line 166:
 | [[built_in:save_number|app.SaveNumber( valueName,value,id )]]                    | The **SaveNumber** method saves a numeric **value** to the user's storage space under **valueName**. Parameter **id** is an optional text parameter and allows sharing of data across multiple Apps when the same id is used by both apps.                                                                                                                                                                                                                                      |        | | [[built_in:save_number|app.SaveNumber( valueName,value,id )]]                    | The **SaveNumber** method saves a numeric **value** to the user's storage space under **valueName**. Parameter **id** is an optional text parameter and allows sharing of data across multiple Apps when the same id is used by both apps.                                                                                                                                                                                                                                      |        |
 | [[built_in:save_text|app.SaveText( valueName,value,id )]]                        | The **SaveText** method saves a text **value** to the user's storage space under **valueName**. Parameter **id** is an optional text parameter and allows sharing of data across multiple Apps when the same id is used by both apps.                                                                                                                                                                                                                                                  | | [[built_in:save_text|app.SaveText( valueName,value,id )]]                        | The **SaveText** method saves a text **value** to the user's storage space under **valueName**. Parameter **id** is an optional text parameter and allows sharing of data across multiple Apps when the same id is used by both apps.                                                                                                                                                                                                                                                  |
 +| [[built_in:send_file|app.SendFile()]]                                            | sends files to other Apps, user chooses                                                                                                                                                                                                                                                                                                                                                                                                                                         | 1.29   |
 | [[built_in:send_intent|app.SendIntent()]]                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | 1.23b  | | [[built_in:send_intent|app.SendIntent()]]                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | 1.23b  |
-| [[built_in:send_mail|app.SendMail( address,subject,body,attach )]]               Send the email message via built in email app.\\ (Leave 4th parameter out if attachment is not required).                                                                                                                                                                                                                                                                                                                                                                       |        |+| [[built_in:send_mail|app.SendMail( address,subject,body,attach )]]               Sends an email message via the built in email app.\\ (Leave 4th parameter out if attachment is not required).                                                                                                                                                                                                                                                                                                                                                                   |        
 +| [[built_in:send_message|app.SendMessage()]]                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | 1.29   |
 | [[built_in:set_alarm|app.SetAlarm( type,id,callback,time,interval )]]            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | [[built_in:set_alarm|app.SetAlarm( type,id,callback,time,interval )]]            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
-| [[built_in:set_auto_boot|app.SetAutoBoot(TrueFalse)]]                            | Calling app.SetAutoBoot( true ) method will cause DroidScript be started automatically when your phone boots. \\  The method will also work in your own apps if you build APKs.                                                                                                                                                                                                                                                                                                 |        |+| [[built_in:set_auto_boot|app.SetAutoBoot(TrueFalse)]]                            | Calling app.SetAutoBoot( true ) method will cause DroidScript to be started automatically when your device boots. \\  The method will also work in your own apps if you build APKs.                                                                                                                                                                                                                                                                                             |        |
 | [[built_in:set_auto_wifi|app.SetAutoWifi(TrueFalse)]]                            | The app.SetAutoWifi( true ) method will cause DroidScript to turn on the WiFi editor automatically                                                                                                                                                                                                                                                                                                                                                                              |        | | [[built_in:set_auto_wifi|app.SetAutoWifi(TrueFalse)]]                            | The app.SetAutoWifi( true ) method will cause DroidScript to turn on the WiFi editor automatically                                                                                                                                                                                                                                                                                                                                                                              |        |
 | [[built_in:set_bluetooth_enabled|app.SetBluetoothEnabled(enable)]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | | [[built_in:set_bluetooth_enabled|app.SetBluetoothEnabled(enable)]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
Line 171: Line 181:
 | [[built_in:set_on_broadcast|app.SetOnBroadcast( p1 )]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | [[built_in:set_on_broadcast|app.SetOnBroadcast( p1 )]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
 | [[built_in:set_on_error|app.SetOnError( callback )]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | | [[built_in:set_on_error|app.SetOnError( callback )]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
 +| [[built_in:set_on_key|app.SetOnKey(callback)]]                                   | reports key changes, including volume key                                                                                                                                                                                                                                                                                                                                                                                                                                       | 1.29   |
 | [[app_methods:setorientation|app.SetOrientation( orient,callback )]]             | Sets the orientation of the device. Parameter **orient** could be "Portrait", "Landscape" or "Default". After using this function rotating the phone/tablet will have no effect on the app's orientation. To unlock the orientation call the function again using the orientation “Default”. The **callback** function is invoked after orientation change.                                                                                                                            | | [[app_methods:setorientation|app.SetOrientation( orient,callback )]]             | Sets the orientation of the device. Parameter **orient** could be "Portrait", "Landscape" or "Default". After using this function rotating the phone/tablet will have no effect on the app's orientation. To unlock the orientation call the function again using the orientation “Default”. The **callback** function is invoked after orientation change.                                                                                                                            |
 | [[built_in:set_ringer_mode|app.SetRingerMode( mode )]]                           | use **Normal**, **Vibrate** or **Silent** to set the mode                                                                                                                                                                                                                                                                                                                                                                                                                              | | [[built_in:set_ringer_mode|app.SetRingerMode( mode )]]                           | use **Normal**, **Vibrate** or **Silent** to set the mode                                                                                                                                                                                                                                                                                                                                                                                                                              |
 | [[built_in:set_screen_brightness|app.SetScreenBrightness( level )]]              | The **SetScreenBrightness** method sets the screen brightness for this App with a decimal value **level** between 0 and 1.                                                                                                                                                                                                                                                                                                                                                      |        | | [[built_in:set_screen_brightness|app.SetScreenBrightness( level )]]              | The **SetScreenBrightness** method sets the screen brightness for this App with a decimal value **level** between 0 and 1.                                                                                                                                                                                                                                                                                                                                                      |        |
-| [[built_in:set_screen_mode|app.SetScreenMode( mode )]]                           | Set full screen mode.<code>app.SetScreenMode( "Full" ); </code>         new "Game" mode since V1.23b                                                                                                                                                                                                                                                                                                                                                                            |        |+| [[built_in:set_screen_mode|app.SetScreenMode( mode )]]                           | Set full screen mode.<code>app.SetScreenMode( "Full" ); </code>                 new "Game" mode since V1.23b                                                                                                                                                                                                                                                                                                                                                                    |        |
 | [[built_in:set_shared_app|app.SetSharedApp( p1 )]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | | [[built_in:set_shared_app|app.SetSharedApp( p1 )]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
 | app.SetTitle( p1 )                                                               | This method is obsolete                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | app.SetTitle( p1 )                                                               | This method is obsolete                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
Line 180: Line 191:
 | [[built_in:set_wifi_enabled|app.SetWifiEnabled(enable)]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | [[built_in:set_wifi_enabled|app.SetWifiEnabled(enable)]]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
 | [[built_in:show_debug|app.ShowDebug( p1 )]]                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | | [[built_in:show_debug|app.ShowDebug( p1 )]]                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
 +| [[built_in:show_keyboard|app.ShowKeyboard( ctrl )]]                              | ctrl  must already have focus                                                                                                                                                                                                                                                                                                                                                                                                                                                   | 1.29   |
 | [[built_in:show_menu|app.ShowMenu( p1,p2 )]]                                     | [[tips_tricks:menubutton|This Sample demonstrates how to show the menu]]                                                                                                                                                                                                                                                                                                                                                                                                        |        | | [[built_in:show_menu|app.ShowMenu( p1,p2 )]]                                     | [[tips_tricks:menubutton|This Sample demonstrates how to show the menu]]                                                                                                                                                                                                                                                                                                                                                                                                        |        |
 | [[built_in:show_popup|app.ShowPopup( text, options )]]                           | Display a message **text** for some seconds an the screen. Paramater **options**: "Short", "Bottom".<code>app.ShowPopup( "Hello World", "Short, Bottom");</code>                                                                                                                                                                                                                                                                                                                |        | | [[built_in:show_popup|app.ShowPopup( text, options )]]                           | Display a message **text** for some seconds an the screen. Paramater **options**: "Short", "Bottom".<code>app.ShowPopup( "Hello World", "Short, Bottom");</code>                                                                                                                                                                                                                                                                                                                |        |
built_in/app.txt · Last modified: 2015/12/14 06:54 (external edit)