Android Open Source - Example project GCM






Project Summary

this is the demo project for GCM.

Web Site / Source Repository

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.

Project Detail

The following table is the detailed list of GCM.

ItemValue
Java File Count4
Supported screen sizes[tvdpi, mdpi, ldpi, xxhdpi, hdpi, xhdpi]
Target SDK Version21
Minimum SDK Version9
Activity Count1
jar files usedandroid-support-v4.jar
google-play-services.jar
Required Permissionsandroid.permission.GET_ACCOUNTS
android.permission.INTERNET
android.permission.WAKE_LOCK
com.example.testgcm.permission.C2D_MESSAGE
com.google.android.c2dm.permission.RECEIVE
Raw File Namesres\raw\gtm_analytics




Resource Files

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.

null




Java Source Files

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