[android-developers] Re: End user IP for android

2009-04-17 Thread AnuR
i got a solutioon form this thread..:) http://groups.google.com/group/android-developers/browse_thread/thread/6b996816446e577c/f041148ce261948f?lnk=raot On Apr 17, 1:57 pm, Jeff Sharkey wrote: > On second thought, do you have control over the server?  If so, you > probably already have access

[android-developers] Re: End user IP for android

2009-04-17 Thread Jeff Sharkey
On second thought, do you have control over the server? If so, you probably already have access to the public IP address of any connecting client. And if any proxies get involved, they usually tack on a X-Forwarded-For header value. j On Thu, Apr 16, 2009 at 10:54 PM, AnuR wrote: > > hi, > >

[android-developers] Re: End user IP for android

2009-04-17 Thread Jeff Sharkey
I think I've heard that the T-Mobile proxy only handles port-80 traffic. To get an absolute best-answer of external IP, you might try parsing a call to http://checkip.dyndns.org:8245/ or something similar. j On Fri, Apr 17, 2009 at 1:03 AM, Al Sutton wrote: > > If they're using the cellular co

[android-developers] Re: End user IP for android

2009-04-17 Thread Al Sutton
If they're using the cellular connection you won't be able to get a per-device IP, you'll only get the IP of the T-Mobile proxy which will be shared by many devices, and there is no guarentee that one devices requests will come via the same external proxy IP for subsequent requests. Al. -