Hello Everyone…
This Is My Code
[1]
`public void Start()
{
StartCoroutine(DownloadProcces());
}
IEnumerator DownloadProcces()
{
string URL = "SomeURL"; <-----------The Normal URL of Some Photo
string PATH = "???" <----My Question Is HERE
using (WWW www = new WWW(URL))
{
yield return www;
File.WriteAllBytes(PATH + "/PIC.png", www.texture.EncodeToPNG());
}`
1) It's Working Great On Windows When I Put The Right Path
2) It's Working When I Put Application.persistentDataPath in Android / Windows
3) Not Working When I Put "/storage/emulated/0/" For Saving It to another path in android
I Want To Save The Downloaded Picture in some Custom Path or directory...