If by "exact" you mean "somewhere on the same planet", you are welcome
to purchase the services of an IP address geolocation service. There
are many of them, found via your favorite search engine.

These are not especially accurate, and will most certainly not return
to you "the exact location where the visitor from". You cannot derive
exact location from an IP address, for obvious reasons.

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



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

-- 
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

Reply via email to