我正在Twitter應用程序中,我打開瀏覽器的用戶認證和我發起認證瀏覽器Android的回調URL調用的OnCreate
問題是驗證它再次調用的OnCreate Twitter分享類之後,而不是調用onNewIntent方法時傳遞call_back網址, 這是爲什麼 ?我的另一個班級工作正常,我無法找到差異任何想法通過查看下面的ocde爲什麼它再次調用oncreate?
<activity android:name=".TwitterShare"
launchMode="singleInstance">
<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="myapp" android:host="oauth1" />
</intent-filter>
</activity>
@Override
protected void onNewIntent(Intent intent) {
super.onNewIntent(intent);
}