Questions tagged [fileprovider]
74 questions
2
votes
0 answers
How to set path for Blazor app hosted in .NET Core
I am trying to host a Blazor app via a .NET Core Web Server.I am using FileProvider.I do not know why i keep getting this error :
blazor.webassembly.js:1 WASM: wasm streaming compile failed:
TypeError: Failed to execute 'compile' on…

Bercovici Adrian
- 8,794
- 17
- 73
- 152
2
votes
1 answer
Sdcard File not open in OS 6 and later
I have one method which open files from my app and this method running well on every OS for Internal Storage but when sdcard from OS 6 and upper want to open the file then I found an error :
Failed to find the configured root that…

Bhanu Sharma
- 5,135
- 2
- 24
- 49
1
vote
1 answer
MAUI: Persisting access to Nextcloud files via the file picker in connection with an iOS File Provider
I have currently the problem specially on iOS, that when I select a file through the FilePicker, which is located in Nextcloud and integrated in the file manager through the file provider, I get a shared path to the file. The access is now possible…

Sirius
- 13
- 2
1
vote
0 answers
Is it possible to speedup FileProviderEnumerator for many files?
I'm creating FileProvider extension for MacOS. In my case I have a remote folder with a lots of small files (~50k).
If I trying to open file directly by known name (for example with a cat in terminal), FileProvider asks listing of directory first —…

Vladimir
- 31
- 2
- 5
1
vote
1 answer
Is there a way to prevent file deletion in deleteItem callback in macOS FileProviderExtension?
In macOS FileProviderExtension, when user deletes an item in Finder, a deleteItem callback is invoked. And here I don't mean trashing the item but really deleting it.
Now let's consider following scenario:
User selects an item (file or folder) in…

mixtly87
- 1,675
- 15
- 32
1
vote
1 answer
How to rollback the change in modifyItem in macOS FileProvider Extension?
Let's say user renames a file/folder in FileProvider extension. modifyItem callback is invoked where we issue a rename request to the server. Server responds with an error (ie user doesn't have permission to rename the relevant file/folder). We…

mixtly87
- 1,675
- 15
- 32
1
vote
1 answer
How to make signalEnumerator(for: identifier) call the relevant enumerateChanges method
In macOS FileProvider extension, when I invoke:
manager.signalEnumerator(for: identifier) { error in
print("Signal completed with error: \(error)")
}
where identifier is identifier of the relevant folder which contains remote changes, system…

mixtly87
- 1,675
- 15
- 32
1
vote
1 answer
Delphi cannot find fileprovider.xml building Android
I am trying to create a PDF document and then open it in an Android app. The code is based on the GitHub project https://github.com/AlessandroMartini/Delphi-Android-GeraPDF
I am using Delphi in RAD Studio 11.
I have successfully worked around the…

DaveB
- 33
- 7
1
vote
0 answers
Cannot fetch item in NSFileProvider (macOS)
In fetchContents(..) method, I download file item from server by session.downloadTask.
And i copy file from response url to temporary url (which is created from NSFileProviderManager.temporaryURL). After this, it's certain that file contents of…

eunjo_princess
- 11
- 1
1
vote
0 answers
Serving a html file with FileProvider or own ContentProvider
Using ACTION_VIEW with a FileProvider uri for a html file lets browsers like Chrome and Edge display the html page.
Also HTML-viewer app displays. And editor apps can handle the file.
If using a ContentProvider extended uri the browsers only offer…

blackapps
- 8,011
- 2
- 11
- 25
1
vote
1 answer
Dependency inject a custom file provider for runtime compilation
I am experimenting with loading views from a database, and as suggested in the article one might want to add some caching to prevent hitting the database every…

Asons
- 84,923
- 12
- 110
- 165
1
vote
0 answers
Having problem Sharing an image using sharing Intent to share images in android?
I have image galley app in that I have all images load from server without any problem. When I select one of the gallery it will show the image in a fullscreen activity. I want to be able to share the image in fullscreen. I have used the below code…

Jordan
- 11
- 1
1
vote
0 answers
Getting access to external Storage files and sending them as a email attachment
I want to send an email with attached pdf files. When I am trying to send them over URI I get this error message:
android.os.FileUriExposedException: file:///Download/myPDFFile.pdf exposed beyond app through ClipData.Item.getUri()
So I tryed to do…

Hadadadebadada
- 27
- 5
1
vote
0 answers
Gmail error after generating csv file and sharing intent using Fileprovider: "Unable to attach file"
I am creating an app which generates a csv file, and then sends it via email.
It does work if I choose Whatsapp, or Google Drive, but if I select Gmail, I get a toast "Unable to attach file".
In the Logcat, I get the following lines:
2020-05-16…

RemiS
- 11
- 2
1
vote
2 answers
Android: Using a File Provider on ExternalStorage
I'm having really hard time trying to open downloaded apk
I'm trying to use FileProvider (https://developer.android.com/reference/android/support/v4/content/FileProvider), I've followed this steps but I think I'm doing something wrong. I change this…

Carlos Santos
- 26
- 3