Android Question Logs and Boot

Marcos Alves

Well-Known Member
Licensed User
Longtime User
Hello all,

Is it possible to get log from an app when the device is restarting from a boot? I have some apps those use #Startatboot: true in some services and they are not doing the expected job, but I'm having a lot of difficulty to know what's happening. To put a toastmessage at the service start could be a solution but it's not really a good method and the amount of information that can be sampled with this behavior is limited...

please help.
 

Marcos Alves

Well-Known Member
Licensed User
Longtime User
Yes, with USB debug mode enabled (ADB).
Thanks @Erel ... this means that it's needed to be connected to the computer using an usb cable correct? Will B4A logger area receive the data? Could you detail the process? I understand that To run after boot the app must to be compiled in release mode right? Then, if I use #BridgeLogger: true together with usb debug mode and an usb cable connected... is this the correct structure to get the "boot app logs"?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…