模仿了Weibo应用里授权后回调应用内Activity的方式我的工程里有两个Activity,
第一个Activity里有个textview设置了Html字符串.setText(Html.fromHtml("<html>ccccccc<a href=\"aaa://bbb\">ccc</a></html>"));在AndroidManifest中设置了Activity2的<intent-filter >
<action android:name="android.intent.action.View" />/// 这两个category 我去掉、加上都没有起作用
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/><data android:scheme="aaa" android:host="bbb"/>
</intent-filter>点击后出错提示:
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=aaa:bbb (has extras) }非常不解,往高手解答。