Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
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 :)