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
6
votes
1 answer

UWP app: FileOpenPicker PickSingleFileAsync() can't await

I'm trying to let the user browse for a file with the FileOpenPicker class, but when I use the PickSingleFileAsync function with await, I get following error: 'IAsyncOperation' does not contain a definition for 'GetAwaiter' and no extension method…
6
votes
1 answer

Html file picker with jQuery

Possible Duplicate: Reading client side text file using Javascript I want to open a txt file at client, parse it with javascript and post parsed data to a server page with ajax. I have scripts for parsing and posting. All i need now is to simply…
hakan
  • 3,284
  • 2
  • 19
  • 25
5
votes
3 answers

Xamarin IOS: Is there a file picker picker

I am looking for a File Picker library using iCloud for Xamarin Form for iOS. Currently I am using FilePicker-Plugin-for-Xamarin-and-Windows for Xamarin Form project. It will show the file picker on android application but when running on iOS, there…
LittleFunny
  • 8,155
  • 15
  • 87
  • 198
5
votes
3 answers

Android File Picker

Is there a good solution for picking a file in an android application? I need the user to be able to browse their SD card for a file they would like to load. However, it cannot use an outside application (like andExplorer or OI File Manager). It…
Kleptine
  • 5,089
  • 16
  • 58
  • 81
4
votes
0 answers

file_picker allowedExtensions filter dosent work

i using extention file_picker in flutter width extention filter try { result = await FilePicker.platform.pickFiles( type: FileType.custom, allowedExtensions: ['jpeg', 'jpg', 'heic', 'pdf'], ); } catch (e) { …
Jury Dpling
  • 685
  • 5
  • 10
4
votes
4 answers

File_Picker plugin doesn't return absolute path for write file in Flutter

I'm using the file_picker plugin to pick files from device storage in my flutter app. I need an absolute path so that I can read/write files. But picking file using file_picker plugin just returns the path of the copied file which is stored in the…
Nayeem Islam
  • 51
  • 1
  • 7
4
votes
1 answer

File picker : unexpected element found in

Whenever I add file picker package to pubspec.yaml file and re run the app I get the following error: FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:processDebugResources'. A failure occurred while…
Niteesh
  • 2,742
  • 3
  • 12
  • 33
4
votes
2 answers

How to open graphical files picker in Flutter on Linux?

I have problems with opening graphical files picker on Linux in Flutter, Flutter just cannot do it "from box" on Desktop. I am using Flutter 1.24.0-3.0.pre to get Desktop support in Dart. So, how to open it on Linux? (I've created this question…
tdrkDev
  • 69
  • 4
4
votes
3 answers

Flutter file_picker plugin can't build project

After adding file_picker: ^1.13.3 to my dependencies the project can't build with this error FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:mergeDebugJavaResource'. A failure occurred while executing…
4
votes
2 answers

Convert mime types in fileChooserParams to the right format for Intent.setType

I am trying to upload a file using a WebView in Android. This is the code in use: @TargetApi(Build.VERSION_CODES.LOLLIPOP) @Override public boolean onShowFileChooser(WebView webView, final ValueCallback filePathsCallback, final…
Gabe
  • 5,997
  • 5
  • 46
  • 92
4
votes
1 answer

SuggestedStartLocation vs ActualStartLocation

There is no such thing as ActualStartLocation in UWP when setting the folder to open the FileOpenPicker, and that is the reason for my question. There is a SuggestedStartLocation, but the Microsoft site clearly states: "The SuggestedStartLocation is…
ThePeter
  • 883
  • 1
  • 7
  • 15
4
votes
0 answers

FilePicker does not open on Raspberry PI 3

I am developing an UWP 5.2.2 Windows 10 app. For a Raspberry PI 3 OS: 10.0.14393.576 I am using a direct copy of the code sample from MSDN quickstart-using-file-and-folder-pickers I have added the pictures Library to the app manifest file Here is…
4
votes
3 answers

UWP apps accessing files from random location on system

in UWP there are files and permissions restrictions, so we can only acces files directly from few folders or we can use filepicker to access from anywhere on system. how can I use the files picked from filepicker and use them anytime again when the…
Muhammad Touseef
  • 4,357
  • 4
  • 31
  • 75
4
votes
1 answer

Cannot implicitly convert type IAsyncOperation to StorageFile

What the hell is wrong with my code? private void BrowseButton_Click(object sender, RoutedEventArgs e) { FileOpenPicker FilePicker = new FileOpenPicker(); FilePicker.FileTypeFilter.Add(".exe"); FilePicker.ViewMode =…
gabrieljcs
  • 689
  • 6
  • 13
3
votes
0 answers

React Native how to open document picker from specific path

i am create one Image Editor application and for that i have some requirements that user can Edit that image that present in App Internal path (data/data/com.myapp/files) for that i have done open gallery and import (copy) in inside…
1
2
3
27 28