Is there something similar to setting -D javax.net.debug=ssl
at the command line for Java desktop applications, but for the Android? I\'ve tried setting it in code
If you are using Apache HttpClient (by importing a jar file), you can enable logging by setting environmental variables in Eclipse. If you use Commons Logging, the logs are printed to the Console. However this only works if you are running your app in the emulator and not on the device. Not sure of this helps.
See http://hc.apache.org/httpcomponents-client-ga/logging.html