Saturday, January 22, 2011

JGroups on Android phones

Yann Sionneau recently completed a port of JGroups to Android (2.1+). He took the 2.11 version of JGroups and removed classes which weren't available on Android, and changed some code to make JGroups run on Android.

The QR code for a demo app (based on Draw) is available at [1]. Point a QR code scanner to it, download the app and run it on your Android based phone (I ran it on my HTC Desire). Then start Draw on your local computer, connected to the same wifi network as the phone. The instances, whether run on the phone or computers, should find each other and form a cluster.

It was cool to draw some lines on my HTC and see them getting drawn on all cluster instances as well !

[1] http://sionneau.net/index.php?option=com_content&view=article&id=12%3Atouchsurface-android-app-now-pc-compatible-&catid=3%3Adivers&Itemid=2&lang=en

6 comments:

  1. Anonymous4:56 PM

    This is a great news for me since I have been trying to port into Android in 2009 and early 2010. I will just leverage what Yann already did. Thanks so much. I run JGroups (my APPA P2P agent framework) on WiMax mesh edge networks up to 20 nodes with many different h/w vendors' products. I will try to post and share some experience in some other time with the group later. For now, thanks Yann's work will save me a lot efforts. - Ray

    ReplyDelete
  2. Excellent ! Let us know how it goes

    ReplyDelete
  3. This is one of the important post.I like your blog explanation.This is one of the best post.
    Android app developers

    ReplyDelete
  4. Anonymous4:31 PM

    Unfortunately there is no API for android. Let me know if I'm wrong.

    ReplyDelete
  5. May I know if someone has worked for new Jgroup versions( greater than 2.11) to work on android?

    ReplyDelete
  6. Can I come to know which Jgroup version greater than 2.11 is available and working for android platform?

    ReplyDelete