plz tell me what is pendingIntent where is using in android

by Mark Murphy » Fri, 24 Jul 2009 03:57:44 GMT

Sponsored Links 

An Intent is something that is used right now; a PendingIntent is
something that may create an Intent in the future. You will use a
PendingIntent with Notifications, AlarmManager, etc.

Mark Murphy (a Commons Guy) 
Android App Developer Books: 


Other Threads

1. Moto Droid: widget updates on orientation change


I am updating a widget project for Moto Milestone / Droid.

Found something strange:

When I slide out the keyboard, and the screen changes orientation, my widget is redrawn, and Android even uses the layout file from layout-land. So far so good. However, the widget is not notified in any way - onUpdate is not called, and ACTION_CONFIGURATION_CHANGED cannot be received through manifest, can't be registered for with registerReceiver, and is removed for widgets in 2.0. Apparently, Milestone caches the most recent RemoteViews update and uses it to re-create the widget and update its state. One negative side effect is that my widget sets up PendingIntent for the user clicking on the widget. This is done in onUpdate(), but not - for effeciency - later, when the widget is incrementally updated. I am able to work around this by always including a PendingIntent for clicks each and every I update the widget. My second app is a bit more complex, though, and this workaround might not work. Has anyone else ran into this issue with Droid / Milestone? Any thoughts on why ACTION_CONFIGURATION_CHANGED support for removed for widgets in 2.0? -- Kostya --

2. How to implement the type-to-search UI as in the built-in contacts app

Start here:

TreKing - Chicago transit tracking app for Android-powered devices


3. Rotation slows when media player is playing

4. Seeding program phone already on someone else plan?

5. Track bandwidth usage per process

6. Mod: Butuh Sukarelawan ID-ANDROID event ICE 2010

7. Cursor and rowId