I want to save the image to device local storage so it becomes visible within the Photos or Gallery section of the phone.
I have already saved the texture at the Application.persistantDataPath location through below video tutorial:
But it didn’t become visible in the Photos or Gallery section of the phone.
What special I required to do for this?
I would suggest you look into a prebuilt asset such as GitHub - yasirkula/UnityNativeGallery: A native Unity plugin to interact with Gallery/Photos on Android & iOS (save and/or load images/videos)
Since saving to photos or gallery both require native code. Saving to persistantDataPath isn’t going to be enough and honestly, I don’t think is going to do much for you for the purpose you want.
1 Like