android - How to get images from Sd card and put into array list -


i want make slide show , images sd card. wanna use several images, how can put images arrylist ? below code 1 image.

imageview imageview = (imageview)findviewbyid(r.id.imageview);     bitmap bitmap = bitmapfactory.decodefile("/sdcard2/image/index1.png");     imageview.setimagebitmap(bitmap); 

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


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -