开发者

Protocol not supported android

开发者 https://www.devze.com 2023-03-30 23:42 出处:网络
Im getting this error when trying to get links to launch my activity from the browser 08-24 16:38:13.877: ERROR/Tab(358): onReceivedError -10 wizi://logout The protocol is not supported.

Im getting this error when trying to get links to launch my activity from the browser

08-24 16:38:13.877: ERROR/Tab(358): onReceivedError -10 wizi://logout The protocol is not supported.

<activity android:name="UrlActivity">

<intent-filter>
<category android:name="android.intent.category.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"/> 
<category android:name="android.intent.category.LAUNCHER"/> 
<data android:scheme="wizi" />

</intent-filter>
</activity>

this error i开发者_Go百科s being thrown before onCreate() is called on UrlActivity,can anybody see what I'm doing wrong?


Are you using HTTPS protocol in any of your links? If so, you need to accept the certificate then. Make sure the protocol identifier is correct in your urls.


Try giving both the scheme and the host -

<data android:scheme="wizi" android:host="logout"/>
0

精彩评论

暂无评论...
验证码 换一张
取 消