List<Bitmap> imgList = new ArrayList<Bitmap>();
for ( int i=1 ; i<=n ; i++)
{
imgList.add(BitmapFactory.decodeResource(getResources(), getResources().getIdentifier("num" + i, "drawable", getPackageName())));
}
----------------------------------
File file = new File("/sdcard/external_sd/folder_name/");
File imageList[] = file.listFiles();
ArrayList<Bitmap> images = new ArrayList<Bitmap>();
for(int i=0;i<imageList.length;i++)
{
Log.e("Image: "+i+": path", imageList[i].getAbsolutePath());
Bitmap b = BitmapFactory.decodeFile(imageList[i].getAbsolutePath());
images.add(b);
}
doridori2013@nate.com