Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 373
Devendra Dagur Avatar asked Apr 21 '14 08:04

Devendra Dagur


People also ask

What is openfire XMPP server?

Openfire is a real time collaboration (RTC) server licensed under the Open Source Apache License. It uses the only widely adopted open protocol for instant messaging, XMPP Openfire is incredibly easy to setup and administer, but offers rock-solid security and performance.

What is openfire chat?

Openfire (previously known as Wildfire, and Jive Messenger) is an instant messaging (IM) and groupchat server for the Extensible Messaging and Presence Protocol (XMPP). It is written in Java and licensed under the Apache License 2.0.


1 Answers

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.

like image 96
everydayapps Avatar answered Oct 05 '22 21:10

everydayapps