PhoneGap example - Events app