Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make an android peer to peer without using intermediate server? [closed]

I need to make an android peer to peer app that should work with any Internet connectivity and without using intermediate server. Can somebody plz give me any start up ideas. I haven't find any answer while googling.

Any help would be appreciated.

Regards, Pawan

like image 811
Pawan Avatar asked Jun 09 '11 19:06

Pawan


People also ask

How do you set up a peer-to-peer network?

To setup a peer to peer connection, you must manually configure the IP and subnet mask address on both the scope and your computer. You can then use an ethernet cable connected directly between the scope and computer.

What is P2P mode?

Wi-Fi Direct (P2P) allows devices with the appropriate hardware to connect directly to each other via Wi-Fi without an intermediate access point.

What is P2P Link?

In peer-to-peer (P2P) networking, a group of computers are linked together with equal permissions and responsibilities for processing data. Unlike traditional client-server networking, no devices in a P2P network are designated solely to serve or to receive data.


1 Answers

Adobe AIR, which can run on Android 2.2+ devices can use a (fledgling) technology called Adobe Cirrus (used to be Stratus) which makes p2p possible.

If you would prefer to use Java and create your own p2p system, you might like to take a look at this project: peerdroid

However, I don't have any experience using either of these on Android, and you are likely to encounter issues, especially if it needs to work reliably behind NAT routers.... Good luck!

I should also point out that it would be way easier, simpler and (unless your app is huge or very special) - cheaper, to do this the traditional way, with a server in between.

like image 147
Tom Avatar answered Sep 23 '22 06:09

Tom