Android Question start on boot

vangogh

Active Member
Licensed User
Longtime User
Yes, OK, there are other posts on this, but they are quite old or more complex, so a refresh (update) will be really welcome


I need to start my app at boot.

it's a b4apages app, with a main, a starter, a b4xmainpages module

best if started in background

please, can you help me with the EASIEST solution?

Thank you!
 
Last edited:

vangogh

Active Member
Licensed User
Longtime User
in backgroud is OK

my app sends sms based on a calendar, so it should start automatically when the device boots

thank you
 
Upvote 0

Situ LLC

Active Member
Licensed User
Prueba esto , trabaja al 100%
Exitos
 
Upvote 0

vangogh

Active Member
Licensed User
Longtime User
sadly, it does NOT work for me...

if my app was running when i power off, after the reboot the app results started and running (in background, OK!), but this is the norma behaviuor of my andorid device

if I close it and then I reboot, it does NOT start automatically

device: xiaomi mi9 lite


starter:
in starter module:

#Region  Service Attributes
    #StartAtBoot: True
    #ExcludeFromLibrary: True
#End Region
 
Last edited:
Upvote 0

Star-Dust

Expert
Licensed User
Longtime User
 
Upvote 0
Top