0

Using android sdk is it possible to select only those photos based on the date and time the picture was selected.

user3394555
  • 77
  • 10

1 Answers1

1

You need to do the following

  1. Get the images data from data

  2. In MediaStore.MediaColumns you will get DATE_ADDED column where you can apply your condition for photos within a time frame.

  3. In DATA column u will get the image path and with this you can display the images

Refer this for getting the images data

  1. Loading image from sdcard on image view. Refer this
Community
  • 1
  • 1
Fahim
  • 12,198
  • 5
  • 39
  • 57