I am developing a application which uses location services. I need to debug the application using Log.d() but that needs the device to be connected to the computer all the way. And that’s impossible for me to do. I’ll be testing the app for about two hours in travelling. I cannot connect it to PC at that time.
Is there any way to save the log in phone and retrieve it later and can see the LOG data.
Introduce your own
Loggerclass, a wrapper forandroid.util.Logclass, which will redirect output both, to file and console: