• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Launch my android app from url

Hi, i have created an android app and installed into my mobile. I want to use a browser to launch my app by using an URL.

I had tried by adding the below code into AndroidManifest.xml. When I use app://myhost.com, it doesn't open
the app with chrome browser. With firefox browser, it opens up on top of the browser instead of opening a separate stand alone application.

<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:host="myhost.com"
android:scheme="app" />
</intent-filter>

My mobile OS : Android 6.0

Help me to open an app from URL.

Thanks.
 
Last edited:
Back
Top Bottom