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

  1. <activity  
  2.            android:configChanges="orientation|keyboardHidden"  
  3.            android:name=".WeiboActivity"  
  4.            android:screenOrientation="portrait"  
  5.            <span style="color:#ff0000;">android:launchMode="singleInstance"</span>  
  6.            android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >  
  7.            <intent-filter >  
  8.                <action android:name="android.intent.action.VIEW" />  
  9.                <category android:name="android.intent.category.DEFAULT" />  
  10.                <category android:name="android.intent.category.BROWSABLE" />  
  11.                <data android:scheme="myapp" android:host="WeiboActivity"/>  
  12.            </intent-filter>  
  13.        </activity>  

当我点击授权之后老是跳转到weibo的官网登录,登录之后就到了weibo的主页了.悲剧,最后加了android:launchMode="singleInstance"之后就到了回调方法里面了.yes!
posted @ 2012-09-07 22:15  Atlas's blog  阅读(443)  评论(0编辑  收藏  举报