in the last update of Corona SDK
the camera stops working in show up the image that I shot
local photot = display.newGroup()
local function sessionComplete ( event )
t = event.target
photot:insert(t)
photot.x = \_W/2
photot.y = \_H/2 + 50
local baseDir = system.DocumentsDirectory
display.save(photot, "photo.jpg", baseDir)
print( "salvou foto " )
end
media.show( media.Camera, sessionComplete )
this is the code that I used
and know this code don’t works anymore
thanks [import]uid: 23063 topic_id: 16738 reply_id: 316738[/import]