- Home /
Save Screenshot and Show it in Gallery (iOS & Android)
Hi, I have been bashing my head against the wall and I have managed to save the screenshot and when i check if the screenshot exists or not it does. But for some unknown reasons I can't find any way to get those images to show in the Gallery.
So far i have done the following: 1- Made builds on both iOS and Android and Searched the file name manually. (Couldn't find it using ESFile Explorer) 2- Tried to save with .jpg didn't work.
I know there is a paid kit to do that in the asset store but i just can't understand why wouldn't it show up in the gallery? Thanks in advance for any help... :)
Here is my Code:
Application.CaptureScreenshot("CCMSS.png"); if (System.IO.File.Exists(Application.persistentDataPath+"/"+"CCMSS.png")){ Debug.Log("File Saved to Gallery"); }
the folder that persistenDataPath
returns is not the device specific photo gallery.
yeah i know that but the thing is that gallery refresh should at least show the image. I tried restarting the device even but it didn't get the screen shots.
Capture and Save plugin is available
Answer by Wajdi-azar · Jun 02, 2014 at 08:03 PM
hi, you will find the file under android//file, for example android/com.me.myapp/file/screenshot.png
Answer by DeveshPandey · Jun 30, 2014 at 03:51 PM
Hello Guys,
You should use this wonderful plugin with full support.
Answer by Voxel-Busters · Jun 09, 2017 at 04:31 AM
We made a plugin which is compatible on iOS and Android , easy to use unified API and battle tested!
Your answer
Follow this Question
Related Questions
How to save an in game screenshot directly to gallery? 1 Answer
Share Screenshot Image to Facebook with Facebook SDK 0 Answers
Screenshot is not saving to Gallery and folder 2 Answers
Facebook app review for screenshot share 0 Answers
Screenshot 0 Answers