开发者

find the **longitude and latitude** Using Jscript for Mobile application

I have a scenatio where i have to find the longitude and latitude Using Jscript.

I have a mobile a开发者_如何学Cpplication where i have to implement this. Or may be there is some way to use GPS to find the device current location

Please, Help

Thanks, Regards, Shivam Khare


have a look at my small sample at http://nolovelust.com/post/mobile-geolocation-with-jquery-and-google-maps-api-and-aspnet-c.aspx I think it is what you need


You should be using the Geolocation API: http://diveintohtml5.ep.io/geolocation.html


I'm not so experienced with Android applications. But what you can always do is call Java functions from JavaScript. Hence, you could write a small applet which provides a (static) function to retrieve longitude and latitude. You would need to embed the applet in your page. Then you could call the function in your applet from Java Script.

Regards,

Martin.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜