迷茫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
<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