有没有办法用 angularJs 在类固醇上打开另一个应用程序?我想打开系统的默认 gps 导航器,将我自己的应用程序中的起始纬度和经度以及目标位置传递给它。
问问题
259 次
1 回答
0
Is this something you want to to programmatically or through a ui-click?
How about using a tag with the geo-prefix like this?
<a href="geo:38.897096,-77.036545">open map</a>
Or use steroids.openURL()
steroids.openURL("geo:38.897096,-77.036545");
As described here: http://docs.appgyver.com/en/edge/steroids_Steroids%20App%20and%20Device_steroids.openURL.md.html
于 2015-06-22T10:11:40.330 回答