Sample phonegap application using HTML5 canvas and device camera