DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools



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:
 +//​(Information and examples taken from the DroidScript documentation)//​
 +The **GetUser** method returns the email address for the primary account of your device.
 +<code javascript>​
 +function OnStart()
 +  user = app.GetUser();​
 +  app.ShowPopup( user );
built_in/get_user.txt ยท Last modified: 2015/11/02 09:49 by octazid