title: View cloudinary images/vid through android app
body: <p>I have looked in so many places on a lead on how or if it is possible to view images uploaded to cloudinary, by a specific tag through Android studio app i am trying to build.</p>
  
  <p>I was able to implement the upload option by user, with adding a tag to the images, and public id, also retrieving these information, but i cant find anything on how to view these images, for example i want the app to be able to view all images with a specific tag ( username ) to the user that uploaded the pictures, and could delete them ? and also view other images uploaded by other user with no other permission.</p>
  
  <p>Is it possible and how !?   </p>
  
  <p>I ended up with this code, and i encountered a problem;</p>
  
  <pre><code>             @Override
          public void onClick(View v) {
  
              new JsonTask().execute("http://res.cloudinary.com/cloudNAme/video/list/xxxxxxxxxxxxxxxxxxx.json");
             // uploadExtract();
          }
      });
  
   public class JsonTask extends AsyncTask&lt;String ,String,String&gt; {
  
      @Override
      protected String doInBackground(String... params) {
          HttpURLConnection connection = null;
          BufferedReader reader = null;
          try {
              URL url = new URL(params[0]);
              connection = (HttpURLConnection) url.openConnection();
              connection.connect();
  
              InputStream stream = connection.getInputStream();
              reader = new BufferedReader(new InputStreamReader(stream));
  
              StringBuffer buffer = new StringBuffer();
  
              String line = "";
              while ((line = reader.readLine()) != null) {
                  buffer.append(line);
              }
              return buffer.toString();
  
  
          } catch (MalformedURLException e) {
              e.printStackTrace();
          } catch (IOException e) {
              e.printStackTrace();
          } finally {
              if (connection != null) {
                  connection.disconnect();
  
  
              }
              try {
                  if (reader != null) {
                      reader.close();
  
                  }
              } catch (IOException e) {
                  e.printStackTrace();
  
              }
          }
          return null;
      }
  </code></pre>
  
  <p>In the log i get the following;</p>
  
  <p>03-28 12:36:14.726 20333-21459/net.we4x4.we4x4 W/System.err: java.io.FileNotFoundException: <a href="http://res.cloudinary.com/we4x4/video/list/3c42f867-8c3a-423b-89e8-3fb777ab76f8.json" rel="nofollow">http://res.cloudinary.com/we4x4/video/list/3c42f867-8c3a-423b-89e8-3fb777ab76f8.json</a></p>
  
  <p>i am not sure if my understanding is correct of the method or i am doing something wrong ? since in the Admin API Docs. or cloudinary the syntax for the HTML request and also in the suggested page by Nadav:</p>
  
  <p><a href="https://support.cloudinary.com/hc/en-us/articles/203189031-How-to-retrieve-a-list-of-all-resources-sharing-the-same-tag-" rel="nofollow">https://support.cloudinary.com/hc/en-us/articles/203189031-How-to-retrieve-a-list-of-all-resources-sharing-the-same-tag-</a></p>
  
  <p>this should've returned a JSON ?</p>