private async void InitCamera()
{
var camera = new CameraCaptureUI();
var photo = await camera.CaptureFileAsync(CameraCaptureUIMode.Photo);
if (photo != null)
{
img.Source = new BitmapImage(new Uri(photo.Path));
}
}
}