I have created a survey app which is creating dynamic Survey from android.What I want is when user create a survey and submit it by clicking button it create a link and send this link to me through sms or copy that link to my clipboard. and when I click that link it open a specific activity in my application. I know it can happen through deep linking but I want to get the link in sms or copy it in my clipboard.I dont want to get it in Website
Asked
Active
Viewed 138 times
1 Answers
0
you can define intent-filter for your maninifest file with your host
<intent-filter>
<data android:scheme="http" android:host="putyourdo.xyz"/>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.BROWSABLE"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>

Code Kadiya
- 385
- 1
- 14
-
I want the link in my sms not in the web – Umair Iqbal Sep 05 '19 at 06:41
-
Try to put this code with your domain then after you click the url in your sms it will ask to open your app – Code Kadiya Sep 05 '19 at 07:16
-
to get the url do I have to make a Web page or site? – Umair Iqbal Sep 05 '19 at 07:31
-
oh just only you want open app thought URL ? – Code Kadiya Sep 05 '19 at 08:44
-
maybe this link is help to you https://stackoverflow.com/questions/26052512/how-to-open-an-installed-app-from-an-email-url-in-android – Code Kadiya Sep 05 '19 at 08:47
-
yes.Right now I have put it like this in Manifest
-
I didn't published the app yet so I don't have any url for it – Umair Iqbal Sep 05 '19 at 08:52