autostart my app on phone power on ?

Beja

Expert
Licensed User
Longtime User
Hi friends!
is it possible to make b4a app autostarts everytime the phone is switched on?
and how? also I need to know if the app could run all the time in the background
even other apps are opened and running.
the app I am talking about will intercept any SMS message with a specific header
and append it to a text file.
Tanks in advance
 

Sgardy

Member
Licensed User
Longtime User
You don't need to add it. It is added automatically.

The attached project restarts after boot. Tested with Android 7.

As I previously wrote, make sure to test it in Release mode and do not kill the app.
Still not working... Probably depends by the phone, I wouldn't be off topic but the strange thing is that the permission list of the phone setting doesn't shows "run at startup", maybe it's a factory limit, any idea how to override this? Thanks.
 
Upvote 0

Sgardy

Member
Licensed User
Longtime User
The permission is also not listed here. I don't think that it is related.

Check this answer: http://stackoverflow.com/a/36172099/971547
I surrend Erel, I installed other apps from the store that should load at startup, included a startup manager, but these have the same problem, I can't find any boot manager in my phone ...
 
Upvote 0
Top