I'm having trouble starting my app from a URL using intent-filters. I have checked Android app not opening from URL using intent-filter and Open Android app from URL using intent-filter not working and even some more without making it work.
Do I have to do something special in the activity?
This is the activity I'm trying to start when browsing everything under http://www.speedle.se
<activity
android:name=".activity.LoginActivity"
android:label="@string/title_activity_login"
android:screenOrientation="portrait">
<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="www.speedle.se"
android:pathPattern=".*"
android:scheme="http" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Regards and thanks Mattias