title: Unity Android save screenshot in gallery
body: <p>I use this</p>
  
  <pre><code>using System.Collections;
  using System.Collections.Generic;
  using UnityEngine;
  using System.IO;
  
  public class ShareButton : MonoBehaviour {
  
  public void ClickShare()
  {
      StartCoroutine(TakeSSAndShare());
  }
  
  private IEnumerator TakeSSAndShare()
  {
      string timeStamp = System.DateTime.Now.ToString("dd-MM-yyyy-HH-mm-ss");
      yield return new WaitForEndOfFrame();
      Texture2D ss = new Texture2D( Screen.width, Screen.height, TextureFormat.RGB24, false );
      ss.ReadPixels( new Rect( 0, 0, Screen.width, Screen.height ), 0, 0 );
      ss.Apply();
  
      string filePath = Path.Combine( Application.persistentDataPath, "Tanks" + timeStamp + ".png" );
      File.WriteAllBytes( filePath, ss.EncodeToPNG() );
  
      Destroy( ss );
  
  
  }
  
  }
  </code></pre>
  
  <p>to save screenshot on button press. How can I save it in some folder so it could be found in Android gallery?</p>