I use Log.whatever () calls to write various bits of information as I am developing an Android application. When I am ready to publish my application in the Android Marketplace, I try to figure out what I need to remove.
According to Android Dev Dev , before publishing, they suggest:
Deactivate any calls to Log methods in the source code.
How to one deactivate log methods? Obviously, I could go through and erase them all (which is a little painful), but is there any other way to deactivate logical calls that I don't know about?
In addition, is there a risk of journal calls in the published application? Can someone install Eclipse, connect the plug-in to their phone and turn on Debug mode and see all the same LogCat information that I see during development?
The Dev manual also suggests:
Remove the android:debuggable="true" attribute from the <application> element of the manifest.
I still did not know about this flag. What is he doing exactly? I developed and debugged my application only up to this point, and this flag is not set to true or false for my manifest.
android debugging publish
Jake wilson
source share