I created a custom schema for my application by adding this to my activity in the android manifest:
<activity android:name=".TabHostActivity" android:label="@string/app_name" android:configChanges="orientation|keyboardHidden"> <intent-filter> <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.action.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.LAUNCHER" /> <data android:scheme="myscheme" /> </intent-filter> </activity>
When I write "myscheme: //", in the Android browser, it opens my application (on some devices). The problem is that this does not work on the Samsung and Xperia galaxies. It searches only myscheme: // on google.
Does anyone know what's wrong here?
Any help would be appreciated :)
source share