4

enter image description here

enter image description here

Note: I need to create Gallery App like this. ie. first show sdcard folders thumbnail images first, then, when I click thumbnail, then, need to show another new page to show subimages. like whatzup image upload, and Gallery App from play store..

Please help me anybody to come out from this. when i search from google, only examples available like normal singles images showing gallery-view examples only.

moffeltje
  • 4,521
  • 4
  • 33
  • 57
harikrishnan
  • 1,985
  • 4
  • 32
  • 63

3 Answers3

0

Follow this steps:

1.Outer activity which display folders:

Create an activity with grid view of custom item.Each item is framelayout with image and semi-transparent background textview.

2.Second activity which display images:

Create an activity with gridview of images.

To learn how to create gridview,use this

rupesh jain
  • 3,410
  • 1
  • 14
  • 22
0

Scan folders that you want to include using a method like this

Generate a thumbnail by opening an image from the folder and resizing like so.

Place these thumbnails in a gridview, possibly with a small overlay stating the name of the folder.

When a user clicks into the folder simply generate thumbnails the same way as above but for every image.

Community
  • 1
  • 1
Spaceman Spiff
  • 934
  • 1
  • 14
  • 32
0

Go through this code - CM Gallery

It's the official CyanogenMod gallery's source code. This will help you a lot in understanding how does gallery work.

Also go through this tutorial which I found really useful - Android Gallery

Confuse
  • 5,646
  • 7
  • 36
  • 58