posted by 네코냥이 2014. 10. 23. 14:02




// Get a handler that can be used to post to the main thread
Handler mainHandler = new Handler(context.getMainLooper());

Runnable myRunnable = new Runnable(...); // This is your code
mainHandler.post(myRunnable);


'JAVA > Android' 카테고리의 다른 글

App Widgets 에서 사용할 수 있는 레이아웃  (0) 2014.11.18
[SQLite] concat, append String text  (0) 2014.11.03
[Android] Dialog 배경 클릭시 종료  (0) 2014.10.17
Activity 사이즈 동적 조절.  (0) 2014.10.06
SQLite 내장함수  (0) 2014.09.16