Android Question app hidden in launcher list, how to start the service at boot?

leitor79

Active Member
Licensed User
Longtime User
Hi,

I would like to remove my app from the launcher list. I've used the code provided by NJDude here and it worked. But my app is a service configured for starting at boot and I've noticed the app is not starting after boot.

I've read here somewhere that a service configured for starting at boot requires to be manually opened before it can start at boot. But with the manifest edition to remove it from the launcher I can't start the app (and the "open" button after installing it is disabled).

So, is it impossible to start at service at boot if it's configured to be hidden on the launcher?


Regards,
 
This is a security feature of Android: http://devmaze.wordpress.com/2011/12/05/activating-applications/

Consider adding a widget. If the user will add the widget to the home screen then the application will start working.

Another option is to create another visible app that will send an intent to the invisible app.
 
Upvote 0
Hi NJ, hi Erel, thank you for your answer.

Since my device is a s3 mini, I don't think it has fastboot.

The app is a service only, widgets won't fit on it.

And, installing 2 apps... what if I install the app with the launcher active, open it, then re-compile with the launcher inactive and reinstall (update) the app?

I'll try it now and I'll get back to report.

Thank you!
 
Upvote 0

Similar Threads

Replies
1
Views
1K
  • Question Question
Android Question start on boot
Replies
8
Views
4K
  • Question Question
Android Question autostart at boot
Replies
2
Views
3K
Back
Top