User Tools

Site Tools


built_in:execute

Differences

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

Link to this comparison view

built_in:execute [2016/08/17 07:52]
stevegarman
built_in:execute [2016/08/17 15:52]
Line 1: Line 1:
-**app.Execute(code)** 
  
-This method executes a code in a similar way as eval() but it returns undefined. 
- 
-<code> 
-app.Execute("app.ShowPopup('Hello')") // shows a popup 
-app.Execute("app.Exit()") //exits app. 
-</code> 
- 
-The main use of app.Execute is to call DroidScript code from within html. 
- 
-This can be within an html app or a WebView. For a sample, take a look at [[sample_code:using_app.execute|this sample]] 
built_in/execute.txt ยท Last modified: 2016/08/17 15:52 (external edit)