How Can I Display This Json Image
I have been trying several ways of displaying my json images but my solutions never succeded. I have parsed my json and I'm getting the response. However included the respose is an
Solution 1:
Try that my friend :) Parse your json and take the URL and then put them us URL in the method https://asantoso.wordpress.com/2008/03/07/download-and-view-image-from-the-web/
Solution 2:
The jSON doesn't actually contain the images, it contains links to the image. If you feed those URLs into a WebView or Browser, you will see the images.
try this:
String x = <URL of image, pulled out of JSON object>
Webview wv = new WebView(this);
wv.loadURL(x);
this will draw the image into the webview. You can define your webview in xml or programatically as I did above.
Post a Comment for "How Can I Display This Json Image"