Android code for HCA Tablet app