I have been trying to load images which are in database(on local phone) .JSON talks to java and gets the byte array which i am encoding as 64 bit data and returns a string array .
Now i am trying to parse the json data. I see the array but how do i read it or set it image tag in html . All answers are appreciated
I have been trying to load images which are in database(on local phone) .JSON
Share
Use the
data://URI scheme.For example, if the base64-encoded data is:
then you’d drop that data into an image’s
srcattribute like so:which draws this image: