Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

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.

share|improve this question

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
If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers 2

up vote 2 down vote accepted

I have used ASmack successfully for chatting and other P2P communication over XMPP:

http://code.google.com/p/asmack/

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 )

share|improve this answer

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.

share|improve this answer
    
Not sure if JXTA is the best approach now. See kenai.com/projects/jxse/pages/LatestNews –  Gary Rowe Mar 28 '12 at 11:33

Not the answer you're looking for? Browse other questions tagged or ask your own question.