pappu_kutty
pappu_kutty

Reputation: 2488

XMPP Android Implementation Guide

Guys I am new to XMPP functionality and I am reading topics on GCM with XMPP, how to implement chat functionality using xmpp. Basically I am doing proof of concept so that i will be comfortable before i start. I have the below infrastructure to host my android app:

  1. Java backend + MySQL database.
  2. OpenShift cloud platform to host my backend application.
  3. Google cloud messaging to send notifications to client devices.

Right now, I am totally lost. How to start with XMPP, i have got couple of links

XMPP implementation using QuickBlox

GCM XMPP implementation

where i got basic knowledge, but i want to use XMPP with my existing app, which is running on OpenShift.

My questions are:

1- Is there any available APIs for XMPP that i can integrate with my app (so that i can decrease my development time) ?

2- Do i need separate server for XMPP for chat functionality?

Upvotes: 1

Views: 1659

Answers (2)

Kalu Khan Luhar
Kalu Khan Luhar

Reputation: 1074

My questions are: 1- Is there any available APIs for XMPP that i can integrate with my app (so that i can decrease my development time) ? 2- Do i need separate server for XMPP for chat functionality?

You will need your separate XMPP integrated server for both options. You can choose any one practice to integrate XMPP real-time chat in your app.

  1. Using that server's base URL, you can use REST API Plugin.
  2. Integrate XMPP chat in your app using Smack provided by Ignite Realtime.

I have uploaded sample Android app's source code here.

Upvotes: 0

Nabeel K
Nabeel K

Reputation: 6128

I think the following github project will help you.everything is there for a simple xmpp chat app https://github.com/jerrya/AndroidSmackSample

Upvotes: 1

Related Questions