I'm developing an application using Adobe Flash (AS3) which runs mainly on tablets. I would like users to pay. So they have to activate their application. To do this I thought about providing an activation Code that is built using a univoque Device Identifier (UDID) So, the customer provides me his UDID and I return the activation code which works only on his device. My problem is (I searched everywhere)... how can I obtain an UDID using AS3? Or also, do you suggest a different approch to reach my goal?
Thank you very much!
Daniele
There is no single correct solution to what you are asking , It depends entirely on your needs and kind of app you are publishing.
A 64-bit number (as a hex string) is randomly generated when the user first sets up the device and remains constant for the lifetime of the user's device. The value may change if a factory reset is performed on the device.This is accessible using java by constant ANDROID_ID there is no library in ActionScript-3 to access this . But you can use this ane to get it.
Or You can use a sign in from facebook using this ane or google+ and use the customers unique id from there , but it would require him to give your app permissions to view some basic information.