[android-developers] Re: When save image, how to specify image name?

2009-03-29 Thread Ren
Can anyone help? I just need a simple example on how to save image while being able to specify the file name. Cheers, Ren On Sat, Mar 28, 2009 at 9:59 PM, Ren wrote: > I tried > values.put(MediaStore.Images.ImageColumns.TITLE, "newpic.jpg"); > values.put(MediaStore.Images.ImageColumns.MIME_TYPE

[android-developers] Re: When save image, how to specify image name?

2009-03-28 Thread Ren
I tried values.put(MediaStore.Images.ImageColumns.TITLE, "newpic.jpg"); values.put(MediaStore.Images.ImageColumns.MIME_TYPE, "image/jpeg"); It didn't work. On Fri, Mar 27, 2009 at 6:46 PM, for android wrote: > > did u try TITLE > On 3/27/09, rens...@gmail.com wrote: > > > > Can any one help on

[android-developers] Re: When save image, how to specify image name?

2009-03-27 Thread for android
did u try TITLE On 3/27/09, rens...@gmail.com wrote: > > Can any one help on this? > > On Mar 26, 6:20 pm, Ren wrote: >> I have the following code to save a bitmap to a jpg file. It works except >> I >> couldn't specify the file name. >> >> The image file is save in /sdcard/dcim/Camera. How do I

[android-developers] Re: When save image, how to specify image name?

2009-03-27 Thread renshao
Can any one help on this? On Mar 26, 6:20 pm, Ren wrote: > I have the following code to save a bitmap to a jpg file. It works except I > couldn't specify the file name. > > The image file is save in /sdcard/dcim/Camera. How do I specify a file name, > or even the saved path? > > Cheers > > Conte