Android controller code for Prototype 1