I am developing a responsive website and it will have a login button. This login button should redirect to an application installed on the users phone.
Is it possible to create an html/css button and once clicked, it opens up an installed application on your mobile whether its android or ios ?
Many thanks for your help guys !
Open app:
http://www.techrepublic.com/blog/software-engineer/web-to-app-interoperability-launch-your-android-app-from-the-web/
Using an intent to direct the user to the app download page:
http://www.techrepublic.com/blog/software-engineer/web-to-app-interoperability-launch-your-android-app-from-the-web/
Here is a link to some of apple's in-app url schemes, not all of the apps have schemes, but you might be able to find them in the developer notes of whatever app you're linking to.
https://developer.apple.com/library/safari/featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html
Related
I am working on a website for a product which also has an android application. I want to redirect the user from mobile web browser to the android application when a particular task is performed. I use a deep link of the format as below -
intent://#Intent;package=<PACKAGE_NAME>;action=android.intent.action.VIEW;category=android.intent.category.BROWSABLE;scheme=https;end
The issue is that this link is redirecting user to playstore if app is not installed. I wanted user to stay on the web browser if app is not installed. How can we achieve that?
As of now, i tried replacing the intent with https to produce link of the format as below -
https://#Intent;package=<PACKAGE_NAME>;action=android.intent.action.VIEW;category=android.intent.category.BROWSABLE;scheme=https;end
But it only works if I add the supported links from the app info, which has to be done manually. I am not sure if the fix for this is to be done in android on is there a way to handle this from the website?
Referring to this post, I have managed to intercept link from Google search result to open my app, but is there any way I can intercept link from Facebook app to open my app? At current stage, clicking on the link only open my webpage in Facebook's build in browser and not my app.
Thanks in advance.
You can do so using app linking (not deeplinking, but similar). You have to provide meta tags to your hosted website. Refer this link
https://css-tricks.com/essential-meta-tags-social-media/
. You have to provide your package name and fb app id to the meta tags, and you will be redirected to your app.
I am looking for suggestions from experts in this group.
We have a website, ios and Android apps. In the web site there is a banner available for our mobile application. So if user taps on that banners and app is installed in the mobile, then it should launch the app (ios & android). If app is not installed then we need to display a custom web page there all the details about the application is provided.
Also we are sending emails to our customers to let them know about the application. There will be hyper link in the email. From the email, when the user taps on the hyper link, and if the app is installed, then it should launch the app (ios & android) and if app is not installed then it should display a customer website.
And the custom web page we can show app store links.
Could somebody suggest a solution?
For iOS, you can try this:
https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/PromotingAppswithAppBanners/PromotingAppswithAppBanners.html
and this:
https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/Inter-AppCommunication/Inter-AppCommunication.html
I have made quiz website and in order to get the score of the quiz, the user must click the Facebook share button. The button then shares the results of the quiz and a blurb getting their friends to play the quiz too. It's all working well, except for one thing:
If the person is using a mobile device and they click share it loads up a new browser tab. This is bad because most people use the Facebook app and not a browser. So if they click share on my website, they will go to the Facebook login page before they can share it. I'm guessing most people don't bother.
How to get the 'share' to go to the app which they will almost always be logged into and not open a new tab on the browser? Whilst at the same time not affecting the functionality of the share button on a desktop browser or a mobile device without the app installed? I've looked all though Facebook Developers and I can't find anything.
This is not supported. The root of the problem here is, that you can't check if a specific app is installed or not using the browser. This is a good for privacy and security reasons.
So as of now, no, you can't do this, there is no setting or something that would make the Share Button work in that fashion on a mobile client.
I have an app and a mobile site. I also send emails to my users. I would like the following to happen if my users open these emails on their mobile phones and click on a link:
If a user has installed my app, then launch the app and open the relevant page inside it.
If a user has NOT installed my app, then launch the browser and take him to the relevant page on my mobile site.
I want this to happen seamlessly and automatically. I DON'T want to use the inbuilt android prompt as users end up choosing chrome (since it is the first option shown). How can I do this? Would ideally want solutions for both android & ios.
You can do this with a landing page. Send user to landing page, check platform, then check if they have app installed(if they have registered custom url scheme) if they have then they go to app. Otherwise they go to mobilesite.
See this answer by https://stackoverflow.com/a/29019660/1165581 by Adam
You can NOT prevent the Android prompt which lets the user choose an option. What you can do is, create a link to your mobile site and have your App react to urls containing your domain. So what will happen is:
if a user clicks the link and does NOT have your App installed, he/she will be prompted with the default url handler prompt (only the first time) and then open the mobile site in the prefered browser
if a user clicks the link and DOES have your App installed, he/she will get the same prompt, only your App will be listed there as well next to browser Apps.
Here is an explanation on how to this: Android Respond To URL in Intent
You can use URL Schemes in iOS for your requirement to be full filled. By Using URL Scheme you can do exactly same. Clicking on link will launch your app. Please go through the concept of URL Schemes.
Follow the below referral link:
http://code.tutsplus.com/tutorials/ios-sdk-working-with-url-schemes--mobile-6629
Hope this helps!!