2

I have a json url like such...

[{"Image":"http://xyz.com/abc.png", "Title":"Sample"},{"Image":"http://xyz.com/def.png", "Title":"Sample2"}

]

What i want to achieve is to get the image from json url and display it into a list. Beside it there must be title. There will be number of such objects so they must be in a list form. I couldnt understand how to get started. Any suggestions with sample code will be of great help... Thanks...

1 Answer 1

1

you need to parse the json response you have obtained. fetch the image url from them these urls are just the link

establish an http connection to this url and fetch the image the response of this connection will send image in bytes convert it to bitmap or encoded image and display

remember to process server requests in form of queue if there exists many urls fro many images

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.