I had create on gallery its display image but i am expecting to display folder images
Example: 1. camara image folder 2. all images 3.sdcard images.....this type if its possible how to create please help me....
This is your answer
(Environment.getExternalStorageDirectory(),"/Imagesfoldername/")
Related
i m implementing simple demo.. but i m stuck because i don't know how to select multiple images from drawable folder. i've seen so many solution but this is all about to select image from gallary.
here is my image
i m implementing lock screen demo, what i need is select 4 image sequentially that user set that image as a password, how can i do this
help me please,
Thank you
Currently I'm making Custom Gallery.
I don't know how to load Folder Thumbnail like in Gallery.
Like below image.
People who know,
Please tell me know,
Thank you
scene 1: I am having a task in android to capture image from its camera and store the captured image it in a separate folder,
scene1 i am now able to do now(means captured image is storing in my
customized folder(example folder name john)).
scene 2: Next task is to show all the captured image of my app in a
grid format having check box for selection of a images(just like
whats app does for image selection)
scene 2 i am able to do this from a good example to image in a grid
view like a android album gallery ,with a check box , but the thing
is that , the gallery is not showing my customized image folder and
its images where i have captured all the images from the app
please help me regarding this issue
Thanks in advance
I need a tutorial where in I can get images from a folder to display in grid view and then on click of the image in grid I can see full view and swipe functionality
any tutorial or code here please
thanks in advance
I think this is not hard to perform.
Find out your SD card folder path, scan and store image files and get image path in the SD card folder, get the bitmap from stored image path and put in to gridview. set gridview item selected listener to display image when click on a item.
There will not have a example code contains all the function you need. you can divide the problem to small ones, then try to solve it piece by piece. For example: solve scan image file from a folder first.
If the code given in gitHub can not fetch your images then paste the
path here which is used to fetch the images.
To set images in grid view, you already got the code. But now you
want to slide the images one by one. Then I can give you a hint that
use gallery view of android. It provides slider of small images. You
need to change the resolution of images. You need to combine these 2
views.
In my activity I have two thumbnail pictures. I want to show the pictures in real size if I click on each thumbnail. Is it possible? If yes what is the procedure?
Here are some of the approaches you can try:
ImageSwitcher you can refer to code sample in you API demos:
Place your thumbnails in a GridView and pass the Drawable resource object key to another activity which shows the resources full screen. A bit of advanced stuff.
Hope this helps,
Cheers!!