Can anyone suggest how to capture a screen in corona both full screen and particular portion of it?
Try this. It will work :
local function captureDeviceScreen()
local captured_image = display.captureScreen( true )
captured_image:scale(.5,.5)
local alert = native.showAlert( "Success", "Captured Image is Saved to Library", { "OK" } )
end
Runtime:addEventListener("tap",captureDeviceScreen)