Using C2DM to receive gmail message notifications

by Tom » Mon, 16 Aug 2010 13:49:55 GMT

Sponsored Links
 I'd like my app to receive notification when new messages arrive in my
gmail account.
I realize that the Android gmail client does not broadcast
notification when it receives messages. Instead I want to utilize the
gmail server's Cloud to Device Messaging capabilities to do this. I
read the article at - the only 
"missing piece" for me is to understand how my app sends a
registration ID to the gmail server. Can someone please point me in
the right direction?



Other Threads

1. playing video without hardware OpenGL and overlay


I port android to platform without OpenGL and overlay support. I try to
play videos with MediaController and found that it use GL drawing which is
very slow.

I try to switch VideoView surface type to SURFACE_TYPE_NORMAL, but picture
disapears at all.

'mplayer -vo fbdev ...' in generic linux distribution gives good
performance, so the question is: Is there any way to get video playing
without hardware GL and overlay support?

May be I skip something in the high level API docs...


2. SharedPreferences and byte[]


I'm using SharedPreferences to save my data. Unfortunately, I now need
to save byte[]. Do you have any suggestions on how I can do it without
modifying too much my application?


3. Recent-apps dialog revives finish()'ed activities

4. How to Apply Patches?

5. Patchs malformed

6. Andoird on x86 fails to boot - dalvik-cache problem

7. G1 New York Stories