problem while looping through assets folder :(
<p>i have a subfolder in the Assets folder called images where i store my images(of course) :) The things is that i want to get the name for the images which i'm getting but the problem is that i'm also getting other unknown names like: "android-logo-mask.png" which i guess are android's default images. Is there a way i can skip this "android default images" to get only the names of my images? My plan is to save this names in a database to use it as reference for showing the images later on an ImageView. Is it a good idea to use the image name to show the images? Here is some code if it needs:</p>

<pre><code>    Context context;

     @Override
        public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.main);
            context = this.getApplicationContext();
            ImageHelper i = new ImageHelper();
            i.readImages(context);
     }

    public class ImageHelper {
 public ImageHelper(){}

 public void readImages(Context context){
  AssetManager am = context.getAssets();
  try {
   String[] getImages = am.list("images");
   for(String imgName : getImages){    
    Log.e("IMAGE NAME-----&gt;", imgName);    
   }
  } catch (IOException e) {
   e.printStackTrace();
  }
 }

}
</code></pre>

<p>Thanks in advance.</p>
