ScreenCapturetoFIle image: where did it go?

hello awesome corona people!

i was playing with “ScreenCapturetoFile” example. im just wondering how can i place the screen capture image to the gallery, so i can upload it in facebook??? thnx!

it says, file saved in /documents, … but i cant find it. i wanna upload that image :smiley:

thnx a bunch!

The documents directory is not a directory you can normally access.  What you can do is to modify the sample app so that it takes the saved file and emails that.  There is a sample of how to do that in /SampleCode/Networking/ComposeEmailSMS.

@dchan

thanks for your effort and reply. .but you missed something. .  there is indeed a way to do this and i found it here:

http://jp.anscamobile.com/dev/reference/index/displaycapturescreen/index.html

 

anyways thnx again :))

Learn something new everyday.  Thanks!

The documents directory is not a directory you can normally access.  What you can do is to modify the sample app so that it takes the saved file and emails that.  There is a sample of how to do that in /SampleCode/Networking/ComposeEmailSMS.

@dchan

thanks for your effort and reply. .but you missed something. .  there is indeed a way to do this and i found it here:

http://jp.anscamobile.com/dev/reference/index/displaycapturescreen/index.html

 

anyways thnx again :))

Learn something new everyday.  Thanks!