With Tea Vui Huang's freeware (Java MIDP) DNG Phone Camera you can capture photos directly to the DNG (Adobe Digital Negative) RAW image format. Resolution is limited to VGA, but if it is sufficient (e.g. for web use) DNG format may deliver you much better quality than the default JPEG as all postprocessing (e.g. sharpening, white balance adjustment, exposure, final compression) takes place on PC in DNG format compatible software.