Я реализовал код для схемы URL, как показано ниже в manifest.xml. этот код не работает ни для одного браузера.
<activity
android:name=".Event"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.Black.NoTitleBar"
android:windowSoftInputMode="adjustPan|stateAlwaysVisible" >
<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:scheme="http" android:host="xyz" />
</intent-filter>
</activity>
Приведенный ниже код работает только для браузера по умолчанию.
<activity
android:name=".Event"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.Black.NoTitleBar"
android:windowSoftInputMode="adjustPan|stateAlwaysVisible" >
<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:scheme="xyz" />
</intent-filter>
</activity>
поэтому, пожалуйста, дайте мне решение для работы пользовательской схемы URL с любым браузером или что мне нужно изменить в приведенном выше коде для этой проблемы.