Hi, I'm trying to save a camera image on a Z10. I'm using: savePath = Application.persistentDataPath; and then System.IO.File.WriteAllBytes(savePath + "/photos/test" + ".png", screenshot.EncodeToPNG()); But i get the exception: System.IO.IsolatedStorageException: could not find a part of te path "/accounts/1000/appdata/com_Company.ProductName.testDev_ProductName546/fc/data/camera/test.png Any thoughts ??
Solved. Not sure if this is the best method but anyway, I found this information at blackberry site: and noticed the path was including the data folder, which i don't want. so i changed savePath to: savePath = Directory.GetParent(savePath).ToString(); and then accessed shared folder: System.IO.File.WriteAllBytes(savePath + "/shared/camera/test" + ".png", snap.EncodeToPNG());