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.

This tag refers to generic file pickers.

For questions related to the filepicker.io service, use the tag instead.

Examples

HTML

<input type="file">
413 questions
3
votes
1 answer

Not able to open pdf from localstorage by using PdfDocument.openFile(path) - Flutter

I need to a open pdf file from the local storage, here i use native_pdf_renderer: ^3.1.0 package for this purpose. As per the documentation, using the method PdfDocument.openFile('path/to/file/on/device') will fetch file from local storage. But In…
John
  • 133
  • 1
  • 6
3
votes
0 answers

How to get file path of files from download folder in SD card using android default file picker

I'm using android default file picker for my application. All works fine excepts download folder. In downloads folder. Files from both SD card and internal storage are merged and showed. Now the issue is when a file from internal storage it is…
3
votes
1 answer

getting file path without loading file in memory in flutter?

I am trying to make an app for sending files to my remote server via ssh in flutter. My idea is to get the path of selected file and pass it over to ssh. I am using file picker plugin in flutter to select file, but it taking file to memory before…
Prinz Piuz
  • 69
  • 9
3
votes
0 answers

Storage Access Framework - Does the file picker app not implement ACTION_OPEN_DOCUMENT_TREE on the cloud?

Apparently the "file picker" app does not completely implement the ACTION_OPEN_DOCUMENT_TREE intent. Let's say this code is executed: Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT_TREE); …
P5music
  • 3,197
  • 2
  • 32
  • 81
3
votes
1 answer

Getting file from device on Android, keeps stating file not found when trying to use it

I have an Android app where I am allowing the user to pick a file from the file system, I then get the path and set the path to an EditText and then use this path to open the file contents. Below is how I am loading the file picker Intent intent =…
Boardy
  • 35,417
  • 104
  • 256
  • 447
3
votes
0 answers

TypeError : Cannot read property 'focus' of undefined in onedrive js

so i have been trying to save a file to onedrive by converting the file data to datauri and uploading instead of using the sourceInputElementID so i am converting the file uploaded to dataURL format using a file reader and then passing that as the…
3
votes
2 answers

How to apply MDL button style to a filePicker?

I would like to know if there is a way to apply the Material Design Lite button style to a file picker, i.e. a component created on an HTML page via: I would like the "Browse" button of the component to have…
Renaud Tarnec
  • 79,263
  • 10
  • 95
  • 121
3
votes
2 answers

Upload file to default folder using OneDrive File Picker API

Can we upload a file to any default folder, say Documents or Public folder, in OneDrive using OneDrive's JavaScript File Picker API? i.e. instead of setting path using WL.upload({ path: response.data.folders[0].id, …
Dipti Sheth
  • 159
  • 1
  • 2
  • 11
3
votes
1 answer

How to pick(choose) multiple files at the same time in phonegap

I googled and search here i didn't find any opted solution relates to multiple file picker or chooser in phonegap. Currently i am able pick single file at a time in phonegap(for Android) without any plugins Using this to get file. How to pick or…
Vini
  • 967
  • 1
  • 15
  • 33
3
votes
0 answers

How can you get filepicker.stat() to return dimensions for a rotated image?

We are grabbing and storing image metadata in the success callback from a filepicker.pickAndStore(). Right now we are getting the dimensions using filepicker.stat(): // file is an object returned from the success callback filepicker.stat(file, {…
Chris Schmitz
  • 8,097
  • 6
  • 31
  • 41
3
votes
2 answers

Filepicker API key

I like to ask a newbie question. By setting API key in JavaScript, wouldn't anyone can read the source and use the key freely? Edited >> Extracted the jsFiddle codes, filepicker.setKey('8PbzrhP9Tr2r6wPlSqzS'); /* Unsecured…
twb
  • 1,248
  • 4
  • 18
  • 31
2
votes
1 answer

How to select any file/file path in android - Flutter

I have an app, and I need to choose files like PDF JSON, etc. First, I export my file, and then I can import it. To do this, I use the file_picker package with the below codes. Now the question is, I can pick any file's path in iOS, but on the…
alperefesahin
  • 604
  • 6
  • 22
2
votes
1 answer

FilePicker widget does not respond on release mod

I am using file_picker dependency on my project. I have simple icon button and it opens default file picker as it should be on debug mod.(Both android and web-chrome debug.) IconButton( onPressed: () async { …
cesebe27
  • 305
  • 1
  • 10
2
votes
1 answer

Upadte ListView with data from FilePicker

I'm triying to create a list of File from FilePicker and add them to a ListView. I have UpdateInformationScreen who has a child DocumentPicker. And DocumentPicker has a child DocumentCard. The ListView is updated with a delay, example if I validate…
Seth
  • 127
  • 1
  • 2
  • 12
2
votes
2 answers

File picker type image returns null flutter

I have a problem with file picker type image. when I specify the type of the file as image file the function returns null , but when I specify an other type ,it returns the path file. File picker without type : - code : FilePickerResult? result =…
Oussama Ridéne
  • 252
  • 1
  • 4
  • 14
1 2
3
27 28