Client/Server - Android/PC

  • Replies:0
  • OpenNot stickiedUnanswered

Jan 17, 2013 12:19:40 AM

Hi,

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.
Any ideas?

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.

Tks!