Android Question Auto Start App After Install

SpinBower

Member
Licensed User
Longtime User
Hi, my app has a service that listens for SMS messages with commands in them. The user has to be able to push the app from the online Google play store to their phone and the app has to start the service automatically. Is there any way I can do this. I know I can't use "android.intent.action.PACKAGE_ADDED" Or "android.intent.action.TIME_TICK" Is there any way I can do this?
 

SpinBower

Member
Licensed User
Longtime User
It is not possible. Android doesn't allow you to automatically start your app when it is installed. Also note that StartAtBoot will not work on new devices if the app was not ran at least once.

I guess I could use the package added intent and tell the user to download the second app that will start the SMS service. Would that work?
 
Upvote 0

SpinBower

Member
Licensed User
Longtime User
I know, thats why I would make another app and have the first one detect the second when it is installed.
 
Upvote 0
Top