Unity project to access the Xiaomi SDK, download the SDK, and then the Android project in Xinjiang, according to the document access completed. At run time, incredibly error call to OpenGL ES API with no current context (logged once per thread), a face.
After finding the information, we found that the Xiaomi SDK does not require us to create activity, so we directly use the current activity that unity itself is using, just be aware that it must be called using Runonuithread, otherwise it may not be possible to invoke.
The following link to access the Xiaomi SDK access:
http://blog.csdn.net/tianmao111/article/details/50353265
Article said migamecentersdkservice.apk this put in Streamingassets under any folder, after trying to find unable to pull up the installation migamecentersdkservice.apk interface, and then put the apk in plugins The/android/assets folder is now available.
Unity Access Xiaomi SDK considerations