oauth点击授权之后,不Callback到指定url
- <activity
- android:configChanges="orientation|keyboardHidden"
- android:name=".WeiboActivity"
- android:screenOrientation="portrait"
- <span style="color:#ff0000;">android:launchMode="singleInstance"</span>
- 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!
---------------------------------------------------------------------------------------------------------------------------------
copyright:http://www.cnblogs.com/anee/