Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Whatsapp/Chat Examples [closed]

Does anybody have an example or a tutorial for a Android application like WhatsApp? I want to understand how WhatsApp works and how it is programmed.

I want to see an example that uses a message-chat-system with "online"-status and "read the message"-information.

I used Google but I found nothing. Maybe someone has a tip.

Thanks.

like image 610
user1878413 Avatar asked Jun 06 '13 06:06

user1878413


People also ask

How do you see hidden messages on WhatsApp?

* The hidden chat will be located below all of the chats on your smartphone inside of the archived chats. * Now to unhide the chats, you need to open WhatsApp, scroll to the bottom of all the chats and open the archived tab. * Inside of the archived tab, you will get to see all the chats that you have archived.

Can someone see if I turn on disappearing messages on WhatsApp?

Will Other Person be Notified if I Enable Disappearing Messages? Yes. Once you enable disappearing messages for a particular contact, he or she will be notified of the same in the chat, similar to how you're notified of changes in one's security code when you switch devices.


2 Answers

If you are looking to create an instant messenger for Android, this code should get you started somewhere.

Excerpt from the source :

This is a simple IM application runs on Android, application makes http request to a server, implemented in php and mysql, to authenticate, to register and to get the other friends' status and data, then it communicates with other applications in other devices by socket interface.

EDIT : Just found this! Maybe it's not related to WhatsApp. But you can use the source to understand how chat applications are programmed.

There is a website called Scringo. These awesome people provide their own SDK which you can integrate in your existing application to exploit cool features like radaring, chatting, feedback, etc. So if you are looking to integrate chat in application, you could just use their SDK. And did I say the best part? It's free!

*UPDATE : * Scringo services will be closed down on 15 February, 2015.

like image 99
Swayam Avatar answered Sep 25 '22 13:09

Swayam


Check out yowsup
https://github.com/tgalal/yowsup

Yowsup is a python library that allows you to do all the previous in your own app. Yowsup allows you to login and use the Whatsapp service and provides you with all capabilities of an official Whatsapp client, allowing you to create a full-fledged custom Whatsapp client.

A solid example of Yowsup's usage is Wazapp. Wazapp is full featured Whatsapp client that is being used by hundreds of thousands of people around the world. Yowsup is born out of the Wazapp project. Before becoming a separate project, it was only the engine powering Wazapp. Now that it matured enough, it was separated into a separate project, allowing anyone to build their own Whatsapp client on top of it. Having such a popular client as Wazapp, built on Yowsup, helped bring the project into a much advanced, stable and mature level, and ensures its continuous development and maintaince.

Yowsup also comes with a cross platform command-line frontend called yowsup-cli. yowsup-cli allows you to jump into connecting and using Whatsapp service directly from command line.

like image 42
blganesh101 Avatar answered Sep 25 '22 13:09

blganesh101