Questions tagged [filechooser]

A GUI component that allows to navigate over the file system, selecting files and folders of interest.

Usually file chooser is similar to the file explorer. It allows to navigate over the file system, selecting files and folders of interest or to specify yet non-existing files in the existing folder ("Save as").

File chooser can often be configured to show only set of selected file types, allow or disallow multiple selection and allow or disallow selection of folders rather than files.

This component is present in libraries of many languages.

472 questions
0
votes
0 answers

How to pass data from onClick function

I'm building a small Haskell GUI application as an exercise for myself using the gtk2hs library, but I'm stuck at a certain point. So I want to show a FileChooserDialog where a user can select multiple images, and I made a function that does all of…
user4424299
0
votes
4 answers

Android Intent chooser - wrong propositions

I want to open any file in my app using intent chooser - unfortunately, propositions from chooser are... weird. After choosing png file it displays only one option - Drive PDF Viewer. But when I try to open the same file using default files explorer…
Lau
  • 1,804
  • 1
  • 23
  • 49
0
votes
0 answers

File Chooser not opening in Android Lollipop on Oppo F1 & LG G2

I have one problem with Oppo F1 and LG G2 running Lollipop. On other devices running Lollipop, the problem does not appear My Problem is that File Chooser doesn't show with the mentioned devices. What I'm currently doing: private WebView web; …
0
votes
1 answer

FileChooserButton Gtk

Can someone tell me what type of signal for FileChooserButton I have to use, to get file path by clicking on the actual file in FileChooserDialog that was brought up by FileChooserButton? I've used both file_set and file_activated signals but…
Anton
  • 68
  • 3
  • 7
0
votes
1 answer

How to use path from FileChooser for image's absolute path?

What i want is when user choose one image with File Chooser to display it on screen. FileChooser fc = new FileChooser(); File selectedFile = fc.showOpenDialog(null); if(selectedFile != null) { …
Miljan Rakita
  • 1,433
  • 4
  • 23
  • 44
0
votes
2 answers

How deal with FileChooser in GTK with static compilation

I have to create one-file (.exe) program. In this program user can choose directory from his computer. I create program in order of http://www.tarnyko.net/en/?q=node/31 and it run well. But when I invoke FileChoser (click on button) I got this…
0
votes
4 answers

How to set the save path for a file chosen in filechooser JavaFX

I searched around but couldn't find nothing on this. I would like to set the save (destination) path for a file selected in Filechooser. For example, I selected a picture called 'test.jpg', I would like for this 'test.jpg' to be saved to…
Jonathan
  • 93
  • 1
  • 3
  • 10
0
votes
4 answers

Copy selected file to Project directory

I am new in JavaFx, I wonder how to copy a file already selected by Filechooser to my project folder. public void ButtonAction(ActionEvent event) { FileChooser fc = new FileChooser(); fc.setTitle("attach a file"); File selectedFile =…
Yassine EL
  • 23
  • 1
  • 3
0
votes
0 answers

Not serializable exception File Chooser

I have problem with saving object to output stream. I was reading something there and i tried to make FileChosser transient, but my IDE says, that it is not allowed here. All my classes implements Serializable, so I don't know, where is problem.…
preneond
  • 497
  • 2
  • 5
  • 21
0
votes
2 answers

Saving jTextPane text not working properly

I'm trying to save a "history" I'm building after you sent a command from a line, so every time you press Enter the commands goes to the jTextPane with a line separator... However when I save the file it doesn't seem to get the line separator.…
0
votes
1 answer

Android open file from my application into suitable application installed error

I have the following code to launch application chooser to open any type of file, but when ever I try to open the file I get the message file cannot be opened. Intent intent = new Intent(Intent.ACTION_VIEW,…
user173488
  • 947
  • 1
  • 9
  • 20
0
votes
0 answers

PHP Save or Load using FileChooser

I have two buttons where, actually, pushing, I can save and then load a static file using: file_put_contents('results.json', $result); (Save button) $arr1= json_decode(file_get_contents('results.json'),true); (Load button) Using these…
0
votes
1 answer

JFileChooser or need to use something else

I am plannind to do a POC and the basic requirements for my application: I am trying to import a file (or) files - Option for MultiSelect - Options for thumbnails (apart from Details and List) mainly for images - Support for both Windows and…
0
votes
2 answers

Is it possible to refresh program files in JavaFX while an instance is running?

I am building an inventory management system and have created a button which opens a new FXML for entering a new item into the database. I have created the ability to add an image and it updates the image column of the database with the URL and when…
dubskiski
  • 67
  • 2
  • 12
0
votes
0 answers

How to choose add multiple images at the same time in android?

i am working on a design to post some images. i have following design in mind. help me how can i add button in gridview item.demo image which i am tring This is the code i am trying. @Override protected void onActivityResult(int requestCode, int…
Arun Kumar
  • 13
  • 1
  • 6