mozilla-b2g/gaia — pull request #4994 by davidflanagan (2012-09-20 23:47:25+00:00)
Title: Open activity for Gallery and Camera

This pull request implements an Open activity in Gallery, and adds code to Camera to use that activity.

Camera passes a filename to gallery, and gallery opens and displays the image. It allows the user to zoom and pan around in the image. Gallery shows two buttons. Both go back to the camera app, but one sets a flag in the activity result telling camera that the user wants to delete the file.

(@daleharvey: you need to implement the deletion code).

One cool feature: swiping down quickly dismisses the image preview and goes back to camera.

In the camera app the thumbnails in the filmstrip are so small that it is almost impossible to actually get them to open up. And because of https://bugzilla.mozilla.org/show_bug.cgi?id=792982, it may only work once or twice and then stop working.