RemoteService(別プロセス)
catch (ConnectException c) {
TweetViewActivity.h.sendEmptyMessage(0);
}
TweetViewActivity
static public Handler h;
class LooperThread extends Thread {
public Handler mHandler;
public void run() {
Looper.prepare();
h = new Handler(new Handler.Callback() {
@Override
public boolean handleMessage(Message msg) {
Log.e("TAG", "handleMessage");
return true;
}
});
Looper.loop();
}
}
このコードは制御できないのですか?
Log.e("TAG", "handleMessage");