Starting with the example from phonegap for android apps.