简体   繁体   中英

Load the images from the Gallery into gridview

This LazyLoading library helps me to load the images from the internet. Can i use this library to load the images from the gallery.

 imageLoader.DisplayImage(url, image);

What should i send the argurment to display the image from the gallery

Note I'm having the path of the images in the ArrayList

Imp Note : I'm also having the ArrayList of byteArray (one byte array resembles to one image). So then how can i use the library

Edit I encrypted some images from the gallery and stored in SDCard and i need to display the encrypted images in my app(I know the path of the encrypted images) Encryption is done in Byte[] level.

Please suggest me. ThankYou

Can i use this library to load the images from the gallery?

Gallery itself a application which is showing images from your local folder. So if you have a local image you can show it by its path in your App. You just need to add file in your image path to make path as URI. Like

String URL = "file:///mnt/sdcard/image.png"; // from SD card

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM