Questions tagged [filepicker]
Questions about the use of file pickers in general. Not to be confused with [filepicker.io]; use that tag for questions related to that service.
filepicker
445
questions
0
votes
1
answer
24
views
How to get file from "file_picker" to upload in flutter web?
I need to upload a PDF file to the server.
I use this code.
void pickFiles() async {
try {
final result = await FilePicker.platform.pickFiles(
allowMultiple: false,
type: ...
0
votes
0
answers
34
views
How to get FileSystemDirectoryHandle using a FileSystemFileHandle
I am trying to select a file using showOpenFilePicker and once a file is selected, I want to get the directory(FileSystemDirectoryHandle) of where the selected file is located. I want to get the ...
0
votes
0
answers
34
views
Problem with File Picker: Duplicate Image Creation
When using a file picker in my Android application, I'm encountering an issue where selecting images results in duplicates being created on the device. This happens every time I select and potentially ...
-1
votes
1
answer
85
views
Does window.showSaveFilePicker save a file in the correct place from the end user's standpoint?
Does window.showSaveFilePicker save a file in the correct place from the end user's standpoint?
For security reasons, window.showSaveFilePicker does not show the entire path. That's fine if the end ...
0
votes
0
answers
90
views
FilePicker extension Flutter problem with custom types
Here is my code :
FilePickerResult? result = await FilePicker.platform.pickFiles(
// TODO: check if this is really true
// This solution of filtering does not work, because the package ...
0
votes
1
answer
34
views
FilePicker on Android can not show any files
I try use this filePicker https://market.nativescript.org/plugins/@angelengineering/filepicker/ for my Android Nativescript application
Manifest of my application allow me read storage
<uses-...
0
votes
2
answers
47
views
Flutter Firebase: How to upload multiple images?
I've this Button to select images:
IconButton(
onPressed: () async {
final results = await FilePicker.platform.pickFiles(
allowMultiple: true,
...
0
votes
0
answers
41
views
PlatformException: Cannot retrieve length of file - Occurs on specific device only
I have a Flutter application where users can select and upload images. The functionality works perfectly on my own device and several other devices, but one specific device consistently throws an ...
0
votes
0
answers
123
views
MAUI - MediaPicker PickPhotoAsync always give "System.ObjectDisposedException: 'Cannot access a closed Stream.'"
Net 8.0 + MS Toolkit, MVVM, VS 2022, android emulator 11 API 30
I've a listview based on a ObservableCollection of class
public partial class ADVImage : BaseModel //<= extends ObservableObject
{
...
0
votes
0
answers
13
views
How to specific image ext when upload using window.showOpenFilePicker?
Here is the MDN documents.
MDN
On it's sample:
const pickerOpts = {
types: [{
description: "Images",
accept: {
"image/*": [".png", "....
0
votes
1
answer
76
views
Flutter File picker platformException
Hello i would like to ask, is there a way to resolve this platform exption while picking files from google drive
I/flutter ( 2761): Error while picking file: PlatformException(unknown_path, Failed to ...
0
votes
1
answer
82
views
Download file through OneDriver Picker JavaScript
I cloned the MS OneDriver FilePicker Repo (https://github.com/OneDrive/samples/tree/master/samples/file-picking).
I'm currently trying around in the "javascript-basic-consumer" sample. I ...
0
votes
0
answers
28
views
wasm file picker created in EM_ASM is not shown in Safari
I am trying to run this ImGui wasm demo and make a file upload like it is described here.
The problem is that file picker created as
EM_ASM(
var file_selector = document.createElement('input');
...
0
votes
0
answers
92
views
Flutter: Accessing external sd card media files for audio player (Direct path vs Scoped storage)
I am writing a music player app in Flutter, aimed primarily at playing audio files in android external sd storage folders like "storage/emulated/0/music". As per my study, from API 30 ...
0
votes
1
answer
81
views
Flutter upload file to Firebase storage
Can someone help me please. I want to upload a file to Firebase storage but for some reasons this code doesn't work. Can anyone help me please.
class TestUploadToStorage extends StatefulWidget {
...