title: How to load all file paths into a string array
body: <p>I am trying to load the file paths into a string array (path) but I am stuck.  Here is my code:</p>
  
  <pre><code>public class MainActivity extends ListActivity{
  
  String path = Environment.getExternalStorageDirectory().getAbsolutePath() + "/Video/";
  
  String[] videoFileList = {
  
          path,
  
  };
  
  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.row, parent, false);
          }
  
          ImageView imageThumbnail = (ImageView)row.findViewById(R.id.Thumbnail);
  
          Bitmap bmThumbnail;
          bmThumbnail = ThumbnailUtils.createVideoThumbnail(videoFileList[position], Thumbnails.MINI_KIND);
          imageThumbnail.setImageBitmap(bmThumbnail);
  
          return row;
      }
  
  }
  
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setListAdapter(new MyThumbnaildapter(MainActivity.this, R.layout.row, videoFileList));
  }
  </code></pre>
  
  <p>}</p>
  
  <p>I am trying to load video paths.  I can load one specific file, but not all the files in the directory.  Any help would be greatly appreciated.  Thanks!</p>