
Applying Amazon’s Textract in E-Commerce applications – A game changer
Introduction In E-commerce applications, one of the ways of placing the order is through email communication. Order is placed by sending email with a document
Consider an example. There is a science text book and the same publishers also have an Android app that has all the related information and much more. In a particular chapter of the book, there is a QR code. When this QR code is scanned, it should open the app and take the user to the related content on the app.
Another example is that of an app vendor who has a website to promote the app. In the Google search results when someone searches for a relevant keyword and comes to the website, easy access has to be given to the relevant content in the app. So, let us say the user clicks on a link in the mobile or scans a QR code on the website and has to be taken to some specific page in the app.
We can make use of the Dynamic Links feature to achieve this.
With Dynamic Links, you can seamlessly transition users from your mobile website to the equivalent content within your app. And because the links survive the app install process, even new users can pick up where they left off on your mobile site without skipping a beat.
Deep links let you redirect users to a specific destination inside your app which provides a better user experience.
A deep link is a URL that navigates to a specific destination in your app. When you click on a deep link, in Android:
To add a deep link & use of this feature we have to add dynamic link support to the app.
You may want to check out the this blog to add dynamic link support to the app and the setup process.
If you are done with setup, add intent filters in the Android manifest file
You must add a new intent filter to the activity that handles deep links for your app.
The intent filter is required for your app to receive the Dynamic Link data after it is installed/updated from the Play Store and one taps on ‘Continue’ button. The intent filter catches deep links of your domain, since the Dynamic Link will redirect to your domain if your app is installed.
When users open a Dynamic Link with a deep link to the scheme and host you specify, your app will start the activity with this intent filter to handle the link.
To receive the deep link, call the getDynamicLink() method:
You must call getDynamicLink() in every activity that might be launched by the link, even though the link might be available from the intent using getIntent().getData(). Calling getDynamicLink() retrieves the link and clears that data so it is only processed once by your app.
You normally call getDynamicLink() in the main activity as well as any activities launched by intent filters that match the link.
Consider this deep link URL as example.
https://aksharaontech.com?courseid=1234&chapterid=21&subchapterid=12&contenttype=questionbank&contentid=10258cef
Here in the above deep link url we are passing host and required parameters separated with ampersand to access a particular content directly without being following the normal app flow.
We will parse the host-aksharaontech.com and different parameters which we can use to do appropriate action (In this case we can use courseid, chapterid, subchapterid, contenttype and contentid and open the particular content on launch of the app) in side the app.
After accessing the deep link URL (created earlier while creating dynamic links using firebase console) on launch of app you can parse the URL so you can get your required parameters from it and can use your own execution to open the linked content.
An example of accessing linked content directly by launching the app. Here we have generated a QR code of the dynamic link. By scanning QR code we will launch the app and on the launch it will redirect to the linked content.
Click here to find out how Techpearl can build the best Mobile apps for you.
Introduction In E-commerce applications, one of the ways of placing the order is through email communication. Order is placed by sending email with a document
Introduction Exploratory testing is an approach to software testing defined as simultaneous learning, test design and test execution. The term “Exploratory testing” was first coined
Introduction With Twitter Cards, you can attach rich photos, videos and media experiences to Tweets, helping to drive traffic to your website. Simply add a
Copyrights © 2020 All Rights Reserved by Techpearl Software Pvt Ltd.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |