I\'ve written a wrapper on top of Log.java that is provided by android. My Class will add some other application level features in Logs.
Now the things is that I wan
Use PackageManager to get an ApplicationInfo object on your application, and check the flags field for FLAG_DEBUGGABLE.
PackageManager
ApplicationInfo
flags
FLAG_DEBUGGABLE
boolean isDebuggable = (0 != (getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE));