Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void handleMessage(Message msg) {
- int status = msg.getData().getInt("status");
- switch (status) {
- case Status.INITIALISED:
- case Status.SCANNER_POWERED_ON:
- case Status.READY_TO_SCAN:
- case Status.FINGER_DETECTED:
- case Status.RECEIVING_IMAGE:
- case Status.FINGER_LIFTED:
- case Status.SCANNER_POWERED_OFF:
- case Status.SUCCESS:
- case Status.ERROR:
- }
- }
Add Comment
Please, Sign In to add comment