Open location app from webpage link from ios browser - html

I wish to make a link in my mobile website that will trigger a location based application (as waze or google maps) to open in location.
the following html code:
go to location
working great with android browsers, but not working with iphone (using safari or chrome)
How can it be done to work with iphone/ipad browsers?

To open google maps on ios you have to use a specific url scheme (specific for each application, if provided) for example the following will call google maps :
comgooglemaps://?daddr=%f,%f&saddr=%f,%f&mrsp=0&ht=it&ftr=0", contactPosition.latitude, contactPosition.longitude, myPosition.latitude, myPosition.longitude
and this wil open waze :
waze://?ll=37.331689,-122.030731&navigate=yes
In both cases to have this working the user, obviously, should have the apps installed.

Related

deep link from all browsers to google chrome on android

I am developing a web application which is optimize for google chrome on android.
for users who open my app with another browser,
is there a deep link to open google chrome from my website?
for example:
the following link launches the playstore application at the url indicated in the link variable
https://play.app.goo.gl/?link=https://play.google.com/store/apps/details?id=com.facebook.katana&ddl=1&pcampaignid=web_ddl_1

Open Google Maps or Apple Maps in iPhone or Other Mobile Device via Browser

I have links that go to Google Maps, but now since Apple updated to their own service my iPhone goes to the Google Maps website. Is there a way in HTML to show the Apple Maps link, when it's iOS6, and show the Google Maps link for all other devices. I am using ASP.NET MVC.
The solution is even easier than that and won't require any conditional statements:
When clicked from an iOS6 device, links to
maps.apple.com/maps?q=cupertino are opened in Apple's native
mapping application.
But on other mobile devices and computers, it redirects to Google
Maps (at maps.google.com/maps?q=cupertino) instead.
So at this point, all you need to do is include the Apple Maps link and it should work as expected on non-iOS devices.
I mentioned this in a recent post that also touches on whether the same parameters can be used.

Does mobile Google Chrome support browser extensions?

Can I create a plugin or an extension for Google Chrome MOBILE (Android Google Chrome)?
If not, can I create an extension for Google Chrome (desktop), which will add a button in Google Chrome bar. This button will open the page in another web browser (in my own web browser), so, this button should launch my own web browser.
Extensions are not supported, see: https://developers.google.com/chrome/mobile/docs/faq .
Specifically:
Does Chrome for Android now support the embedded WebView for a hybrid native/web app?
A Chrome-based WebView is included in Android 4.4 (KitKat) and later. See the WebView overview for details.
Does Chrome for Android support apps and extensions?
Chrome apps and extensions are currently not supported on Chrome for
Android. We have no plans to announce at this time.
Can I write and deploy web apps on Chrome for Android?
Though Chrome apps are not currently supported, we would love to see great interactive web sites accessible by URL.
You can use bookmarklets (javascript code in a bookmark) - this also means they sync across devices.
I have loads - I prefix the name with zzz, so they are eazy to type in to the address bar and show in drop down predictions.
To get them to operate on a page you need to go to the page and then in the address bar type the bookmarklet name - this will cause the bookmarklet to execute in the context of the page.
edit
Just to highlight - for this to work, the bookmarklet name must be typed into the address bar while the page you want to operate in is being displayed - if you go off to select the bookmarklet in some other way the page context gets lost, and the bookmarklet operates on a new empty page.
I use
zzzpocket - send to pocket.
zzztwitter tweet this page
zzzmail email this page
zzzpressthis send this page to wordpress
zzztrello send this page to trello
and more...
and it works in chrome whatever platform I am currently logged on to.
Some extensions like blocksite use the accessibility service API to deploy extension like features to Chrome on Android. Might be worth a look through the play store. Otherwise, Firefox is your best bet, though many extensions don't work on mobile for some reason.
https://play.google.com/store/apps/details?id=co.blocksite&hl=en_US
Just use a different browser.
Follow the steps given below to install Chrome extensions on your Android device.
Step 1: Open Google Play Store and download Yandex Browser. Install the browser on your phone.
Step 2: In the URL box of your new browser, open 'chrome.google.com/webstore’ by entering the same in the URL address.
Step 3: Look for the Chrome extension that you want and once you have it, tap on 'Add to Chrome.’
The added Chrome extension will now be automatically added to the Yandex browser.
I imagine that there are not many browsers supporting extension. Indeed, I have been interested in this question for the last year and I only found Dolphin supporting add-ons and other cool features announced few days ago. I want to test it soon.

How to link to native Google Maps iOS app from mobile Safari browser

I read somewhere (I've forgotten where) that it is now possible to link to the native Google Maps iOS app from the mobile Safari browser by using the maps:// protocol and that the app will now allow the importation of a KML file. I have tried several different linking URLs but I can't seem to get any of them to work. Does anyone know the correct format of this URL using the maps:// protocol with a KML file? Any help will be greatly appreciated!
As far as I see there is no such option.
Apple Developer Documentation on Map Links
You can start the Google Maps iOS native app by just redirecting to the Google Maps website:
Cupertino
Regarding the KML the native app will not pick it up (from the link above):
The rules for creating a valid map link are as follows: ...
A parameter cannot be q=* if the value is a URL (so KML is not picked up). ...
Apple URL Scheme Reference: Map Links
http://maps.apple.com/?q=cupertino
Note: since iOS 6, you have to convert all map requests from "maps.google.com" to "maps.apple.com" for the iOS map to activate.
Starting in iOs 6, you should link via HTTP to maps.apple.com, such as:
http://maps.apple.com/?daddr=San+Francisco,+CA&saddr=cupertino
If accessed from a non-iOs device, that link currently redirects to the equivalent Google Maps search. In the future, Apple might do a web-based map viewer of their own.
See full documentation here:
http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Articles/MapLinks.html

Make an URL point to google maps app on Nokia (symbian)

The iPhone has a functionality that when a google maps URL is typed into (or linked) the mobile browser it will open the Google Maps app instead of displaying it in the mobile browser.
Now I'm wondering if that same functionality exists for say a Nokia (Symbian) phone? Is there a way to set up the link to open the Google maps app on the Symbian phone?
You might want to look at this related stackoverflow question.
The Nokia Ovi Store does something similar, it pops up the store when you access a URL through the browser. I don't know how they do it though.
Not that straightforward or helpful in all cases, but at least in the latest Symbian^3, if you have Google Maps installed, pointing the browser to a .kml file (served with correct MIME type) seems to open the file in Google Maps application automatically.