DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


built_in:get_app_name

Differences

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

Link to this comparison view

built_in:get_app_name [2015/03/04 16:23] (current)
octazid created
Line 1: Line 1:
 +=====GetAppName=====
 +
 +//​(Information and examples taken from the DroidScript documentation)//​
 +
 +====Description====
 +
 +The **GetAppName** method gets the name of the running application. ​
 +
 +<​code>​ app.GetAppName();</​code>​
 +
 +
 +----
 +
 +====Example====
 +
 +<code javascript>​
 +
 +function OnStart()
 +{
 +  name = app.GetAppName();​
 +  app.ShowPopup( name );
 +}
 +
 +</​code>​
  
built_in/get_app_name.txt ยท Last modified: 2015/03/04 16:23 by octazid