开发者

Google Maps app on Android using jQuery Mobile 1.0a2

Is it possible to force a link to open in the Google Maps app on Android using jQuery Mobile 1.0a2. The site in question is http://www.cs.iupui.edu/~migivens/ In my tests, the iPhone does this perfectly with the address simply enclosed in < li > tags. Android fails to recognize the address unless I specifically use the anchor tag and prefix the address with http:// maps.google开发者_如何学编程.com?q= This is not what I desire because android will only gives a list of available apps capable of opening this link(browser & maps). I would like it to default to the maps app just as the iPhone does. Thanks in advance.


Try using a geo URI as specified on this page: http://developer.android.com/guide/appendix/g-app-intents.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜