search

Home  >  Q&A  >  body text

android - 微信 OAuth2.0 获得 SendAuth的Resp返回数据

天蓬老师天蓬老师2823 days ago1123

reply all(2)I'll reply

  • 迷茫

    迷茫2017-04-17 12:05:33

    Create a new wxapi directory under the package name, and create a WXEntryActivity Activity in wxapi with the same name.

    Assuming the package name is xxx.xxx.xxx, then it is

    xxx.xxx.xxx.wxapi.WXEntryActivity.java
    Also declare

    in AndroidManifest.xml
     <activity
            android:name=".wxapi.WXEntryActivity"
            android:exported="true"
            android:label="@string/title_activity_wxentry"
            android:screenOrientation="portrait"
            android:theme="@android:style/Theme.NoDisplay" > 这行加上之后可以屏蔽掉闪动的情况,一定要加上哦,不用谢。
    

    Just implement that interface

    For details, please see http://seanchense.github.io/blog/android_use_wechat_oauth.html

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 12:05:33

    LZ, have you finished logging in with WeChat? ? ?

    reply
    0
  • Cancelreply