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
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
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
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
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
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
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...
7 matches
Mail list logo