I have created a Web Service for Android. When the program runs, it gives the local ip address of the device. It works perfectly in emulator and Samsung Note. But When I tried the same thing in Samsung Galaxy Tab 10.1, it gives an encrypted string. Can anyone tell me what will be the issue?
Asked
Active
Viewed 145 times
0
-
using getLocalIpAddress() method I am able to get the IP – Anu Mar 22 '12 at 06:41
-
And what does the encrypted look like – Snicolas Mar 22 '12 at 06:43
-
http://fe80::8e77:12ff:fea5:28ab – Anu Mar 22 '12 at 07:44
-
1isn't that an IP V6 address ?? I think so.. – Snicolas Mar 22 '12 at 13:37
-
yes... then how can I connect to this device from pc? i am using a pc with IP V4. is that possible? – Anu Mar 23 '12 at 04:13
-
I could find the answer after a month [as the answer of this question][1] [1]: http://stackoverflow.com/questions/10286294/finding-the-ip-address-of-galaxy-tab-10-1-for-application – Anu Oct 09 '12 at 07:09
1 Answers
0
You should read this http://en.wikipedia.org/wiki/IPv6#IPv4-mapped_IPv6_addresses

Snicolas
- 37,840
- 15
- 114
- 173