You can simply use web browsing to directly view your image remotely. You no longer need to save the image in a file. Here is an example code snippet.
myWebView.getSettings().setBuiltInZoomControls(true); //to get zoom functionalities String url = "http://....."; //url of your image String x= "<html><head><meta name=\"viewport\" content=\"width=device-width, minimum-scale=1.0\"/><style type=\"text/css\">html, body {margin: 0;padding: 0;} img {border: none;}</style><head><body style=\"background: black;\"><table><tr><td align=\"center\"><img src=\"" + url + "\" /></td></tr></table></body></html>"; myWebView.loadData(x, "text/html", "UTF-8");
About switching images, you can simply change the value of the URL and call loadData of the web view again.
capecrawler
source share