Issue
I am using this piece of code to launch my app from a link.
<activity
android:name="com.example.myApp.myClass"
android:label="@string/app_name" >
<intent-filter>
<data
android:host="customHostName"
android:scheme="customScheme" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
This is href link, i want to get the key in the end.
customScheme://customHost/49FYTJTF00
It is working fine on all previous versions of android, but is not working on Lollipop.
When I click the link it only shows the list of browsers to launch.
What should I do?
Solution
Please use pathprefix.
android:pathPrefix="/"
It might solve your problem. Please follow android developer guide URL.
Answered By - Ahmad Arslan
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.