I have multiple T-Mobile Andr开发者_如何学编程oid cell phones and I am writing an app to go on all the phones that exchanges data via IP. Is there a way to get the private IP addresses of the cellular connections, and send data to each phone using those addresses?
You might wish to create some kind of intermediary web service that all of the devices talk to to share their IPs. Some kind of simple, RESTful API that I device could call to POST their IP/MEID and fetch the other devices' IPs.
You can use something like this to get your device IP.
精彩评论