android and appengine example of using the new GCM, chat client for android.
GCM_Chat_example is hosted in the following web site
https://github.com/lolevsky/GCM_Chat_example
If you think the Android project GCM_Chat_example 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_Chat_example.
Item | Value |
---|---|
Java File Count | 23 |
Supported screen sizes | [mdpi, xhdpiv5, hdpi, xhdpi, hdpiv5, mdpiv5] |
Target SDK Version | 17 |
Minimum SDK Version | 8 |
Activity Count | 3 |
Fragment Count | 1 |
jar files used | android-support-v4.jar appengine-api-1.0-sdk-1.8.0.jar appengine-api-labs.jar appengine-endpoints.jar appengine-jsr107cache-1.8.0.jar datanucleus-appengine-1.0.10.final.jar datanucleus-core-1.1.5.jar datanucleus-jpa-1.1.5.jar gcm-server.jar geronimo-jpa_3.0_spec-1.1.1.jar geronimo-jta_1.1_spec-1.1.1.jar google-play-services.jar jdo2-api-2.3-eb.jar json_simple-1.1.jar jsr107cache-1.1.jar junit.jar mockito-all-1.8.5.jar |
Required Permissions | android.permission.GET_ACCOUNTS android.permission.INTERNET android.permission.USE_CREDENTIALS android.permission.WAKE_LOCK android.permission.WRITE_EXTERNAL_STORAGE com.google.android.c2dm.permission.RECEIVE com.iapplize.gcmtest.permission.C2D_MESSAGE |
There are 4 image files in GCM_Chat_example. The names of the image files are listed as follows.
ic_action_drawer_shadow.9.png ic_action_ic_drawer.png ic_tab_send_selected.png ic_tab_send_unselected.png
The following screenshort is generated from the image listed above.
GCM_Chat_example has the following Java source files.
com.iapplize.gcmtest.Installation.java com.iapplize.gcmtest.MainApplication.java com.iapplize.gcmtest.activity.MainActivity.java com.iapplize.gcmtest.activity.MainActivityUserSelectListener.java com.iapplize.gcmtest.activity.SignInActivity.java com.iapplize.gcmtest.database.DataBaseProvider.java com.iapplize.gcmtest.database.MySQLiteHelper.java com.iapplize.gcmtest.database.TableChat.java com.iapplize.gcmtest.fragment.MainDrawerFragment.java com.iapplize.gcmtest.fragment.MainFragment.java com.iapplize.gcmtest.gcm.GCMListener.java com.iapplize.gcmtest.gcm.GcmBroadcastReceiver.java com.iapplize.gcmtest.gcm.MainGCM.java com.iapplize.gcmtest.google.plus.GooglePlayServicesErrorDialogFragment.java com.iapplize.gcmtest.google.plus.GooglePlusErrorDialogFragment.java com.iapplize.gcmtest.google.plus.MomentUtil.java com.iapplize.gcmtest.google.plus.PlusClientFragment.java com.iapplize.gcmtest.http.HTTPResponceListener.java com.iapplize.gcmtest.http.HttpConnect.java com.iapplize.gcmtest.http.Parsing.UserHandler.java com.iapplize.gcmtest.http.Parsing.xmlParser.java com.iapplize.gcmtest.http.object.Message.java com.iapplize.gcmtest.http.object.User.java