I want to get location of the user using HTML5 geolocation
So i want to use html5 object in this in windows environment
and then call javascript function to get the location from brower
Can i do that if yes give me an example please
I want to get location of the user using HTML5 geolocation
So i want to use html5 object in this in windows environment
and then call javascript function to get the location from brower
Can i do that if yes give me an example please
Not possible as far as I know. The windows runtime does not run on Javascript.
Your best bet is to send out a request to a webpage (I believe I've used MooSock for this in the past). The webpage would have a server-side script that detects the user's location, then sends it back to your application.
You might be able to get away with not even using your own webpage, but just using the hostip.info service as described on this page.