In the use of the Sina SDK, there is this problem, has been thought to be a code problem, but check the Sina SDK demo, found that the code flow is right
Injecting the SDK WebBrowser into the Manifest.xml
<activity android:name= "Com.sina.weibo.sdk.component.WeiboSdkBrowser" android:configchanges= "keyb Oardhidden|orientation "android:exported=" false "android:windowsoftinputmode=" Adjustresize ">< /activity>
The authorization method of the Web is then called in the code
Com.sina.weibo.sdk.auth.AuthInfo AuthInfo = new AuthInfo (this, Constants.app_key, Constants.redirect_url, Constants.scope); Com.sina.weibo.sdk.auth.sso.SsoHandler Ssohandler = new Ssohandle R (Loginweiboactivity.this,authinfo); Ssohandler.authorizeweb (new Authlistener ()); Authlistener is the callback interface of the SDK
Everything is in accordance with the process, but there is the issue of Web Licensing FC, has not found the root of where.
Today in the project engineering of the class library to organize, suddenly found that can not act, out of the wrong. Since I was using a class library reference to the WEBISDK project, I now refer to Weibosdkcore.jar and Weibosdk.jar instead. Eclipse prompts to say that a class under Dex cannot be executed.
So I think, this should be compiled after the class did not get a reasonable update, so I put the bin/under the delete to recompile.
Unexpectedly, eclipse could not compile and re-save the static class and interface->static automatic reference updates.
After modifying all the error prompts, run Android application. The Web authorization was successfully run.
Android Integrated Sina SDK Development, unable to use web authorization, stop running the workaround