DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


built_in:get_user

Differences

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

Link to this comparison view

built_in:get_user [2015/11/02 09:49] (current)
octazid created
Line 1: Line 1:
 +=====GetUser=====
  
 +//​(Information and examples taken from the DroidScript documentation)//​
 +
 +====Description====
 +The **GetUser** method returns the email address for the primary account of your device.
 +<​code>​app.GetUser();</​code>​
 +
 +----
 +
 +====Example====
 +
 +<code javascript>​
 +function OnStart()
 +{
 +  user = app.GetUser();​
 +  app.ShowPopup( user );
 +}
 +</​code>​
built_in/get_user.txt ยท Last modified: 2015/11/02 09:49 by octazid