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
20
votes
5 answers

How to add a File Picker plugin in Flutter?

I am creating a Flutter project in which, I have a piece of data (JSON) that I want to Import from and Export to a location the user wants to. In order to achieve this, I require a File Picker plugin in Flutter. Now, I searched the Dart Packages…
Melvin Abraham
  • 2,870
  • 5
  • 19
  • 33
17
votes
0 answers

Get file path from URI on Android 10,

I need to pick files from the device, Here is my code, Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setType("*/*"); String[] mimeTypes = {"image/*", "application/pdf"}; …
Omar Hassan
  • 727
  • 1
  • 11
  • 24
16
votes
2 answers

Filter by mimetype or extention in native Android file picker

In Android, one can use the ACTION_OPEN_DOCUMENT Intent to open the native file picker and select for example an .mp4 file. This is achived by setting the mime type to video/mp4 using the following code: public static void pickFile(Context mContext,…
Levey
  • 176
  • 5
16
votes
1 answer

TinyMCE4 file_picker_callback - return additional params

I am using my own custom file picker with TinyMCE 4's new file_picker_callback function. The documentation on this isn't great, so credit goes to Fred for getting me this far - https://stackoverflow.com/a/24571800/2460995 The custom file picker is…
SigmaSteve
  • 664
  • 6
  • 25
14
votes
2 answers

Select folder dialog on android?

Is there some 'select folder dialog' on android SDK ? I google it and i did not find anything. I mean that i looking for dialog that will popup and give me the option to select a path of folder ( like select file dialog ... but the return…
Yanshof
  • 9,659
  • 21
  • 95
  • 195
12
votes
2 answers

HTML filepicker multi - get files in use

The following problem occured using Firefox v73 on Window 7: In my code i use a multi-file-picker in html to upload up to 100-files parallal: The files will be sent to a REST-API which process…
Kevin H.
  • 662
  • 1
  • 6
  • 16
11
votes
3 answers

Make PlatformFile into File in Flutter using File Picker

I am using the File Picker Plugin to choose a file from a device. The file is chosen in the datatype of a PlatformFile, but I want to send the file to Firebase Storage and I need a regular File for that. How can I convert the PlatformFile into a…
10
votes
1 answer

Android ACTION_GET_CONTENT does not update download dir files

I am facing an issue while choosing a file from Downloads directory using ACTION_GET_CONTENT. If I delete any file in ES explorer or file manager in my local storage, those deleted files aren't removed in downloads dir while opening in my app. Any…
Pans
  • 199
  • 17
10
votes
1 answer

How to convert the file/s upload request made through Filepicker into the similar request made by using simple HTML File control/s in PHP?

I've simple HTML File control/s on my form. It's dynamic in nature, means user can upload one or multiple files. Its HTML is as follows : If I…
PHPLover
  • 1
  • 51
  • 158
  • 311
7
votes
1 answer

Flutter pub get error ( open_file_safe ^3.2.3 and file_picker ^5.2.2 ) how to fix this?

After running pub get i am getting the following error (First time build) Because file_picker >=5.0.0 depends on ffi ^2.0.1 and open_file_safe 3.2.3 depends on ffi ^1.0.0, file_picker >=5.0.0 is incompatible with open_file_safe 3.2.3. And because no…
7
votes
5 answers

How do I start file chooser using intent in compose

I am trying to start file chooser on a button click (composable function). Unable to use startActivityForResult(). @Composable fun SelectScreen() { Button(onClick = { val intent = Intent(Intent.ACTION_GET_CONTENT) …
7
votes
1 answer

Flutter folder picker

I have a button on screen, when you click button I need to open some folder picker. I have searched for package, but I didn't found any package that also support Android and iOS. Does someone knows some package who will resolve this problem, or…
savke
  • 83
  • 1
  • 4
7
votes
2 answers

How to select files from google drive in android?

Is there any way to start file picker for google drive in android app - to do something similar to this http://googleappsdeveloper.blogspot.com/2012/08/allowing-user-to-select-google-drive.html. I need to allow user to select files from google…
6
votes
1 answer

How to access files from shared storage in Jetpack Compose?

I have a form where I need to attach a file from the phone. I have been looking for a file picker but it can only access images, not files like pdf, doc, docx, etc. How to achieve this all in jetpack compose?
6
votes
3 answers

File Picker for Android

Is there any picker available to pick file from the SDCard or Device memory,like FilePicker available in Blackberry? If not ,then any alternative for doing this? Please help me. Thanks in advance.
Himanshu Dudhat
  • 1,609
  • 3
  • 14
  • 27
1
2 3
27 28