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
-- Chama camera
local function newphoto ( event )
for i = photot.numChildren,1,-1 do
local child = photot[i]
child.parent:remove( child )
child = nil
end
media.show( media.Camera, sessionComplete )
end
media.show( media.Camera, sessionComplete )
hey there
so… my camera was work fine untill I download the last corona sdk
now the camera open normal but don’t show my image as in the other version of corona sdk
anyone knows anything about it? [import]uid: 23063 topic_id: 16733 reply_id: 316733[/import]