One, QQ and Qzone share callback failed
At first, I follow the official instructions to configure, all can be callback, later version of the update after the inexplicable callback does not come back, so I went to find the QQ and Qzone related issues, found that it is a few years to mention, said the callback is unsuccessful.
Later, carefully to compare the version of the changes to update the contents of the original Androidmanifest.xml file is found in the exported attribute.
if the service, etc. Androidmanifest declared as android:exported= "false"
The service cannot be used across processes.
Permission denied!
Need to change to:android:exported= "true"
Therefore, if you find yourself behaving in accordance with the official documentation, there are still problems, so please check your configuration file. If there is a supplement, please reply in time, thank you!
Second, we also give you to share the module's callback function as long as the point of sending, whether or not to share the success will be callback to share the completed OnComplete (Object response) function.
The official case is this, adding Intent in protected void onactivityresult (int requestcode, int resultcode, tencent.onactivityresult data) functions (Requestcode, ResultCode, data); This is incomplete and requires conditional judgment .
//QQ and Qzone share callback
if (Requestcode = = Constants.request_qq_share | | requestcode = = constants.request_qzone_share) {
Mtencent.onactivityresult (Requestcode, ResultCode, data);
}
This article is from the "Vivian Son" blog, please be sure to keep this source http://9550674.blog.51cto.com/9540674/1831711
QQ and Qzone share callback failures and successful multiple issues for sharing successful callbacks