With iPhone you can display different content for the same URL depending on whether the page is visited in normal Safari or via a home screen icon for that webpage. If the page is visited in Safari then you typically display the instructions for downloading the app. And if the page is visited via the home screen icon then you display the app.
I currently have all this setup for a client. When the URL is visited by a non-iOS device, then the app is always shown(i.e. instructions are never shown like with iOS if visited in Safari).
My question is, on Android is there any way I can detect if the page is launching via a home screen icon or not so that I can display instructions or the app like on iPhone? If not, what's the best alternative?