Skip to main content
December 14, 2011
Question

Flex Tracker / MobileCRUD Mobile problem with saved camera images iOS

  • December 14, 2011
  • 1 reply
  • 437 views

Hey guys

I compiled and installed the reference app Flex Tracker, the one where you can track receipts and add a new receipt and take a picture with the camera.

On iPhone 4S the camera pops up and you can take the picture but when you return to the view after using the photo, the receipt picture does not show.

When committing the record and then browsing to it and looking at it, the picture is not there.

I read in the docs that camera entitlement is not putting in the app.xml like it is for android, that Apple manages this at runtime. I will stress again I can launch the camera, and take the picture. I would imagine that something went wrong with the media promise event / byte array ?

Please help - does anyone have any ideas

mr deli

This topic has been closed for replies.

1 reply

December 19, 2011

After looking at the code, I am imaging that my first actions should be integrats ascorelib and use the jpeg encoder to take the file passed from the media promise event, and write out the jpeg to the local storage folder of the iOS app, and then set the source of the image control in the espense editing view ? Am I on the right track here ?