Taking ndroid for a ride…

Hello every1…So I had looked and search and read and….I guess you all know the routine when you’re looking for something android related online and how long sometimes it takes for you to find it working as you want it to….

Case:Your application uses the camera to take a picture.U then enable the user to go to a gallery preview you have created, and do what ever with the pictures he has just taken.

Situation:The thumbnail gallery preview does not show the recent photo/s the user has taken.

Solution:So here is the code I created:

Your camera Activity saves the image file to a specific location.

Then you wish to update the thumbnail gallery db.

The user switches to the gallery preview.

You need to call addImageGallery(file) right after image file has been saved.