- Home /
Question by
CoixdeNono · Aug 22, 2013 at 09:14 AM ·
savepictureandoid
How to save a picture on Android device?
Hello guys, I'm having some trouble founding out how to save a picture on an android device. I have an URL that i load in a texture, then i save with
File.WriteAllBytes(Application.persistentDataPath + "/SavedScreen.png", bytes);
And it works perfectly on editor, but not on Android Device. Is there another way to do it ?
Comment
Which line is giving null-pointer exception? It doesn't look like the line that you pasted.
Your answer
Follow this Question
Related Questions
how could take a picture of scene and save it? 1 Answer
[WP8] Application.CaptureScreenshot() image not shown in gallery 0 Answers
Save/load playerprefs 2 Answers
Saving variables? 3 Answers