I'm creating this thread to discuss some things about MI Chat and hopefully start an effort to develop a native Android client (we could consider other platforms later).
Basically, this is how the app would be laid out in the beginning:
- Main activity, showing the ever-populating list of chat messages and post them
- A service, to load new messages in the background if the app is left open
- Depending on the API, probably a ContentProvider to maintain a local database of requests to the server (could probably be cleared after every session)
The architecture of the app will mostly be based on this implementation of an Android REST client,
https://github.com/aug-mn/restful-an...ee/catpictures
I know Ownaginatios has developed an API so hopefully if we get that code, it will cut down some work. Otherwise we'll need to figure out what requests to make to the server before anything else. If we can have the server response be anything but the whole page source, that would be brilliant.
To try out HTTP requests to a server, use the Postman app for Chrome.
Anyone who wants to help can post in this thread, once we have an idea of the requests we need to make, I'll start a repository and start with a skeleton to build upon.