Crosslight Form Builder - ImagePicker

12 replies. Last post: May 25, 2016 5:29 AM by Thomas Albert
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Hello Crosslight Support,

I have some issues with Crosslight Form Builder. I found these issues on Android, they may appear on iOS as well.

I used the latest stable Crosslight assemblies and my test device is Motorola E2 API 21.

Scenario 1:
I used the basic form builder sample and played around with the ImagePicker. In ImagePicker.Form I have the following:

[ImagePicker(ImageResultMode = ImageResultMode.Both, ActivateCommand = "ActivateImagePickerCommand", PickerResultCommand = "FinishImagePickerCommand", AllowEditing = false)]

In the belonging ViewModel, I implemented "FinishImagePickerCommand". I start the app, go to ImagePicker, click on the image and select "Take Photo". I take a picture, confirm the picture and I hit "ExecuteFinishImagePickerCommand". I receive "ImagePickerResultParameter" as parameter. Looking at the "Result" property of the "ImagePickerResultParameter", I see that it is "null" (screenshot scenario1). "Choose From Gallery" returns the same result.

This seems to be a bug. I need the ImageData and the ThumbnailImageData for further processing. Please, fix.

Scenario 2:
Almost the same as above. But now I want to allow editing of the taken picture (AllowEditing = true).

After cropping the taken photo, I hit "ExecuteFinishImagePickerCommand". I receive "ImagePickerResultParameter" as parameter. Looking at the "Result" property of the "ImagePickerResultParameter", I see that ImageData and ThumbnailImageData have the same size (screenshot scenario2). "Choose From Gallery" returns the same result.

This seems to be a bug. I need the original sized photo in ImageData not the ThumbnailImageData. Please, fix.

By the way, calling the "Crop App" mostly fails with "Image could not be loaded" error message. Please, fix, too.

Additional questions:

- How can I translate the context menu of the ImagePicker (Select Image, Take Photo, Choose From Gallery, Delete Photo)

- How can I translate the text below the ImagePicker image (edit, add photo)?

Thanks,

Thomas

All times are GMT -5. The time now is 1:02 AM.
Previous Next