2012-11-15 2 views
0

트위터의 OAuth 권한 거부 오류 리디렉션 :트위터 다시 브라우저에서 내 응용 프로그램을 재 시작하면, 브라우저를 닫고 아래 오류가 발생합니다

<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> 
:

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 

여기 내 매니페스트의 활동입니다

어디서 잘못 되었나요?

android:exported="true" 

android:exported="false" 

에서

답변

0

변경 브라우저 외부 응용 프로그램이되면, 그것은 당신의 활동에 액세스 할 수있는 권한이 없습니다.

관련 문제