Employ Deep Linking in Android

Create a deep link, where a hyperlink on a site will open a particular activity in your Android app. This is perfect if you want to send users to a specific screen in your app, or you wish to display some content in a web perspective, and have the user click a link to go back to your app.

In the data tag, android:scheme=”http”, android:server =”www.plantplaces.com”, and android:pathPrefix=”/colorcapture.shtml”. When concatenated together, they build the link, above.

Source code for this video is freely available on GitHub in https://github.com/discospiff/PlantPlacesMobile26

This video is part of a playlist on Android programming, available here: https://www.youtube.com/watch?v=s7tlm1dcPtc&list=PL73qvSDlAVVjzUmmmAX58t8tyjltTsOHT

Leave a comment

Your email address will not be published. Required fields are marked *