Android Attendance code