A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Other Open Source APIs
Joined: Apr 28, 2012
May 14, 2012 21:17:53
i had stored
in blob format in mysql database.
i like to retrieve the image and to display in android client.
please help me out with tutorial or sample code.
Joined: Dec 06, 2011
May 16, 2012 00:03:58
Try with BitmapFactory object, he has many methods that help create bitmap.
InputStream is; //You need to create inputStream from your stored data in mySql database BitmapFactory bitmap = BitmapFactory.decodeStream(is); //decode raw data to bitmap ?!?
This should help resolve your problem.
I agree. Here's the link:
subject: displaying image?
looking for a creative way to get a string from file.xml
How To Write Some Text in a Horizontal Rule?
thumbnail in jsp
problem with load image file
automatic display of the java list on mouseover an image
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015