I know what you want, and I'm saying that you can't fundamentally approximate this with any kind of accuracy..., IPs are just too coarse... As Mark notes there are IP geolocation services, but they're still vast approximations of where you actually are...
kris On Tue, Mar 13, 2012 at 11:06 AM, Android Developer <[email protected]> wrote: > Hi Kris, > > suppose i have a webpage and i have a ip address of the visitor. i want to > display the exact location where the visitor from in android google map. > > > -Mani > > > On Tue, Mar 13, 2012 at 8:10 PM, Kristopher Micinski > <[email protected]> wrote: >> >> You can never know this exactly, so I'm not sure why you're trying. >> There is probably a better way to do what you want, what type of >> application is this used in? For example, while I'm in Maryland right >> now, using my phone, I get a geographical approximation of the IP as >> being in Virginia or Rhode Island..., >> >> kris >> >> On Tue, Mar 13, 2012 at 10:37 AM, Android Developer >> <[email protected]> wrote: >> > Hi, >> > >> > I have a map activity and i want to set the >> > coordinates(latitude,longitude) >> > for the given ip address. >> > >> > Whichever ip address i pass i need to get latitude and longtitude. how >> > do i >> > get it? >> > >> > >> > GeoPoint point = new GeoPoint(latitude ,longtitude); - for given ip >> > address. >> > >> > >> > >> > Thanks >> > Mani. >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "Android Developers" group. >> > To post to this group, send email to [email protected] >> > To unsubscribe from this group, send email to >> > [email protected] >> > For more options, visit this group at >> > http://groups.google.com/group/android-developers?hl=en >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

