I made a dialog in onCreate(),when I called dialog.show() with JNI in C++,it crashed.
Here’s the code:
`static public void showNameInAndroid(String _strName) {
Log.v("showNameInAndroid", _strName);// It passed.
payDlg.show(); // It crashed.
}`
Minggo has told me that the thread of ccocos2d-x is different from Android thead.But I am a green hand,so I don’t know how to solve it .If you how to solve it,please help me. Thank you very much.