Created
May 13, 2014 03:22
-
-
Save maxhis/c00486815e1f6b8d4071 to your computer and use it in GitHub Desktop.
检测应用是否为debug模式:From http://android-developers.blogspot.com/2010/09/securing-android-lvl-applications.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
boolean isDebuggable = ( 0 != ( getApplcationInfo().flags &= ApplicationInfo.FLAG_DEBUGGABLE ) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment