I am making a P2P Android application. The initial functionality I am aiming for is chatting. Can anyone please suggest a good open source P2P library, using which I can build my application upon? Most of the ones I found are complete applications, but I want a library I can use to build my application.
closed as off-topic by gnat, Kilian Foth, Ozz, GlenH7, glenatron Oct 2 '13 at 13:55
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions asking us to recommend a tool, library or favorite off-site resource are off-topic for Programmers as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – gnat, Kilian Foth, Ozz, GlenH7, glenatron
I have used ASmack successfully for chatting and other P2P communication over XMPP:
You need a server to set up the communication, though. The most common (and free) solution would be Openfire.
If you don't want to use your own server, you can let people use Google Talk or Jabber accounts. (You need to google Jabber since I'm new here and can't use more than two links in my posts. :-P )
The JXTA project is one that people seem to mention a lot. Else you can build your own if you're on Java 7 as it's multicasting APIs are nicely up to date.