-1

So far, I have learnt that I need a Chat Server(Openfire) and a XMPP client with Smack Libraries to communicate with the server.So,

  1. Installed and configured Openfire.
  2. Now for the client part, I am really confused how to get start with.

I need a simple chat application with limited users and few features like file sharing, message sent and seen, users online etc.

P.S: Yes, I am new to android and have built few applications, but good at UI.

Androwed
  • 443
  • 5
  • 10

1 Answers1

1

Android chat application using Google Cloud Messaging (GCM) using its Google Cloud Connection Server (CSS) via XMPP. Its a very long answer type question. I must suggest you to look here for tutorial.

W4R10CK
  • 5,502
  • 2
  • 19
  • 30
  • Thanks for the reply but I dont want to use GCM any other suggestions pls. – Androwed Jan 09 '17 at 07:19
  • yes visit http://www.tutorialsface.com/2015/08/building-your-own-android-chat-messenger-app-similar-to-whatsapp-using-xmpp-smack-4-1-api-from-scratch-part-2/ or http://blog.titechnologies.in/build-a-chat-application-in-android-using-xmpp/ this.. must accept if worked. :) – W4R10CK Jan 09 '17 at 07:21
  • Thanks, that can help me started. – Androwed Jan 09 '17 at 08:47
  • the tutorial gave me broad understanding about the chat application. – Androwed Jan 11 '17 at 04:51
  • Actually i came across some opensource xmpp clients which can really solve my purpose like xabber xmpp client and configuring your openfire server, setting up new users in server, adding those details in xabber client solved my purpose. – Androwed Jan 11 '17 at 04:54
  • https://github.com/siacs/Conversations – Androwed Jan 13 '17 at 09:15
  • https://github.com/siacs/Conversations nice open source code to start with. – Androwed Jan 13 '17 at 09:26
  • can you please try here : https://kpblogs.com/mobile-development/android/android-chat-application-using-openfire-server-and-xmpp-smack-client/ – Khushvinder Oct 27 '17 at 08:17
  • There is a [Course on XMPP and Smack on Android](http://www.blikoontech.com/video-courses/) that covers the details step by step. Disclaimer : I am the author of the course ;-) – musimbate Mar 14 '18 at 12:00