I\'m trying to update location data to a web database using BroadcastReceiver
and Service
.
However I am having difficulties making it to wo
Check this out: Boot Complete problems
since android 3, all components in an app are prevented from running (receiving broadcasts) until the app is explicitly started by the user.
to test if this is your problem, add a dummy activity to your app and start it. now your app should be able to receive intents from then on (even after a reboot).
here's the AOSP issue describing the problem,
http://code.google.com/p/android/issues/detail?id=18225
note that it's closed as "works as intended". this is technically a security fix. apps could exploit certain well-known broadcast intents like TIMER_TICK
to start themselves without the user ever running the app or knowing that the app was running.