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