Skip to content Skip to sidebar Skip to footer

Launch Android Application From Browser

I have a little problem. I have an Android Activity, and I want to run it from one link on the browser. This is what how I have declared my Activity on the Manifest file:

Solution 1:

Try this one, using HTTP instead of your own schema:

<intent-filter><actionandroid:name="android.intent.action.VIEW" /><categoryandroid:name="android.intent.category.DEFAULT" /><categoryandroid:name="android.intent.category.BROWSABLE" /><dataandroid:host="com.wul4.wul4"android:scheme="http:" /></intent-filter>

When a link with this domain is clicked in an Android device, the user is presented with a dialog to choose between your App (if installed) or the Browser.

Post a Comment for "Launch Android Application From Browser"