mozilla-b2g/gaia — pull request #4926 by davidflanagan (2012-09-19 19:09:05+00:00)
Title: Fix Gallery's pick activity and modify Contacts to use it

This pull request modifies Gallery to handle pick activities better:

1) The gallery allows the user to crop the image as part of the pick process
2) The requesting app can optionally specify the image size they want. If a size is specified, it will set an aspect ratio for cropping
3) The picked image is returned as a data url instead of a device storage filename

This pull request also modifies the Contacts app to specify an image size and to handle the returned data url. It deletes the Contacts device storage code that is no longer needed.