wood burning stoves 2.0*
The moose likes Android and the fly likes Launching application automatically? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Launching application automatically?" Watch "Launching application automatically?" New topic
Author

Launching application automatically?

Anand Damodaran
Greenhorn

Joined: Oct 04, 2012
Posts: 21
Hi Friends,

Is it possible to launch my own application automatically after the OS booted?

If it so, then how?


Regards,
Anand
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41598
    
  55
Yes, that's possible. The solution is a BroadcastReceiver that listens to RECEIVE_BOOT_COMPLETED: http://stackoverflow.com/questions/10428510/how-to-start-launch-application-at-boot-time-android


Ping & DNS - my free Android networking tools app
Naishadh Parmar
Ranch Hand

Joined: Jun 02, 2011
Posts: 95


Welcome to Ranch!!!

I agree with Ulf
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Launching application automatically?