Devendra Dagur
Devendra Dagur

Reputation: 850

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

Currently I am working on instant messaging chat application in which I need to implement third party chat server.

I am following this tutorial

Complete project available on Github here.

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

I import GCMDemo in eclipse; it provides me a GCM client for sending message and it's working fine.

But I don't know how to use GCM_CCS_application. This is a java application. GSM_CCS_application is not an android application; it is for server-side applications.

I have openfire server installed on my computer but don't know how to use openfire for this application. So please somebody tell me how to implement this server-side application.

Upvotes: 6

Views: 3216

Answers (1)

everydayapps
everydayapps

Reputation: 455

Hope you have figured this out by now, if not read on.. Basically you DO NOT need Openfire for this purpose. Google's server will do the job of Openfire. Your server application and your android application are both "users" or clients of the Google's xmpp server. The applications can connect to the Google server using your project ID and API key. Hope this helps.

Upvotes: 3

Related Questions