开发者

android autostart application

开发者 https://www.devze.com 2023-02-08 19:33 出处:网络
I want my app to be start automatically when my device is boot up. I have implemented the service. Now the problem is whenever my device is connected to the PC through data cable app does not crash. B

I want my app to be start automatically when my device is boot up. I have implemented the service. Now the problem is whenever my device is connected to the PC through data cable app does not crash. But when device is not connected to PC app gets crashed. I m not able it trace the log cat as well for this because device is not 开发者_C百科connected.

Pls advice me somethg

Thanks


There's an app called "Log Collector", it contains Stacktraces and you can use it to view or send the systemlog to an email-address:

https://market.android.com/details?id=com.xtralogic.android.logcollector


You can get logcat data collected while device is disconnected. Use adb logcat from SDK to dump collected logs.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号