And-Rider,

Even I am facing same problem,am trying to load the image using
webview which is throwing this error:
" xxxxxxxxxxx jpeg error 53 Not a JPEG file: starts with 0x%02x 0x
%02x"

Can you please let me know how did you solve this.


On Feb 27, 11:59 pm, And-Rider <rahulregunat...@gmail.com> wrote:
> Thank you very much for your help.But after changing the query as per
> your advice i am still ending up getting the sameerror..
>
> Is the way i use to convert images as byte the correct way or is there
> any better way to store retrieve the images...?
>
> On Feb 27, 10:06 pm, Nathan <nathancass...@gmail.com> wrote:
>
> > It'snotreally the recommended way to store images but the following
> > code has worked for me.
>
> > db.execSQL("UPDATE " + TABLE_NAME + " SET image = ? WHERE id = ?", new
> > Object[] { image_bytes, id } );
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to