注意:调用callLuaGlobalFunction必须在activity加载完成后。监听activity加载完成后的方法为
@Override
public void onWindowFocusChanged(boolean hasFocus) {
super.onWindowFocusChanged(hasFocus);
if(hasFocus){
this.runOnGLThread(new Runnable() {
@Override
public void run() {
}
});
}
}