Launching my android app from Whatsapp - android

what I am trying to do is, implement a functionality where a user send a message to one of his/her contacts in whatsapp and by clicking that message (it could have a link or something), the receiver of the message should come to my app or if the app is not installed, it should go to the link of my app in Play Store.
How can this be done?

My only idea is to add an intent filter, that starts your app if the device opens a special URL (for example www.your-project.com).
Have a look on this website:
http://developer.android.com/training/basics/intents/filters.html
If the user has your app installed, a click on the link will open your app. Otherwise the link will be opened by your default browser.

Related

How do i get deep link after user install the app through firebase dynamic link and opens the app on app drawer?

i'm using firebase dynamic links to invite friends to my app. Everything works great. Clicking the invitation link leads me to the playstore. When i install the app and wait until its done the playstore shows me the button "Continue".
When i click this button, the app opens and i receive the deeplink to track the invitation.
But when i install the app, close the playstore and open the app through the app drawer i'm NOT receiving the deeplink.
Is this an expected behavior?
My problem is, that i'm looking for the invitation link only on first app start. so when the user installs my app through an invitation link but don't open it with the playstore continue button, the invitation never gets tracked.
Thank you for your help.

How to open my android app when a user clicks a link in facebook or some app and display that link in my android app?

I've already added intent filters in the manifest that will open the app when a link is clicked. When I tap a link a chooser shows my app along a browser. It works fine but I wan't to get the link that tapped before my app is launched. Extra messages in the intent doesn't seem to contain them.
You have need to use other third party services to achieve this functionality on your app.
have a look in http://mobiledeeplinking.org/

Opening android app from a link, Intent is missing the link information

I've mapped my Android app to a domain by following this page. https://developer.android.com/training/app-links/index.html
If my app is not running, it works great. When I switch from the running app to an email with the link embedded in it. Clicking the link has the app just resume where it left off. So the Intent doesn't actually have the URL that reopened the app.
Anyone have any thoughts?

Facebook Deep linking for android app

I have a application and i have facebook page for the same.now whenever a user clicks on Use app(call to action) button on android device whether it is facebook android app or user is logged in from browser I need to open my app installed in user's phone.
I have searched so much but came across some old posts as facebook has introduces applinks.org meanwhile.
So I am not getting how to do this thing.
When you're setting up the Call To Action button on your page, you need to select App:
Then you will fill in a URL using your app's custom URL scheme in the Deep Link box (that's what actually launches your app on the visitor's device), and the package name of your app in the Package Name box (I believe Google uses this for verification purposes).
If you haven't set up a custom URL scheme yet, this Facebook docs page explains how. That will take care of opening the app (myApp://), but if you're wanting to go to a specific piece of content (myApp://path/to/content), then you also need to follow these directions.

How can I smartly redirect users who click on an email link, to my app or my mobile site?

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!!

Categories

Resources