Capturing an image from a mobile device's camera