C2DM registration ID refresh

by David C » Tue, 25 Jan 2011 02:53:14 GMT


Sponsored Links
 In the C2DM documentation (Android Cloud to Device Messaging Framework
- Google Projects for Android), it mentions that:

Note that Google may periodically refresh the registration ID, so you
should design your application with the understanding that the
REGISTRATION Intent may be called multiple times. Your application
needs to be able to respond accordingly.

Does this mean an Android application will be notified through the
REGISTRATION Intent when C2DM server refreshes the registration ID?
Then the application can send the new ID to the application server?

Or the application server will only find out the registration ID is no
longer valid when it tries to send a message through the C2DM server.

Thanks.

David.

-- 



Other Threads

1. Looking for android dev (2-10 yrs) Bangalore

Please send your resume at saswati.peop...@gmail.com

Location : Bangalore
Salary : Best in Industry

-- 

2. AppWidget preferences

How can I retrieve SharedPreferences for a widget during an update
pushed by a broadcast receiver?

I have a static BuildUpdate method on my AppWidgetProvider, but I
cannot work out how to retrieve my shared preferences as I do not have
an appropriate context.

-- 

3. Mount as USB driv

4. How could I get raw touch screen data

5. Samsung Galaxy Tab: AVD add on package

6. When I can't view the file under SDcard

7. GLSurfaceView.onSurfaceCreated not being called when activity resumes