<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<!-- Accepts URIs that begin with "myscheme://" -->
<data android:scheme="myscheme" />
<data android:pathPattern="/.*"></data>
</intent-filter>
</activity>
I have added the above code in the manifest.xml
and am trying to open myscheme
from the emulator's browser.
What am I doing wrong?