I intend to create an application that can send file from one phone to another phone (with API level 10) that are on separate networks without a server.
I found some socket-based file sending solution and they worked in a LAN: I could send files from a phone to another one.
However, when I was on a separate network, the server address 192.168.0.102 (obviously) became invalid because it is a local address.
How can I access the other phone over 3G or if it is in a separate network?