[android-developers] BroadcastReceivers not receiving PendingIntents

2009-05-20 Thread Alan Jones
Hi All, I've had an issue where no matter how I've tried to set it up I'm finding the BroadcastReceivers aren't receiving any PendingIntents. A look through LogCat confirms that the intents are launched, but they're not being executed. I managed to make a simple(ish) repro case. If you take the

[android-developers] BroadcastReceivers not receiving PendingIntents

2009-05-20 Thread Jason Proctor
a while back i posted an issue i was having when my BroadcastListener was listening for phone state and sending the info over to an Activity which would present UI. but getIntent() in the receiving Activity always brought back the initial one. should i be using something off PendingIntent in

[android-developers] BroadcastReceivers not receiving PendingIntents

2009-05-20 Thread Jason Proctor
indeed, i tried logging in onNewIntent() too, but it isn't being called in this case. getIntent() always returns the original intent used to start an activity. When it is brought to the foreground with a new intent (and is singleTop), you will receive that new intent in onNewIntent(). On