Android Question How to debug an app that starts on boot?

GuyBooth

Active Member
Licensed User
Longtime User
I have an app that starts automatically when my phone boots. Not the user interface, just a service.
I really need to see what is happening when it starts, but of course it is not connected to the B4A bridge. Is there any way to automatically connect the B4A bridge first so I can see the startup sequence in the logs?
Or any other approaches?
 

Semen Matusovskiy

Well-Known Member
Licensed User
Why do not add activity , which starts the service and will finish itself ?
What's the difference with starting service "at boot" ?

An alternative - to write separate app, which will start the service from your package. But this is more complex way.
 
Last edited:
Upvote 0
Top