In my AndroidManifest.xml I stated the following as an example:
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:screenOrientation="portrait" android:theme="@android:style/Theme.Black.NoTitleBar" android:windowSoftInputMode="adjustResize"> <intent-filter android:label="@string/launcher_name"> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <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="mywebsite.com" /> <data android:scheme="http" /> <data android:path="/.*" /> </intent-filter> </activity> And in the browser :
<a href="intent://mywebsite.com/#Intent;package=my.package.app;scheme=http;end;"/>Click And I only get the application in Google Play, no spear as I hope, that I'll be doing wrong?