当 Twitter 开始从浏览器重定向回我的应用程序时,浏览器将关闭并产生以下错误:
E/AndroidRuntime(11074): java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.VIEW cat=[android.intent.category.BROWSABLE] dat=twitter-oauth-law://callback?oauth_token=lCW9243XEnyB4wmxw7Mf6iiDn3jBaWUeUaZuv416g&oauth_verifier=V55nJV1Cxk0nZIlsV3n9JfJHZoD575S7gbd23H0L48 cmp=com.barrioofcodes.sad/.Accounts (has extras) } from ProcessRecord{40eeed80 11074:com.android.browser/u0a10026} (pid=11074, uid=10026) not exported from uid 10047
这是我清单上的活动:
<activity
android:name=".Accounts"
android:theme="@android:style/Theme.NoTitleBar"
android:exported="false"
android:label="@string/title_activity_main">
<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="twitter-oauth-law" android:host="callback" />
</intent-filter>
</activity>
我哪里做错了?