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/Photostream/src/com/google/android/photostream/ViewPhotoActivity.java


On Oct 2, 11:59 am, "Jake Maui" <[EMAIL PROTECTED]> wrote:
> 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
> > 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 tosaveeachimageas a file.  If necessary,
> > > you could use adatabaseto storeimagemetadata (depending on the
> > > needs of your application).
>
> > > On Tue, Sep 30, 2008 at 7:02 AM, Nemat <[EMAIL PROTECTED]> wrote:
>
> > > > Hi Frnds.....
>
> > > > I have tosaveanimageindatabase.How can it be possible in
> > > > SDK-1.0??
>
> > > > Thanks in Advance
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to