Thank you very much for your help.But after changing the query as per
your advice i am still ending up getting the same error..

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 <[email protected]> wrote:
> It's not really 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 [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