I\'m able to get the height and width of an image. But is there a method to retrieve the size (in bytes or kb or mb) for an image stored in the phone?
File file = new File("/sdcard/imageName.jpeg"); long length = file.length(); length = length/1024; System.out.println("File Path : " + file.getPath() + ", File size : " + length +" KB");