title: can i get image file width and height from uri in android?
body: <p>i can getting the image width through <code>MediaStore.Images.Media</code> normally</p>
  
  <p>but i need to getting the image width and height from image which selected from dropbox</p>
  
  <p>so currently i have following method to getting image size from dropbox</p>
  
  <pre><code>private void getDropboxIMGSize(Uri uri){
      String size = Long.toString(new File(uri.getPath()).length());
      return size;
  }
  </code></pre>
  
  <p>but what i actually need are getting the file width and height value</p>
  
  <p>anyone know how to achieve that?please help!</p>