I'm looking to have my app perform actions when a user plugs/unplugs the phone to/from a power source, and a ton of googling has turned up references to 'POWER_CONNECTED' and 'ACTION_POWER_CONNECTED' broadcast intents, but I've been unable to actually receive either of them -- or even see them in logcat, for that matter -- and suspect that they might be deprecated?
I don't want to have a service running all the time, and broadcasts seems like the best way to handle this sort of thing, but is this functionality not in place? It seems like a pretty common thing for apps to want to do, so I wonder if I'm going about this all wrong? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

