Leo Santos
- Forum posts: 2
Jan 17, 2013, 12:19:40 AM via Website
Jan 17, 2013 12:19:40 AM via Website
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!
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!
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.