This is just a sample Android application having push notifications. It shows a toast message and notification when it receives the push notification. The file gcm_server.py can be used to send messages to the application..
android_gcm is hosted in the following web site
https://github.com/dhruvbaldawa/android_gcm
If you think the Android project android_gcm listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of android_gcm.
Item | Value |
---|---|
Java File Count | 4 |
Target SDK Version | 16 |
Minimum SDK Version | 8 |
Activity Count | 1 |
jar files used | android-support-v4.jar gcm.jar |
Required Permissions | android.permission.GET_ACCOUNTS android.permission.INTERNET android.permission.VIBRATE android.permission.WAKE_LOCK com.dhruvb.myapplication.permission.C2D_MESSAGE com.google.android.c2dm.permission.RECEIVE |
android_gcm has the following Java source files.
com.dhruvb.myapplication.AlertDialogManager.java com.dhruvb.myapplication.CommonUtilities.java com.dhruvb.myapplication.GCMIntentService.java com.dhruvb.myapplication.MainActivity.java