Saving Screenshoot

Hey there, I have implemented the simple shoot command in my game, works on pc (of course) but how would i save the image from shoot command in a phone ?

Hello.

Not sure why do you need such feature for a mobile device. Any user can simply use hardware phone button combination to make screenshot, and such screenshot will be saved directly into file, not to buffer. As far as I know, the combination differs from device to device. Example of such combination: hold “power” and “+ sound volume” for 1-2 seconds.

Thanks for the answer, it was to add a feature where people would take a screenshot of the high score and stuff, and they would then have the option to post it to the fb page of the game or twiter!

Bump
Tried different things, didn’t work, i would really like this to work, to make it more competitive as it is an arcade type game.

Bumping again :confused:

Hi Sampuig12,

I believe this is what you are looking for:

https://docs.unrealengine.com/latest/INT/Engine/Basics/Screenshots/index.html#standardscreenshot

You can use “Execute Console Command” blueprint node.

Thank you for the answer but I have already done that, I made the button that executes the command shot, it works, but what I wanted to do was: Execute Command, Saves image taken stores it, Ask to post it to facebook, click no saves it in phone picture folder.

Ok, to do that you’d need to write your own code in Java and hook it up through AndroidJNI.

Ok, cool thanks :slight_smile: i’ll get on to that!