Skip to content

Gustash/androidchat

Repository files navigation

Real-time Android group chat

Summary

I wanted to learn how to code native Android applications, so I decided to use Realtime Framework to build a real-time group chat. It was pretty simple!


You start by defining your nickname:


Then you are brought to a window with a list of channels, to which you can connect based on your preferred theme:


After selecting the channel you can start chatting with all the other users that are connected to the same group:


You can even check who is currently active in that channel (using the Realtime Framework Presence Service):


If the app is not running in foreground the received chat messages are added to the Notification Shade:

Building your own chat

To use this code to build your own chat we just need to register for a free account at the Realtime website and enter your credentials into the source code.

License

The MIT License (MIT)

Copyright (c) 2014 Gustavo Parreira

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A real-time Android group chat built with the Realtime Framework

Resources

Stars

Watchers

Forks

Packages

No packages published