Richard,
The onComplete() function does not get called until *after* the photo has been saved to file. I’ve tested this for myself on Android by having [lua]media.show(“camera”, …)[/lua] save to file and then called [lua]display.newImage()[/lua] on that photo file to display it. It was working fine for me.
Also, please note that the Corona Simulator does not support saving images to file via the [lua]media.show()[/lua] function. This functionality is currently only supported on iOS and Android. We plan on adding this functionality to the Corona Simulator in the future. [import]uid: 32256 topic_id: 34118 reply_id: 135947[/import]
