nikkelei Posted February 12, 2023 Posted February 12, 2023 I am trying to build an app that plays content which the user places in the Download folder. I am building to app in Unity 2021, bur when I build it and run it I get the following error: 2023/02/12 14:30:11.871 29136 29266 Warn Unity AndroidVideoMedia OpenExtractor unable to open /storage/emulated/0/Download/GS010011trimmed.mp4, error: 13 I can use the Application.persistentDataPath class and then it works, but it would be nice to do it via the download folder as this is easier to use for the casual user. I have been playing around with manifest permissions to no avail, and suspect that the problem lies deeper within the Android filesystem. It seems that the system simply won't let me access anything in the Download folder. Any ideas ?
NonaCannon Posted February 28, 2023 Posted February 28, 2023 (edited) On 2/12/2023 at 7:09 PM, nikkelei said: I am trying to build an app that plays content which the user places in the Download folder. I am building to app in Unity 2021, bur when I build it and run it I get the following error: 2023/02/12 14:30:11.871 29136 29266 Warn Unity AndroidVideoMedia OpenExtractor unable to open /storage/emulated/0/Download/GS010011trimmed.mp4, error: 13 I can use the Application.persistentDataPath class and then it works, but it would be nice to do it via the download folder as this is easier to use for the casual user. I have been playing around with manifest permissions to no avail, and suspect that the problem lies deeper within the Android filesystem. It seems that the system simply won't let me access anything in the Download folder. Any ideas ? I have also facing the same issue. If you are a Canadian player on the hunt for the top low deposit casinos Canada, don't fret - there are numerous options available online. One of the websites that can help you find them is Casinos Analyzer. By visiting https://casinosanalyzer.ca/online-casinos/low-deposits you will find a plethora of online casinos that offer low deposit options, making it easier for you to indulge in your favorite casino games without breaking the bank. Have you found the solution? Edited February 28, 2023 by NonaCannon
MarcusN Posted March 30, 2023 Posted March 30, 2023 Hi @nikkelei, I did some research and wasn't able to find much information about accessing files from Androids download folder. I did find this post where some other devs were trying this, but some of them ran into issues with different devices. The post suggests that this is something that would require a native plugin. https://forum.unity.com/threads/using-files-in-android-folders.347800/ 1
Rohan77 Posted Saturday at 02:55 PM Posted Saturday at 02:55 PM (edited) hii everyone thanks Edited Saturday at 02:57 PM by Rohan77
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now