I was building an application and wanted to get data through text file. when i put the location of any folder of computer then it is working properly but when i changed the location and use that app with android smart phone it doesn't save txt file in mobile's internal storage or sdcard.

How can i save .txt file in mobile internal storage?

```
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
using UnityEngine.UI;

public class click2 : MonoBehaviour
{

    public static bool mobileSD;
    public static string saveLocation;

    public void onclick()
    {
        // in order to save at sdcard, make it 'true'
        mobileSD = true;
        if (mobileSD == false) { saveLocation = "d:/"; }
        else { saveLocation = "/sdcard/Download/"; }

        {
            using (System.IO.StreamWriter file = new System.IO.StreamWriter(@saveLocation + 1 + ".txt", true))
            {
                file.Write("a");
                file.Close();
            }
        }
    }
}

```