Camera API demo from PhoneGap documentation