Hi,
I am trying to take a photo, save it and then display it in a slideshow. Everything works perfectly in the simulator but not on the device itself… I have narrowed down the problem to this line;
local filePath = { baseDir = storyboard.imagedirectory, filename = filename}
media.show( media.Camera, cameraSessionComplete, filePath )
When I pass the filepath over then it appears that there is no event passed to ‘cameraSessionComplete’, if I delete this (i.e. media.show( media.Camera, cameraSessionComplete ) ) it appears to work correctly, but then I would have to capture the screen and I would prefer to work at the full resolution if possible.
I tested if it being passed over as follows;
local cameraSessionComplete = function(event)
local image = event.target
words.text = "Camera Session"
if image then
words.text = "Image in memory" --Updates the display
I could post the full code here but it is rather large, I guess I first want to know if this is a common issue or if I am making a simple mistake.
Thanks heaps,
Craig [import]uid: 184705 topic_id: 34245 reply_id: 334245[/import]