Weibo development encountered a lot of bug summary
I'm having a bug (1): SSO package or SINGN error
This problem arises when I do not fill in the correct package name and MD5 signature in the blog
Need to use the MD5 signature Generator in the official compression pack; Enter your app's package name to get your signature
Bug (2): SSO Login Authorization Code does not go into Class Authlistener OnComplete () method
The reason I came up with this bug is that I didn't join Onactivityresult ()
As follows
/** * This function is called when SSO authorization Activity exits. * * @see {@link Activity#onactivityresult} * /@Override protected void Onactivityresult (int Requestcode, int resultcode, Intent data) { Super.onactivityresult (Requestcode, ResultCode, data); SSO Authorization Callback //IMPORTANT: Activity that initiates SSO login must override Onactivityresult if (mssohandler! = null) { mssohandler.authorize CallBack (Requestcode, ResultCode, data); } }
BUG (3): No permissions added
<uses-permission android:name= "Android.permission.INTERNET"/> <uses-permission android:name= " Android.permission.ACCESS_WIFI_STATE "/> <uses-permission android:name=" android.permission.ACCESS_ Network_state "/> <uses-permission android:name=" Android.permission.WRITE_EXTERNAL_STORAGE "/>
Give yourself a summary: work to sink to the heart, do not impetuous improvisation timely solution