The thing is that regardless how complex your policy is, if your app is 
popular, it will be cracked no matter what at the LVL level.

My advice is to use a forgiving policy like the LenientPolicy that deny 
access to the app only if it is 100% sure that the app is unlicensed (eg: 
Google Play returns NOT_LICENSED). 
Otherwise (market failure, no network connectivity), is is licensed:

http://www.mail-archive.com/android-developers@googlegroups.com/msg107037.html

You can protect this policy or another policy of your choosing with 
inventive ways to CRC-check the APK
in multiple places in the code, much more difficult to find for crackers.
And do not forget string obfuscation for sensitive strings in the process.



-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to