private void sendComplete(int status) { Bundle rtn = new Bundle(); rtn.putInt("status", status); Message msg = new Message(); msg.what = 0; msg.obj = mContext; msg.setData(rtn); ComicLibrary.EventHandler.sendMessageDelayed(msg, 200); } // func
/*======================================================== Send thread safe messages*/ private void sendProgress(String txt) { Bundle rtn = new Bundle(); rtn.putString("msg", txt); Message msg = new Message(); msg.what = 1; msg.obj = mContext; msg.setData(rtn); ComicLibrary.EventHandler.sendMessage(msg); } // func