My previous post, “Video Chat for Android in 30 Lines of Code”, has generated a good level of interest. A slight twist on the same idea is to build collaboration into your applications. The use case here is slightly different: instead of enabling simple “video conversations” between remote users, this level of collaboration enables remote users to work together (or play together) within an application on their mobile device (or traditional computer).
To demonstrate this idea, I wrote a series of Flex applications with collaboration “built-in”. The same application can be deployed as an Android app, as a desktop app, or in the browser.
The first application in this series is a simple Tic-Tac-Toe game. The collaboration features built in this application are:
- Shared cursors: follow the other player’s mouse position
- Real time messages: a player’s move is immediately sent to the other player
- Shared states: whose turn is it to play etc.
These features are enabled by LiveCycle Collaboration Service.
Watch the video of the Android version:
Click here to play (with the Browser version). This is obviously a simple application, but the same concepts can easily be applied to sophisticated social or business apps. My 6 year-old loves it, especially when I’m on the road :)
Download the source code:
Click here to download the source code.