user3394555
user3394555

Reputation: 77

Using android sdk, is there a way to display photo captured between certain time frame

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

Upvotes: 0

Views: 58

Answers (1)

Fahim
Fahim

Reputation: 12368

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

Upvotes: 1

Related Questions