camera, flash setting now available, half-pressing the camera key now
reactivates auto-focus in case manual focus has been made, persistent
settings using IsolatedStorageSettings.
Plus a partial rollback of changeset:d10558d - with the current app
architecture the settings are lost if the device is reinitialized. At
least now the settings can be applied before taking a picture, but they
are reset when the picture is saved).
A known issue affecting the camera apps on Lumia WP8 devices. To
workaround it (or at least limit the incidence) applications should
release the camera object as soon as they are no longer using it and
then create it again when needed.
In this case, the camera object is released before going to the
PreviewPage and re-created on return to the MainPage.
Give the Canvas a name and add a Tap handler, lock focus parameters on
successful tap focus and release them when picture has been taken. Note
that taps and the region have to be converted into the coordinate space of
the preview image which is always 640x480 independent of the app
orientation. We use that as a clipping rectangle for the focus area to
avoid getting invalid argument errors due to the FocusRegion falling
outside the limits.
Notable changes:
- Rename Guid property to PropertyId to not confuse with Guid type
- Move camera initialization to MainPage, it does it always anyway
- Move Parameters to DataContext and delete Settings completely
- Remove manual WB parameter as it overlaps with WB preset
Notable changes:
- remove template arguments from array parameter
- remove refresh button
- change manual white balance to array instead of range
- add camera initialization progress indicator
- fix front camera upside down issue
- minor UI layout changes