How to implement a third-party CCM XMPP GCM server using openfire?

I am currently working on a chat chat in which I need to implement a third-party chat server.

I follow this tutorial

The full project is available on Github here .

When I download this project, it provides me with two project folders; the first is called GCMDemo , and the second is GCM_CCS_application .

I import GCMDemo in eclipse; it provides me a GCM client to send a message to and it works great.

But I do not know how to use GCM_CCS_application . This is a Java application. GSM_CCS_application is not an android application; this is for server applications.

I have an openfire server installed on my computer, but I don’t know how to use openfire for this application. Therefore, please tell me how to implement this application on the server side.

+6
source share
1 answer

I hope you guessed it if you didn’t read it. Basically, you do not need Openfire for this. The Google server will do the work of Openfire. Your server application and your Android application are the β€œusers” or clients of the Google xmpp server. Applications can connect to the Google server using the project ID and API key. Hope this helps.

+3
source

All Articles