How to open other app installed on IOS from HTML run in Safari - html

Is there a way to open any app installed on Iphone/Ipad? is there a way to open that app from HTML run in Safari.
Please help me. Thank you very much!

Yes, but only if you know the apps URL scheme.
Like for example, Facebook App registers the app URL fb:// so if you create a herf you can open the Facebook app:
Launch Facebook app

Yes you can, If you know the URL scheme of that app.
For eg. URL scheme of whatsapp is whatsapp:// so you can open whatsapp from safari by typing whatsapp:// in your browser.
You can also set URL scheme to your app so that any one can open your app from browser by entering URL.
Check this great tutorial If you want to create a custom URL scheme for your app.

Related

How to open app using the URL android

I am trying to open application on android phone via Browser, Is their anyway to open any application using the ** URL ** in an andoid phone via Chrome, by using HTML.
The format of these URLs is pretty simple and an example of a real URL that you can use is:
intent://#Intent;action=android.in
You have to use the format provided by the app vendor. for example whatsapp:// should be used to open whatsapp and magnet:? to open torrent app. Likewise you have to use in links

WeChat does not redirect to iTunes app store on iPhone

So I have a website with functional redirects to both the Google play store and the itunes store. Using the WeChat messaging application I can open an in-app browser to view the webpage and do everything I normally would.
The problem surfaces when using WeChat on an iPhone. I can see both links and click on either of them, but the itunes link does redirect as desired. Keep in mind that this is not a problem on Android, both links redirect properly inside the app on my Android phone.
The goal is to have the button open up the actual itunes store app, and not link to the itunes webpage but even using itms itms-apps the connection doesn't go through. On said iPhone in Safari and Chrome, these buttons link properly. It is only in WeChat that the itunes redirect button does not work.
I've tried adding an additional page that the button redirects to, which is
<meta http-equiv="refresh" content="0; URL='http://itunes.apple.com/us/app/myapp/myappid'" /> but it just loads the blank the page and freezes because of the failure to redirect. In fact, simply trying to load http://itunes.apple.com in the app results in failure.
Perusing StackOverflow I found this post about linking to the app-store but none of the answers really helped.
So I'm hoping some one has some idea of what to do or has some experience with a workaround for a situation like this since WeChat is integral to my app's performance.
Update:
I still haven't found a solution to my problem, but I've managed to get a lead. The only link to iTunes that works in any way is http://mzstatic.com, but the problem is that I can't seem to find the proper parameters to link to an app. Everything that I've seen online seems to show using the link to grab images.
check this issue
Guiding your user to scan QR code , you can generate your QR code by using this service , adding your appsto url to the QR code (open App Store , find your app , click share , click copy link , you can get your app redirect url offered by Apple);
Register your mobile application on Tencent's Application Treasure,click the Micro Download to apply for you app , add your app store url to generate your Micro Download url which will redirect to app store , the offical document are here mobile application access
so , have a try , hope it helps.

Open link in mobile browser(safari) instead of Facebook native browser (html base)

Im developing a web with facebook share link function. I notice facebook mobile apps will open shared link in its own browser, instead of mobile broswer (IE. safari, chrome and so on). Is there any control on this able us to force facebook open the link in mobile browser?
No. The only reliable workaround is if you use the web app with an iOS app, and all users install that iOS app, you can send users to your iOS app to accomplish that task which isn't a great workaround.
An easier but still not optimal solution would be to detect the Facebook browser in the user-agent string, and display a message to prompt users to visit the URL in the mobile browser.

URL to open iOS app in App Store web page and iTunes app simultaneously

What is the preferred URL to use to open an iOS app in it's App Store web page as well as the iTunes app (when available on the host device)?
I've tried using the itms:// protocol but this opens the app details in the iTunes app only and so is of no use when the URL is navigated to from an Android or Windows phone for example.
I believe you would want to look at the browser to determine which link to use. If the browser is Safari on iOS device, give them the iTunes protocol link, otherwise, http://.
I believe javascript allows you to read such information: Take a look here: http://www.w3schools.com/js/js_browser.asp
I've discovered that the behaviour of a URL opening an iTunes preview web page before automatically opening the iTunes app on the host device (where available) is triggered by affiliate links (which need to track the click before taking the user to the intended destination).

How do I create a shortcut for a HTML 5 app via chrome?

I have a HTML 5 app which works with offline storage. It only needs to work in Chrome at the moment. I want the user to be able to access the app both online and offline. At the moment I am asking the user to bookmark the page to come back to it when offline.
I would like to have a link: "Click here to create a desktop shortcut". Does anybody know if this is possible?
Thanks in advance.
I encourage you to get your app in the Chrome Web Store and it will be installed to the users Chrome. Any app that is created to work offline will work offline regardless of it having a desktop icon or not.
If the user is on Windows they can also create an application shortcut that will be placed on to the desktop.