title: Thumb from video url returns null on android 4.0 and above
body: <p>In my application i have to show list of videos,i have created image(thumb) from video and show that image in list.</p>
  
  <p>I added code that i was used for create thumb-</p>
  
  <pre><code>Bitmap bitmap=ThumbnailUtils.createVideoThumbnail(filePath, MediaStore.Video.Thumbnails.FULL_SCREEN_KIND);
  ByteArrayOutputStream stream = new ByteArrayOutputStream();
  bitmap.compress(Bitmap.CompressFormat.JPEG, 100, stream);
  </code></pre>
  
  <p>My problem is that when i run app on android api level below 4.0 thumb is generate but when i run same application on android 4.0 and above  ThumbnailUtils.createVideoThumbnail() method returns null.
  Please help me how to fix this issue.</p>
  
  <p>Working from yesterday but still not getting solution.I have tried  -</p>
  
  <pre><code>Bitmap bitmap=ThumbnailUtils.createVideoThumbnail(filePath, MediaStore.Video.Thumbnails.MINI_KIND);
  and
  Bitmap bitmap=ThumbnailUtils.createVideoThumbnail(filePath, MediaStore.Video.Thumbnails.MICRO_KIND);
  </code></pre>
  
  <p>but still returning null.</p>
  
  <p>Thanks in advance.</p>