title: How to get Thumbnails for video
body: <p>I want to get Thumbnails for Videos which are stored in Server...And Grid view will be used to display Thumbnails...I am using android 3.0</p>
  
  <p>Here is the code that I have used:</p>
  
  <pre><code>String[] videoFileList = {
    "http://129.0.0.213:8080/playback/201203/thumbs/00068.flv_img/0000003.jpg",
  
  };
  
  public class MyThumbnaildapter extends ArrayAdapter&lt;String&gt;{
  
   public MyThumbnaildapter(Context context, int textViewResourceId,
     String[] objects) {
    super(context, textViewResourceId, objects);
    // TODO Auto-generated constructor stub
   }
  
   @Override
   public View getView(int position, View convertView, ViewGroup parent) {
    // TODO Auto-generated method stub
  
    View row = convertView;
    if(row==null){
     LayoutInflater inflater=getLayoutInflater();
     row=inflater.inflate(R.layout.main, parent, false);
    }
  
  
    ImageView imageThumbnail = (ImageView)row.findViewById(R.id.gridview);
  
    Bitmap bmThumbnail;
          bmThumbnail = ThumbnailUtils.createVideoThumbnail(videoFileList[position], Thumbnails.MICRO_KIND);
          imageThumbnail.setImageBitmap(bmThumbnail);
  
    return row;
   }
  
  }
  </code></pre>
  
  <p>Please Help Me...</p>