Update Library and Sample

Fixed getPhotoBitmap method and update a new sample