For Htc incredible--------------------Saving Image to Internal Memory


Internal memory path:              content://media/phoneStorage/images/media/


To Save Data to This

use



  ContentValues contentValues = new ContentValues(3);
contentValues.put(Media.DISPLAY_NAME, "This is a test title");
contentValues.put(Media.DESCRIPTION, "This is a test description");
contentValues.put(Media.MIME_TYPE, "image/jpeg");
Uri imageFileUri = getContentResolver().insert(Media.getContentUri("phoneStorage"),contentValues);
try {
OutputStream imageFileOS = getContentResolver().openOutputStream(imageFileUri);
imageFileOS.write(byteArray);
imageFileOS.flush();
imageFileOS.close();
} catch (FileNotFoundException e) {
} catch (IOException e) {
}





To Get the Previous State of Memory

Uri imageFileUri = getContentResolver().insert(Media.getContentUri("phoneStorage"),new ContentValues());



Genearl Internal Memory Path

Uri imageFileUri = getContentResolver().insert(Media.EXTERNAL_CONTENT_URI,new ContentValues());