-2

Can anyone suggest how to capture a screen in corona both full screen and particular portion of it?

Arun jalota
  • 252
  • 2
  • 14

2 Answers2

4

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)
Krishna Raj Salim
  • 7,331
  • 5
  • 34
  • 66
3

A google search produced this link: How to capture a screen in corona

If you are having issues with an implementation then please provide more information and perhaps say what you have tried so far so we know where to go next.

webnoob
  • 15,747
  • 13
  • 83
  • 165