0

I need to know why my app didn't run immediately after booting in android real phone? My app run but after a few second.

user
  • 86,916
  • 18
  • 197
  • 190
  • If you want to run your app right after the phone boots,explains http://stackoverflow.com/questions/6391902/how-to-start-an-application-on-startup – ACC Mar 03 '12 at 19:01
  • dude see this link here answer is posted my me and also tested by me http://stackoverflow.com/questions/9426189/android-boot-up-broadcast-not-invoking/9426306#9426306 – Ronak Mehta Mar 03 '12 at 19:22

1 Answers1

0

First, you should make sure that your app has been installed in phone memory for your receiver to receive boot completion broadcast, As this broadcast occurs before media scanning. just add an attribute to manifest file's root element installlocation = "internalOnly"

rest is same as explained above.

noob
  • 304
  • 3
  • 13