Push notification for Android applications
Do we have any equivalent servi开发者_运维百科ce of Push Notification (in iPhone) for Android applications?
The way to go is using C2dM the official google push api
http://code.google.com/android/c2dm/index.html
instead of building it yourself.
To support older phones and/or if you don't really need real time notification, you can use polling. Check out the BuzzBox SDK as the simplest way of adding a scheduler and notifications to your apps. http://hub.buzzbox.com
Yes, here is a good tutorial with all code you need:
http://blog.boxedice.com/2010/10/07/android-push-notifications-tutorial/
http://tokudu.com/2010/how-to-implement-push-notifications-for-android/
use this link for learn and source code for push notification in android and build on android 1.6 you can use MQTT library. And for testing push notification in emulator refer this link.
Android Cloud to Device Messaging (C2DM) - Tutorial
精彩评论