でいただきありがとうございます.....これは私のコード
String[] paths={"/mnt/user/Pictures/IMG_5509_LRS.jpg",
"/mnt/user/Pictures/IMG_6076_LRS.jpg",
"/mnt/user/Pictures/IMG_5790_LRS.jpg"};
FileInputStream in;
BufferedInputStream buf;
ArrayList<Drawable> drawablesArray=new ArrayList<Drawable>();
ArrayList<Bitmap> bitmapArray=new ArrayList<Bitmap>();
File file = null;
final ImageSwitcher imageswticher=(ImageSwitcher) findViewById(R.id.imageSwitcher1);
for(int i=0;i<paths.length;i++)
{
try {
in=new FileInputStream(paths[i]);
buf=new BufferedInputStream(in);
Bitmap bMap=BitmapFactory.decodeStream(buf);
bitmapArray.add(bMap);
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
ImageView iv=(ImageView) findViewById(R.id.imageView1);
ImageSwitcher imageswitcher=(ImageSwitcher) findViewById(R.id.imageSwitcher1);
for(int h=0;h<bitmapArray.size();h++)
{
drawablesArray.add(new BitmapDrawable(bitmapArray.get(h)));
}
ある今、私はImageswitcherとGOTに描画可能な配列が渡さ私が望むもの
誰かを助けることを願って.....