Quantcast
Channel: Adobe Community : Discussion List - Using Flash Builder
Viewing all articles
Browse latest Browse all 1802

How to get MAC Address of Android Device

$
0
0

Hi,

 

someone has an idea how to get the unique ID of an Android device. With the newest Android devices our script does not work anymore. As we have a demo license users may create a new account and use the demo license for ever.

 

Our code is:

if(NetworkInfo.isSupported){

  trace("network info is supported");

  }

  var network:NetworkInfo = NetworkInfo.networkInfo;

  for each (var object:NetworkInterface in network.findInterfaces()){

  if(object.hardwareAddress){

  trace ("mac"+object.hardwareAddress);

  data2 = object.hardwareAddress;

 

  return data2;

  }


Viewing all articles
Browse latest Browse all 1802

Trending Articles