Jump to content

Can't acces download folder on Focus 3


nikkelei

Recommended Posts

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 ?

 

Link to comment
Share on other sites

  • 3 weeks later...
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 by NonaCannon
Link to comment
Share on other sites

  • 1 month later...

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/

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...