Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Activityを取得
- Activity actitivy = (Activity)org.cocos2dx.cpp.AppActivity.getContext();
- {
- //UIスレッドで処理
- actitivy.runOnUiThread(new Runnable() {
- @Override
- public void run(){
- Log.d("xxx class" , "test");
- //ここで処理
- }
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement