I tried the below link but getting the proper way of how to do this.
1st link, 2nd link, 3rd link, 4th link, 5th link
By these above links i only get to know that how can we get the data from the custom link.
Here is my code.
//get uri data
Uri data = getIntent().getData();
//get schma
String scheme = data.getScheme(); // "http"
//get server name
String host = data.getHost(); // Ipaddress or domain name
//get parameter
String urltextboxname=data.getQueryParameter("name");
//set value in textview
name.setText(urltextboxname);
BUT My problem is that i want to create the custom link or deep linking on button click like I want to pass my UNIQUE ID in the link. and send it to other user by SMS or by EMAIL. And , when the user click on the link from SMS or EMAIL then user should navigate to the GOOGLE PLAY store , and install the application with my data on it. like the referral program application. Please help me to short out from these problem , pardon me if there any grammatical mistake on it.