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

How to upload file from xamarin mobile App To Web service?

I am trying to upload files from the Xamarin mobile app using Web Service. But after Pick File I could not send the file to the web service. I suppose the web service is located at the following…
Haytham
  • 1
  • 2
0
votes
1 answer

Can I use an imported file from FilePicker as a MediaPlayer source

I am working on an app that plays audio using the MediaPlayer. It works when the audio file to play is already in the Assets folder. However, my goal is to use the FilePicker plugin for the user to pick a file from their device to be played. From…
0
votes
1 answer

File Input accept every type of file, but not video and image

I want to implement an HTML5 file picker which accepts all kinds of files. But it should let the user select image/* and video/* files. To be more precise: I'm trying to disallow images and videos. Anything else should be…
tmuecksch
  • 6,222
  • 6
  • 40
  • 61
0
votes
0 answers

File picker run time exception

i'm creating a android filepicker project. the app works perfectly in the emulator but when i connected to my device it won't run. i faced a nullpointer exception for my device, but when i run that project in emulator it was perfectly executed. i…
0
votes
0 answers

Picking image from gallery with Xamarin CrossMedia Plugin causes app termination

I'm suffering with an annoying issue, when I pick a file using xamarin crossmedia plugin, my app freezes and crashs after some minutes. My code: async void ImageButton_Clicked(System.Object sender, System.EventArgs e) { if (!await…
Éder Rocha
  • 1,538
  • 11
  • 29
0
votes
1 answer

Microsoft OneDrive File picker sends access Token and fileId to android

Hi I m trying to integrate OneDrive with android using "com.microsoft.onedrivesdk:onedrive-picker-android:v2.0". I need to get accessToken of OneDrive and once I pick a file in the one Drive, it should send that fileId. I followed…
0
votes
1 answer

C# UWP - How do I fix the FileOpenPicker and StorageFile async error?

I am learning UWP, and am more familiar with Windows.Forms. I have two buttons to upload files through my application to the server (btnUploadPrice is one of the two). To get the existing location of the file and store that info, i looked up how…
0
votes
1 answer

Is broadFileSystemAccess required in UWP when using FilePicker

According to the docs broadFileSystemAccess and the accompanied windows setting is required for accessing files in locations other than the default UWP app accessible files. But when using a FilePicker is this still required? As the User specifies…
DTul
  • 646
  • 6
  • 21
0
votes
1 answer

Unable to copy file to different location using file picker

I am trying to implement a button for browsing the file and copying it to 'downloads' folder. I used this solution to do so. Please see my code here: public void browseFile(View view) { Intent chooseFile = new…
vinuraj_pg
  • 57
  • 1
  • 8
0
votes
0 answers

Android File Picker to get real file path from installed application files

I am trying to open file picker and select files from installed applications. In this case I am trying to access scanned file from Adobe Scan. When I choose file I get following uri content://com.adobe.scan.android.documents/document/root:1 But now…
xsheru
  • 467
  • 4
  • 25
0
votes
1 answer

Excel FilePicker dialogbox in Outlook code opens in background

I developed an Outlook macro that lets the user choose and open an Excel file. The file dialog box opens in the background. To the user it looks like the Outlook application is stuck whereas its just waiting for the user to choose a file in the…
Amrita Deb
  • 165
  • 1
  • 3
  • 15
0
votes
1 answer

System.IO.FileNotFound when passing file path value to OpenXML GetCellValue()

When I pass the value from the OpenFilePicker() method back to the button click method, I can utilize a debug string and ensure that the value is not null. However, when I pass it to the GetCellValue() method, a 'FileNotFound' exception is thrown.…
AbsoZed
  • 27
  • 7
0
votes
0 answers

File picker locations doesn't show images

I do this on the simulator using Xamarin.Plugin.FilePicker... var file = await CrossFilePicker.Current.PickFile(); And it shows this... How do I navigate to images, of which there are some on the simulator?
Ian Warburton
  • 15,170
  • 23
  • 107
  • 189
0
votes
1 answer

Type error when ionic serving with FilePicker-Phonegap-iOS-Plugin in ionic 3

i'm developping an Ionic3 App and wants to allow user to upload files from their devices. I’ve got an issue with cordova/phonegap file picker plugin. I followed the instructions here…
Bloob
  • 41
  • 1
  • 4
0
votes
2 answers

Xamarin IOS filepicker stuck

I am using xamarin.plugin.filepicker it works fine with android. but with IOS (iPhone 6+) it did not work. once it come to this code: var file = await CrossFilePicker.Current.PickFile(); it stuck and does not continue, the application not freese,…
Flying light
  • 183
  • 2
  • 11