Code example for Handler

Methods: sendEmptyMessage

0
    } 
 
    /** MOUSE */ 
 
    public void mouseDown() { 
        mEventSenderHandler.sendEmptyMessage(MSG_MOUSE_DOWN);
    } 
 
    public void mouseUp() { 
        mEventSenderHandler.sendEmptyMessage(MSG_MOUSE_UP);
    } 
 
    public void mouseClick() { 
        mEventSenderHandler.sendEmptyMessage(MSG_MOUSE_CLICK);
    } 
 
    public void mouseMoveTo(int x, int y) {
        mEventSenderHandler.obtainMessage(MSG_MOUSE_MOVE_TO, x, y).sendToTarget();
    } 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE