How to Install Openfire XMPP Server and Use it with Smack Android App From Emulator

Openfire is an widely used XMPP Server that is written in the Java programming language. It boastsĀ  an intuitive and easy to use dashboard where your setup is just interacting with the UI and you can get complex setups done very easily. In this tutorial we are focusing on installing Openfire for use with a Smack based Android App on the local machine were Android Studio is installed. It is in response to my students from the course Build an Android Chat App from Scratch using XMPP and Smack, who happen to need this in big numbers. Let’s get started.Continue reading

Sending and Receiving Files with XMPP : Http File Upload Explained



In the previous tutorials, we covered the basics on XMPP and visited the Roster and saw how you can add your contacts in XMPP. In this one, we’re tackling an important problem of sending and receiving files.Everybody expects an instant messenger these days to be able to send and receive any kind of file. XMPP being one of the competing Instant Messaging Protocols, has attempted to come up with ways to allow the sending and receiving of files but most of the techniques highly depend on there being a single peer to peer connection( sender to receiver) over which the files are sent.

This becomes a problem in today’s expectations where you need to send the files in group chats, multiple connected clients on the same account. Simply put, a better tool for the job was needed and most people where alreadyContinue reading

Blikoon Online School For XMPP Live and Breathing

We’re very happy to announce that we now have an online school for the courses we have been building for the last couple of months. We’ve been getting a tremendous amount of students enrolling and that opened our eyes on the great demand that is already available especially for the XMPP protocol that we’ve only covered so far. I would like to take this moment to thank all the students that have enrolled with us so far and grateful for all the feedback.

Now that I have shared my excitement,Continue reading

Android Smack XMPP Introduction:Building a Simple Client

rooster_full_chat_processedXmpp is a protocol for Presence and Messaging , and Smack is a Java/android implementation of the protocol that helps developers build fast client applications.When one embarks on the journey to build android chat apps based on xmpp using Smack ,there are a lot of pitfalls one can come across as you are trying to combine the three worlds of Java , Android and the Xmpp protocol itself to build one coherent product.This tutorial aims at documenting these and possible ways to mitigate them.By the end of this tutorial ,you will have an android chat client that can connect to and XMPP server , send and receive messages .Most importantly ,you will learn the android plumbing necessary to get all this rolling.Lets get started.Shall we.Continue reading