Reputation: 931
I've a social networking app for android in which i can view list friends after fetching from java server +mySql database, actually i have done with loading all information from Java Servlets to android client but i'm unable to load images which are stored as blob in mysql on the server side database.
I tried to send blob objects to android client as strings and then tried to convert them in bitmap at the android client side. but I could not do what i wanted.. :(
Can anyone suggest me how to do it?
Upvotes: 0
Views: 1331
Reputation: 12142
I think a viable solution is to put a simple blob servlet capable to send a image/your_image_format
response via HTTP. This way you can easily download/decode the Bitmap
in your Android client from the servlet response, then set it as your ImageVIew
source.
Upvotes: 1