oauth点击授权之后,不Callback到指定url

 <activity
            android:configChanges="orientation|keyboardHidden"
            android:name=".WeiboActivity"
            android:screenOrientation="portrait"
            android:launchMode="singleInstance"
            android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
            <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="WeiboActivity"/>
            </intent-filter>
        </activity>

当我点击授权之后老是跳转到weibo的官网登录,登录之后就到了weibo的主页了.悲剧,最后加了 android:launchMode="singleInstance"之后就到了回调方法里面了.yes!

你可能感兴趣的:(oauth点击授权之后,不Callback到指定url)