DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


built_in:get_mac_address

Differences

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

Link to this comparison view

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