January 18th, 2013, 04:12 AM
I developed un application (APK) to send a simple string to server in java (PC).
When i try to run the APK on the emulator with IP (10.0.2.2) i can receive the string in server, but when i put the apk in my device Google Nexus One with network IP (192.168.1.3), nothing happen.
I'm sure about IP of my device.
Btw, there is any possibility to know the IP of device in server? or the server in device? i don't want write the IP every time when I run the APK.
January 18th, 2013, 05:15 AM
You did not mention the network setup. Is the java based server on the 10.network.
How are your 10.network and 192.168.Network connected?
Remember neither of these networks are routeable.
January 18th, 2013, 10:57 AM