zoukankan      html  css  js  c++  java
  • 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!

    ---------------------------------------------------------------------------------------------------------------------------------
    copyright:http://www.cnblogs.com/anee/
  • 相关阅读:
    图表插件echars的使用案例
    安装Eclipse
    ef 更新数据库
    webapi Route 特性
    WebSite下创建webapi
    C# 泛型约束
    Session共享
    ubuntu eclipse 无法打开
    C# TreeView 连续点击 不触发AfterCheck事件
    ef 仓储模式 Redis
  • 原文地址:https://www.cnblogs.com/anee/p/2675780.html
Copyright © 2011-2022 走看看