android - Open Google Map from link -
i'm developing webapplication (using angular). in application there link should open navigator. on desktop browser opens googlemaps , on android should opens google maps app.
this code:
var intent = 'intent://maps.google.it/maps?es_sm=91&biw=120&bih=213&um=1&ie=utf-8&fb=1&gl=it&geocode=kqv869munxhhmwoijqsfotsc&daddr={0}&gmm=cgigaq%3d%3d&entry=s#intent;scheme=http;package=com.google.android.apps.maps;end'.format(this.plussizeaddress(address)); var win = window.open(intent, '_blank'); win.focus();
it works on chrome using android webview error net::err_unknown_url_scheme
is there way open correctly on webview?
thanks lot
Comments
Post a Comment