a piece of example code for this mobile OS