收藏
回答

安卓app有两个微信APPID,回调中如何申明IWXAPI?

安卓app中有两个appid,如何在IWXAPIEventHandler回调中申明WXAPIFactory.createWXAPI(this, ConstantsApi.APPID),是要申明两个IWXAPI?


api1 = WXAPIFactory.createWXAPI(this, ConstantsApi.APPIDBAOFU);
api1.registerApp(ConstantsApi.APPIDBAOFU);
api1.handleIntent(getIntent(), this);

api2 = WXAPIFactory.createWXAPI(this, ConstantsApi.APPIDBAOFU);
api2.registerApp(ConstantsApi.APPIDBAOFU);
api2.handleIntent(getIntent(), this);

ConstantsApi.APPID)

回答关注问题邀请回答
收藏
登录 后发表内容