this is the demo project for GCM.
GCM is hosted in the following web site
https://github.com/jamchen1025/GCM
If you think the Android project 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 GCM.
Item | Value |
---|---|
Java File Count | 4 |
Supported screen sizes | [tvdpi, mdpi, ldpi, xxhdpi, hdpi, xhdpi] |
Target SDK Version | 21 |
Minimum SDK Version | 9 |
Activity Count | 1 |
jar files used | android-support-v4.jar google-play-services.jar |
Required Permissions | android.permission.GET_ACCOUNTS android.permission.INTERNET android.permission.WAKE_LOCK com.example.testgcm.permission.C2D_MESSAGE com.google.android.c2dm.permission.RECEIVE |
Raw File Names | res\raw\gtm_analytics |
There are 29 image files in GCM. The names of the image files are listed as follows.
common_full_open_on_phone.png common_ic_googleplayservices.png common_signin_btn_icon_disabled_dark.9.png common_signin_btn_icon_disabled_focus_dark.9.png common_signin_btn_icon_disabled_focus_light.9.png common_signin_btn_icon_disabled_light.9.png common_signin_btn_icon_focus_dark.9.png common_signin_btn_icon_focus_light.9.png common_signin_btn_icon_normal_dark.9.png common_signin_btn_icon_normal_light.9.png common_signin_btn_icon_pressed_dark.9.png common_signin_btn_icon_pressed_light.9.png common_signin_btn_text_disabled_dark.9.png common_signin_btn_text_disabled_focus_dark.9.png common_signin_btn_text_disabled_focus_light.9.png common_signin_btn_text_disabled_light.9.png common_signin_btn_text_focus_dark.9.png common_signin_btn_text_focus_light.9.png common_signin_btn_text_normal_dark.9.png common_signin_btn_text_normal_light.9.png common_signin_btn_text_pressed_dark.9.png common_signin_btn_text_pressed_light.9.png ic_plusone_medium_off_client.png ic_plusone_small_off_client.png ic_plusone_standard_off_client.png ic_plusone_tall_off_client.png ic_stat_gcm.png powered_by_google_dark.png powered_by_google_light.png
The following screenshort is generated from the image listed above.
GCM has the following Java source files.
android.UnusedStub.java com.example.testgcm.ActivityMain.java com.example.testgcm.GcmBroadcastReceiver.java com.example.testgcm.GcmIntentService.java