I'm using AESObfuscator in the ServerManagedPolicy for android licensing. Until now, I've created the deviceId like this:
String deviceId = Secure.getString( getContentResolver(), Secure.ANDROID_ID );
In all the examples on the internet it is done like this, but sometimes it is stated that it isn't very safe, but no other way is described. I have read that ANDROID_ID can be easily changed or can even be null, so I really want to have another way to get a unique id. The licensing failed more than once for someone who has bought my app and I'm quite sure that it has to do with this, otherwise it can only be a problem with google, what I really doubt.
So how can I do this? Just create a random hash and add it to the deviceId (and of course store it somewhere..?)