Android Forum » Android Developer Forum » Android Developer Forum (general) » Client/Server - Android/PC
created on Jan 17, 2013 12:19:40 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.