Android custom url from browser address bar not working

I have implemented a custom Android URl schema and it works great when I submit a link that I want to open as mail and then click on it.

It doesn't work when I type the same address into the address bar of my mobile browser, which in turn gives a page not found error. This is my filter design for the same -

 <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="myappname.com"/>
 </intent-filter>

      

Is there anything else I need to point to to create http://myappname.com if I type it into a web browser. Is it so some phones / browsers don't support this behavior? Or is it not possible at all?

Any help would be appreciated. Thank you in advance.

+3


source to share





All Articles