title: How can I check if a video/image file is valid in Android
body: <p>How can I check if a video/image file is valid in Android. The image/video files are provided by querying the content provider.</p>
  
  <p>I want to check if the image/video file can be decoded. </p>
  
  <p>The picture with problems...</p>
  
  <p><a href="https://i.stack.imgur.com/2meiz.jpg" rel="nofollow noreferrer">https://i.stack.imgur.com/2meiz.jpg</a></p>