How to save log in a file on device
I want to save the battery log in a file on a device. I don't want开发者_如何学编程 to use adb logcat. And i should be able to start and stop saving the log. Please any help or tips would do. Thanks.
Use Log4j in your android code refer http://www.vogella.com/articles/Logging/article.html.
精彩评论