[android-developers] Re: save image in Database

2008-10-02 Thread Joe Erickson
I handled this by saving the image to the ContentProvider android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI and then saving the created URI to the database along with my item. An example of how to do this can be found here: http://code.google.com/p/apps-for-android/source/browse/trunk

[android-developers] Re: save image in Database

2008-10-02 Thread Jake Maui
Try smaller files. I've been able to read/write to my sdcard but have run into a 250 K limit. The emulator gives me an EOF -1 for bigger files for some reason. On Thu, Oct 2, 2008 at 10:28 AM, Nemat <[EMAIL PROTECTED]> wrote: > > ok.I have tried to save image in a file.But I couldnt do

[android-developers] Re: save image in Database

2008-10-02 Thread Nemat
ok.I have tried to save image in a file.But I couldnt do that.I have to do it for SDK-1.0. So plz give me any link to work on file connection. On Oct 2, 6:41 am, "Andrew Stadler" <[EMAIL PROTECTED]> wrote: > Are you sure that you really want to do this? > > It might make more sense tosave

[android-developers] Re: save image in Database

2008-10-01 Thread Andrew Stadler
Are you sure that you really want to do this? It might make more sense to save each image as a file. If necessary, you could use a database to store image metadata (depending on the needs of your application). On Tue, Sep 30, 2008 at 7:02 AM, Nemat <[EMAIL PROTECTED]> wrote: > > Hi Frnds.