Instruction of AndroidDemo
DuoZhang edited this page Apr 14, 2014
·
2 revisions
AndroidDemo is an demo of iCometClient on Android os. So, it is NOT a SDK. But if you want to write an application for Android os based on iComet service, it will really helpful.
AndroidDemo has an fully implementation of iCometClient based on iCometClient4j. It can do these things:
- Subscribing a channel from iComet server, parse Json message and show them on screen.
- Publishing messages to a specific channel on iComet server. To do this, the project need to parse the special characters to html and Json format.
- With the two things above, you can chat with anyone else using this app or the demo page on ideawu's blog.
In AndroidDemo folder, there is a fully Android project built in eclipse. So, download the project and import it to eclipse, you can do anything you want. If you only want to run the demo, there's an apk file in /bin folder.