We’ve lately been experimenting with different teaching styles for our students.Inspired by some awesome work by Julia Evans we thought it was worthwhile to package out teaching material into a comic/infographic style to help students grasp concepts fast. Here is the first version I cooked up over the weekend. If you want the full PDF version of the booklet, jump to the end of the page and type in your email. You’ll get it in your inbox. Feel free to send us your feedback right here or on twitter.Continue reading
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 already using a hack of uploading the file to some HTTP server and then sharing the link to that file. This worked all fine but the problem was that there was no standardized way to do this to have all our XMPP software inter-operate. Luckily, somebody took the initiative and we now have a standard to follow : Http File Upload.Continue reading
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
In a previous tutorial, we did our best to explain the basic concepts of XMPP in layman terms. We touched on the architectural and addressing aspects of the protocol and looked at its building blocks. In this tutorial we are moving one step up and looking at how XMPP manages contact lists and how it lets us advertise online status (online|offline) to our contacts. We will also explore how we can impose restrictions on who can see your online status. Lets get started shall we?
Xmpp 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