Advertisement
Guest User

Untitled

a guest
Dec 21st, 2014
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. //Activityを取得
  2. Activity actitivy = (Activity)org.cocos2dx.cpp.AppActivity.getContext();
  3. {
  4. //UIスレッドで処理
  5. actitivy.runOnUiThread(new Runnable() {
  6. @Override
  7. public void run(){
  8. Log.d("xxx class" , "test");
  9.  
  10. //ここで処理
  11. }
  12. });
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement