Error locking content://com.android.providers.media.documents/document!
FileRequest() Not Working on Android
FileRequest() Not Working on Android
Using the new Hollywood Player (11) for Android, the new file requester looks great! However, I get the following error no matter what file I select:
- airsoftsoftwair
- Posts: 5886
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: FileRequest() Not Working on Android
Does this really happen in FileRequest() or are you trying to do something with the file returned by FileRequest()? Keep in mind that FileRequest() now operates using Android's Scoped Access Framework (SAF) which means that the returned file specifications will be different from "normal" files because they can also point to files in the cloud etc. See here for more information on how to deal with those content URIs.
Re: FileRequest() Not Working on Android
This is my code:
The error is reported "In function: FileRequest"
Code: Select all
f$=FileRequest("Select File")
NPrint(f$)- airsoftsoftwair
- Posts: 5886
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: FileRequest() Not Working on Android
So the file requester pops up and you are able to select a file and after you have selected a file you get the "error locking ..." error? What Android version is that?PEB wrote: ↑Sun Feb 01, 2026 1:29 am This is my code:The error is reported "In function: FileRequest"Code: Select all
f$=FileRequest("Select File") NPrint(f$)
Re: FileRequest() Not Working on Android
Yes, that's exactly what happens.
I'm using Android version 16 on a "OnePlus 13".
I'm using Android version 16 on a "OnePlus 13".