Direct connection between two or more android phones

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Direct connection between two or more android phones

Postby metalmilitia » Tue Dec 07, 2010 3:41 pm

Hi guys!

I need to send information from one to another phone using 3g connection; following the ideal scenario:

Phone A
open the application
fill a form
click on "send to phone B"

Phone B (with the application in the background)
receive the request
execute the request associated code
send a reply to phone B

I just googled around but there are a lot of people that reported to me that such a thing is not possible because 3g network are NATed.
I perfectly know what is NAT and the reason behind nating on a 3g network but so I can't understand how applications like gtalk works.
I read that Gtalk use a server in the middle but anyway I can't understand how the server can communicate with the phone B for delivering the information received by the phone A since the server have only the public IP address of phone B (maybe shared with thousands of other devices)

Can someone explain me how does it works?

Since as for me have a server in the middle of the communication entities is not a problem how can I redesign the communication diagram?

Posts: 2
Joined: Tue Dec 07, 2010 2:38 pm


Re: Direct connection between two or more android phones

Postby Somnevayus » Sat Oct 05, 2013 8:50 pm

Very good and informative exchange .. Thank you!
Junior Developer
Junior Developer
Posts: 16
Joined: Sat Oct 05, 2013 8:27 pm


Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 7 guests