Openning an App on click of link in email in android?

Posted by Amit on Stack Overflow See other posts from Stack Overflow or by Amit
Published on 2012-11-12T04:57:46Z Indexed on 2012/11/12 4:59 UTC
Read the original article Hit count: 201

Filed under:
|

I have a strange requirement for my project..

Suppose I have an app say XYZ installed in an android phone and than I receive an email from the mail server which contains a link like http://XYZ.com/?params(i.e. X=1&Y=2&Z=3) now on click of this link I want to open the XYZ app if it is installed in the phone and in the Activity I would like to get these parameters X,Y and Z and if the app is not installed user should be redirected to play store for downloading XYZ app and after installation app takes charge and behaves as if it was already installed (Opening the first activity with those parameters).

How can I achieve that ? I have no idea where to start so even the smallest pointer in right direction will be of great help.

© Stack Overflow or respective owner

Related posts about android

Related posts about android-intent