I want to create a simple real time chat which stores even stores old messages and can access them when I'll be online. Any tips ?
For detailed information, you can walk through this video:
Here is thesourcecode of Chat Application by another YouTube Creator.
https://www.dropbox.com/s/bslb562b9kt8era/chat.zip
Here is an explanation of thesourcecode—https://youtu.be/XkV9XdHueL8