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
2
votes
2 answers

retrive file from one drive from a next.js application

I am using react-onedrive-filepicker to retrieve file content from a selected file located on OneDrive. My code is like:
user299791
  • 2,021
  • 3
  • 31
  • 57
2
votes
1 answer

Xamarin.Essentials FilePicker causes restart of app

We have a Xamarin Forms app that has a tab view. From one of the tabs, we open a new Content Page, which needs to have an option to select files and upload the attachment. Using Xamarin.Essentials FilePicker, we are able to pick the file and read…
2
votes
1 answer

If picked file name have no extensions, how we will get file mime type in flutter

I'm using file picker for my application. In that, I want to know picked file mime type even file name has no extension. How it is possible?
Maheswari
  • 65
  • 1
  • 6
2
votes
0 answers

What is happening in the App launching sequence of SwiftUI Document Based App?: File picker dialog shown automatically

I'm creating test Document based app with Xcode 11 and SwiftUI. At first, I have thought that I have to add file picker dialog and open menu/button to my app. But it need not. The file picker dialog was shown automatically when the app…
2
votes
3 answers

Flutter App working debug mode, in release app not working

When i run flutter run --release -v this command below error came Caused by: java.lang.IllegalAccessError: Interface androidx.lifecycle.b implemented by class com.mr.flutter.plugin.filepicker.FilePickerPlugin$LifeCycleObserver is inaccessible…
2
votes
2 answers

Xamarin forms: Xamarin.Plugin.FilePicker is not working on ios

I am using Xamarin.Plugin.FilePicker to choose a file from the device. Following is my code for picking a file from device: var file = await CrossFilePicker.Current.PickFile(); if (file != null) { filename_label.Text = file.FileName; } But this…
Sreejith Sree
  • 3,055
  • 4
  • 36
  • 105
2
votes
0 answers

Ionic Chooser Plugin not returning base64 string on Android

I am using the "@ionic-native/chooser": "^5.25.0" package in my Ionic Capacitor app to select and then upload files. I need the file content to be encoded in base64 string format, however strangely enough this is only happening for iOS and not…
2
votes
1 answer

Xamarin FilePicker blocks UserDialog

I am using the method srcPath = await CrossFilePicker.Current.PickFile(); from the package Xamarin.Plugin.FilePicker. This works fine and I can select a file on my device. Afterwards I want to give the user a feedback via await…
hjonas
  • 141
  • 10
2
votes
0 answers

Excel 2016 VBA FilePicker - Code to add Folders to Quick Access Group on Navigation Pane

I can't find a way to add links of folders (network ones) to the "Quick Access" group in the Navigation Pane of Excel 2016's File or Folder Picker. I create a File or Folder Picker in VBA, then I assign the most likely useful starting folder to…
Andras
  • 401
  • 2
  • 15
2
votes
2 answers

How can I Mock async method holding CrossFilePicker?

I am working on Xamarin.Forms project, that is using Autofac, Moq, and Plugin.FilePicker. One of button commands is calling method: private async void OnLoadFileExecute(object obj) { await PickUpFile(); LoadedPhrases =…
bakunet
  • 197
  • 1
  • 12
2
votes
1 answer

Unable to pick file on Oreo

On Android Nougat and below, I can simply get some file on my storage using this code : Intent chooseFile = new Intent(Intent.ACTION_GET_CONTENT); chooseFile.setType("*/*.jpg"); chooseFile = Intent.createChooser(chooseFile, "Choose a…
2
votes
2 answers

How to save and load InkCanvas gif file at fixed location without FilePicker

I want to save and load InkCanvas gif file without FilePicker. I saw a sample using FilePicker, but I want to save the gif file automatically when I click the save button. For example, when I save 1 InkCanvas gif file, Then the gif file is saved at…
Kay
  • 173
  • 14
2
votes
1 answer

Select file destination CrossFilePicker.Current.SaveFile(fileData) Xamarin Forms

I'm using Xamarin.Dialog.Plugin.FilePicker to pick a text file, and it works for me, but when I want to save a text file using CrossFilePicker.Current.SaveFile(fileData), a file destination picker is not openning. Any sugestion to save a file on a…
2
votes
0 answers

Ionic 2 : How to use the filePicker

I am using this plugin to upload files from my ios device: https://github.com/jcesarmobile/FilePicker-Phonegap-iOS-Plugin this is my code: uploadResume(){ var self = this; let utis = ["public.data"] // test if…
noor
  • 651
  • 1
  • 8
  • 19
2
votes
1 answer

The type or namespace name 'Windows' could not be found

I am trying to use filepicker for my hololens app. But I can't use it because my project can't add the 'windows' reference. When I write using Windows.Storage The type or namespace name 'Windows' could not be found -- This error message appears with…
Yong Hyun Kwon
  • 359
  • 1
  • 3
  • 15