Link to home
Start Free TrialLog in
Avatar of citadelind
citadelindFlag for India

asked on

How to get Current location of IPhone Device using UDID from Asp.net web site

Hello,

I am developing a web application  using Asp.net,vb.net  in which iphone user register.

So I have UDID of Iphone device in database

Is there any way that i can track current location of iphone user from website

Thanks  & regards
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

if your app explicitly asked to use the location data and the user agreed then you have it available to your website. If not then all you can do is use the ip-location data (which may or may not be accurate) and usually encompasses a large area.
Avatar of citadelind

ASKER

how can we get current location of the user. is there any way to get current location of IPhone using asp.net
just the general ip-location that I mentioned before.  

I will say it again.. if your app requested permission to share the location data and the user agreed, then the app can query the location sensor in the iPhone and send it back to you.

It has to be an app installed from the Apple App Store for a non-jailbreaked phone.
I want to track Iphone from my web application. how can i specify  device id of mobile through web site it is not mobile web site.

please provide example for better understanding

Thanks & Regards
SOLUTION
Avatar of Roopesh Reddy
Roopesh Reddy
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That API returned a location 2.3km from where I am.
Hi,

I mean, we have to use GeoLocation API to achieve his goal!

The link provided is an example and he can consider on how to use the Geolocation API!

One more -

http://www.w3schools.com/html5/html5_geolocation.asp

By using the API, you can get the latitude and longitude and you can easily track the device location!!!

Hope it helps u...
That is what I had said in my first post.. ip location data.. which is not the cell location data or the gps location data which the phone has.
Thanks for help,
but my requirement is like my web application is not used by iphone, but i have only iphone's device id through that device id i have to find the current location of that device in my web application it is not on iphone.

whatever example you people gave it give current location of mine i.e. location where application run but i want to track iphone  location.

How can i do this.

Thanks &  Regards
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial