JakeBullet70 Well-Known Member Licensed User Longtime User Feb 11, 2014 #1 How do you have the option to auto start your app? Did a search on the forum but did not find any info on this. So... How does one set their app to auto start? I know you can set a service to start at boot.
How do you have the option to auto start your app? Did a search on the forum but did not find any info on this. So... How does one set their app to auto start? I know you can set a service to start at boot.
NJDude Expert Licensed User Longtime User Feb 11, 2014 #2 If you know how to setup a service to start at boot then you have the answer, the service should trigger the Main activity, simple as that. Upvote 0
If you know how to setup a service to start at boot then you have the answer, the service should trigger the Main activity, simple as that.
JakeBullet70 Well-Known Member Licensed User Longtime User Feb 11, 2014 #3 OK. The service has the constant StartAtBoot. So I am thinking you set this to true in your new service. Then check a VAR to see if you really want to start, if so... Start your activity, if not kill the service OK, just had to work it out in my brain. Thanks! Upvote 0
OK. The service has the constant StartAtBoot. So I am thinking you set this to true in your new service. Then check a VAR to see if you really want to start, if so... Start your activity, if not kill the service OK, just had to work it out in my brain. Thanks!
NJDude Expert Licensed User Longtime User Feb 11, 2014 #4 I really don't understand that logic, but, if you just want your app to start when you reboot the device just need to start the Main activity from the service. Upvote 0
I really don't understand that logic, but, if you just want your app to start when you reboot the device just need to start the Main activity from the service.
JakeBullet70 Well-Known Member Licensed User Longtime User Feb 11, 2014 #5 I want it to be an option to start... LOL, not allot of people understand my logic. Thanks NJDude, I created an example on how to do this, its is here. Upvote 0
I want it to be an option to start... LOL, not allot of people understand my logic. Thanks NJDude, I created an example on how to do this, its is here.