0

I want to make slide show and I will get images from Sd card. I wanna use several images, how can I put my images into arrylist ? below is that my code for one image.

ImageView imageview = (ImageView)findViewById(R.id.imageView);
    Bitmap bitmap = BitmapFactory.decodeFile("/sdcard2/image/index1.png");
    imageview.setImageBitmap(bitmap);
emin
  • 19
  • 4

1 Answers1

0

below is the answer you can use it for fetching images for sd card using content uri,try this,this will surely work for you,assuming you have the knowledge regarding content uri.

Deep Naik
  • 491
  • 1
  • 3
  • 10