Ok, so I know there has to be more to it than this. I've read many answers on here that all say the same thing but it's not working for me. I want to be able to open an Android app using a link with a custom URL scheme from the browser. First, I am using the emulator (actually Genymotion) so I don't know if that has anything to do with it. The answers I see keep saying that all I need is something similiar to this:
<intent-filter>
<data android:scheme="myapp" android:host="hello"/>
<action android:name="ANDROID.INTENT.ACTION.VIEW"/>
<category android:name="ANDROID.INTENT.CATEGORY.BROWSABLE"/>
<category android:name="ANDROID.INTENT.CATEGORY.DEFAULT"/>
</intent-filter>
I put this on a new blank activity, not the main activity.
If I understand correctly, any URL starting with myapp://hello
will open the activity with that intent filter. However, no matter what I try, I keep getting an ERR_UNKNOWN_URL_SCHEME in the browser. This is the stock Android browser as I can't put Chrome on Genymotion (at least not with the free version). Is this something that requires Chrome? Is it something that can only be done on an actual device? Is there something that I am doing wrong?