[android-beginners] Re: : how to store a image in database

2008-10-22 Thread Sudha
I am using apcahe tomcat and loaded some images in the examples folder andI am taking that images only as inputstream thnaks for your suggesion --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Beginners" grou

[android-beginners] Re: : how to store a image in database

2008-10-17 Thread Hugo Veiga
Thanks for replying, I have a few more questions: > InputStream is = ImageUploadManager.getImageFromServer(imageName); In what format does the image comes from the "ImageUploadManager"? > [] bb = (is.toString()).getBytes(); Second, it doesn't seems right to me to use for it seems that you're

[android-beginners] Re: : how to store a image in database

2008-10-17 Thread Sudharani K
My code is like InputStream is = ImageUploadManager.*getImageFromServer*(imageName); * byte*[] bb = (is.toString()).getBytes(); Long returnval = sqlTable.insert(imageName,bb); in the insert method() { ContentValues initialValues = *new* ContentValues(); initialValues.put(*FIELDID*, val); ini

[android-beginners] Re: : how to store a image in database

2008-10-17 Thread Ena
see it http://www.anddev.org/save_image_in_database-t2984.html may it will help u. On Fri, Oct 17, 2008 at 1:28 PM, Hugo Veiga <[EMAIL PROTECTED]> wrote: > > Hi there, can you be more specific about the way you read the image > and then store it into the database? > > Also it would prove quite h

[android-beginners] Re: : how to store a image in database

2008-10-17 Thread Hugo Veiga
Hi there, can you be more specific about the way you read the image and then store it into the database? Also it would prove quite helpfull to have the specific exception you're experiencing. Regards, Hugo Veiga [EMAIL PROTECTED] On Oct 17, 2008, at 5:08 AM, Sudha <[EMAIL PROTECTED]> wrote

[android-beginners] Re: : how to store a image in database

2008-10-16 Thread Sudha
Hi I stored the images in the sqlite as byte[] but when I retrive it and convert to bitmap.decodebytearray it shows skia exception !!! dont know whta to do ? if u could solve it plz reply --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-beginners] Re: : how to store a image in database

2008-10-16 Thread Hugo Veiga
Hi, That depends on the use. But usually you store them as byte[]. Hugo Veiga [EMAIL PROTECTED] On Oct 16, 2008, at 2:25 PM, Imran <[EMAIL PROTECTED]> wrote: > > Hi > > Can any one tell me how to store an image in Database (i.e > SQLite3) > > Thanks in Advance for any Replays...