filechooser Questions

4

Solved

I am attempting to display an image file as soon as it is selected from a file chooser. The file chooser is restricted to .png and .jpg files with the selected files being stored in a variable of t...
Bypath asked 19/10, 2016 at 0:26

10

In situations where input file location is not known until runtime, using a GUI for file selection input reduces the likelihood of user error. Is there a way to invoke a file/folder chooser dialog ...
Plafker asked 8/4, 2013 at 17:18

9

I need to pick images from the device and upload it to the server. For the first time, when I pick the images, onShowFileChooser() gets called and everything works. But, when I try to click upload ...
St asked 16/4, 2015 at 6:24

11

Solved

I would like to get file path as input in my Python console application. Currently I can only ask for full path as an input in the console. Is there a way to trigger a simple user interface where...
Valdis asked 26/8, 2010 at 21:13

5

Solved

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....

4

Solved

How to list only directories in Kivy FileChooser? I've read about callback filters, but didn't found any examples. My Kv code: <Saveto>: select: select chooser: chooser orientation: 'verti...
Camail asked 10/12, 2015 at 9:25

3

Solved

I have a simple JavaFX window with a TextField for users to enter a file path and a separate browse link. JavaFX Window I'd like to ask how to extract the full file path of the selected file fr...
Quinnquinol asked 17/2, 2016 at 8:5

5

I have just started coding in Android Studio and feeling Awesome..!! How can I write a code for a 'Directory Picker'. i.e., When a button is clicked, a simple Dialog/Activity screen which can sho...
Ojibwa asked 12/1, 2015 at 9:22

2

I know that these two words get automatically translated, due to the browser language. But my HTML is not doing that. HTML: <p> <label for="id_company_logo"> Company Logo: </lab...
Meagre asked 15/1, 2013 at 15:2

0

There is an app where the Users Onboarding Flow is implemented as a Web page and it is being shown in the embedded WebView. One of that flow steps is a file uploading. It is implemented by using ...
Awry asked 22/10, 2019 at 12:30

1

We have a hybrid app that runs on Android and using webapp pages created in MVC. We have 2 buttons - 1. Document upload - Files, Gallery options should be available when this is clicked (no camer...
Linette asked 13/5, 2019 at 14:18

3

Solved

I have a screen where on a button click I open a file chooser and then I select a file named "Test.jpg" for further operation. I use following code to get name of that file. Uri uri = data.getData...
Stag asked 12/7, 2017 at 9:39

2

Solved

I am using GTK+ to create a C++ program. For choosing files I used native file chooser as the gtk file chooser has a memory leak. Here is my question: How can I set a default file name for the nat...
Escarp asked 1/3, 2019 at 19:48

4

My view controller has a single FileChooser instance used for both opening and saving files. Every time I call showOpenDialog() or showSaveDialog() from that instance, I expect the resulting dial...
Cavernous asked 28/4, 2016 at 16:13

1

Solved

With reference to the question asked in the same category, and as an extension of this: How to get the file path from a URI that points to a PDF document? (How to get the file path from a URI tha...
Brozak asked 24/8, 2018 at 7:11

1

Solved

In MATLAB, there's a function that prompts the user to choose one or more files - uigetfile, and there's another function which allows the user to choose a folder - uigetdir. I would like to provi...
Shrewsbury asked 20/7, 2018 at 10:54

4

Solved

My problem is that all the examples of using FileChooser requires you to pass in a stage. Only problem is that my UI is defined in an fxml file, which uses a controller class separate from the main...
Discrimination asked 25/8, 2014 at 17:59

2

Solved

I came across a little problem now with JavaFX. I tried to make a filechoosing in my code where I can point on a FOLDER instead of a file. Currently I don't have a solution for it. Do you know a wo...
Daze asked 21/2, 2012 at 10:31

2

Solved

My application has a main app Stage that opens a 2nd window from it. I want to focus on only one stage. I have 2 issues which I want to be resolved : 1 - How can I put the focus on only the seco...
Boudicca asked 8/4, 2015 at 12:11

3

Solved

I want to set file filters in a JavaFX FileChooser but I could not find a way to do it. My code: FileChooser fc = new FileChooser(); fc.setTitle("My File Chooser"); File f = fc.showOpenDialog...
Clinker asked 29/11, 2012 at 20:56

4

Solved

Hi there is a way to select folder where user want to save file in android . I check out http://code.google.com/p/android-file-dialog/ it has functionality to select file but i want to select fol...
Crabbed asked 21/12, 2011 at 9:8

2

Solved

Im using TinyMCE in a project and want the user to select and upload images to the server using its default insert image window. I want to click the following button: Open the browsers default ...
Sabaean asked 20/1, 2016 at 18:30

1

Solved

I would like to allow users of my program to open files only from a certain directory in the project folder. On Stack Overflow, I often find the following solution: chooser.setInitialDirectory(new ...
Johnathon asked 10/3, 2016 at 17:39

0

When I click on "Choose file" a file browser shows up and I can choose file/image I want to select. But after I choose a file, the file chooser closes and nothing happens. I am able to click on "C...
Mainstream asked 15/1, 2016 at 11:2

2

Solved

Using GTK+'s GtkFileChooserDialog, how can I allow the user to select a file or a folder (both are valid here). The actions available are mutually exclusive.
Afferent asked 3/7, 2010 at 9:9

© 2022 - 2025 — McMap. All rights reserved.