Welcome to the Treehouse Community
Looking to learn something new?
Help with URL to app
Hi! to everyone, in my app there is a button for open a web page , in this web page I put a button named "back to app" , pressing the button you can go back to the app but I don't know how I try to use this URL : intent://#Intent;package=jam.jmtogo;scheme=myapp;launchFlags=268435456;end; but this URL opens the app on the play store
Someone can help me? please.. Thanks
Harry James14,780 Points
Do you have this category filter in your AndroidManifest.xml file:
<category android:name="android.intent.category.BROWSABLE" />
If you don't have it already, add this and try again. Then, let me know if you have any luck.
Hope it helps :)
yes I'have already added I've try with this code in my AndroidManifest.xml but every time the link redirect me in play store
<intent-filter> <action android:name="android.intent.action.VIEW"/> <category android:name="android.intent.category.DEFAULT"/> <category android:name="android.intent.category.BROWSABLE"/> <data android:scheme="http" android:host="myapp.com" android:path="/view" /> </intent-filter>
thank you for your time :)