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.
Asked
Active
Viewed 486 times
0
-
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 Answers
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
-
i made all what u say and program actually run but after few second so i need some way to minimize this time or ignore it at all – Ahmed Salama Mar 03 '12 at 19:47
-