Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
27 views

Adding Kivy filechooser to a PopUp in Python

I have been trying to create a file chooser popup from a button release for an app. I have managed a FileChooser, and Popups separately, but can't work out the two together, can anyone here help with ...
KiefyTk's user avatar
2 votes
1 answer
46 views

Customizing pygtk file chooser dialog

I am creating a Gtk file chooser dialog as follows (see below for full example): dialog = Gtk.FileChooserDialog( title="Select a File", action=Gtk.FileChooserAction.OPEN) I would ...
January's user avatar
  • 16.9k
0 votes
0 answers
34 views

Trying to use the add_extra member function in Fl_File_Chooser to add an extra button (FLTK)

I wish to use the Fl_File_Chooser to select a directory path for use in my main code. The main code uses a button and callback to run the Chooser in cb_dirselect(). If I set the Chooser in DIRECTORY ...
kgb's user avatar
  • 1
1 vote
1 answer
102 views

What is the replacement for GtkFileChooserWidget given that direct use of it is deprecated?

I'm developing a GTK 4 application where I want to let users pick a directory to do some operation on. As such, I looked into GTK's widgets for doing just that, and came upon GtkFileChooserWidget. ...
Newbyte's user avatar
  • 2,827
0 votes
0 answers
52 views

How to enable camera filechooser from Android Webview?

I am using the following code to let users upload images to a website. This works sort off (Android constantly nags that only the selected files are shared, duh). Now I want to enable the user to use ...
Richard Marell's user avatar
0 votes
1 answer
92 views

How to avoid a class cast exception between Windows and MacOS?

We develop a Java application under a Windows environment (OpenJDK17 for Windows), but recently it was requested to make sure everything works under MacOS. Even though it is a Java application, some ...
douglasf's user avatar
0 votes
0 answers
41 views

Handling Windows filechooser dialog with Selenium

I am wondering if there are any Selenium users who have to deal with things like the Windows File Chooser Dialog, which Selenium can't handle (and for which sendKeys() to the input box will not work)? ...
Tony's user avatar
  • 1,155
0 votes
0 answers
15 views

dynamically creating screens to display Excel data with spliting on the null value rows

I wanna display the Excel data with splitting on their null value rows and display them on new screen each until it reach the end of the excel row but in my code it ask me to create screen for all ...
tewodros Abebaw's user avatar
0 votes
0 answers
45 views

Problems reading files in kivy - android

how to solve the storage access problem on Android to open any type of file. I have tried putting the permissions in the .spec and the requests in the .py but the filechooser only opens some text or ...
TD-DEV's user avatar
  • 1
3 votes
1 answer
65 views

How to change the folder in Gtk3::FileChooserButton programmatically?

I am trying to fix a bug in a Perl GTK3 app. In the settings dialog there is a FileChooserButton which is being used to set the path where files will be saved. The app also has the ability to save all ...
Photon's user avatar
  • 345
0 votes
1 answer
410 views

How do I use MaterialFilePicker?

I am trying to use MaterialFilePicker for my Android Java music player. I have included it in my two build.gradle files, and have adjusted my colors.xml and styles.xml files accordingly, but can't ...
user avatar
1 vote
1 answer
259 views

Android file chooser not giving proper uri

I am trying to upload selected file. but when I select the file from recent file section I am getting different path like content://com.android.providers.media.documents/document/document%3A1000007352 ...
Swapnil33's user avatar
0 votes
0 answers
184 views

File won't open in r

I'm new to using R and thought I had opening files down but alas, I am struggling. This is the error message I am receiving: Error in file(file, "rt") : cannot open the connection In ...
Mackenzie Dawes's user avatar
0 votes
0 answers
301 views

File chooser in Android WebView not working

I have implemented a file chooser in an Android WebView and I'm at the point of onActivityResult being called, right after selectiong a file (e.g. an image or a PDF). This is how I open the file ...
Manu's user avatar
  • 4,107
1 vote
0 answers
81 views

Model not loading after using plyer filechooser

I have a trained model which is loading in the main python file. It is working and giving predictions when I choose kivy's FileChooseListView but I wanted to make it better so I used plyer filechooser ...
Shahan's user avatar
  • 11
0 votes
0 answers
245 views

How do I get csv file from excel into R environment with the file.choose function?

I am new to the progamming world so I am following a Udemy course on R and I am to enter a command like this: mydata <- read.csv(file.choose()) which is meant to make the csv file that I've saved ...
Vivica's user avatar
  • 1
0 votes
0 answers
93 views

Changing the language of a filechooser java

I'm doing a program that requests that I change the names on the labels of my filechooser in java I have tried multiple ways with no results. I want to switch the language to spanish that's why I can'...
Mat2002's user avatar
  • 21
1 vote
0 answers
76 views

Any GUI filechooser that works with Kivy?

New to coding but I tried to use the tkinter file dialog module in my kivy app but it does not work together. Is there any other filechooser that would work? I know kivy has their own but it is not ...
DP1234's user avatar
  • 11
0 votes
1 answer
31 views

How can I return in a GTK function in C a list of characters with GSList?

I need to save the path of each file contained in a folder. This is the code: void on_file1_file_set(GtkFileChooserButton *chooser){ GSList filelist; printf("file name = %s\n", ...
Fidel Alejandro Sánchez 's user avatar
0 votes
1 answer
400 views

Files Chooser for Xamarin Forms Not adding the selected image taken from camera and file

I'm creating a mobile application using Xamarin forms, As part of my implementation, I have a requirement to to show file chooser on clicking on camera icon which is loaded in webView and load the ...
I'm Coder's user avatar
  • 135
0 votes
0 answers
24 views

Show video in mediaView only after recompiling project - Maven JAVAFX [duplicate]

I have a problem with my javafx project which uses maven dependencies. The goal is to upload a file via filechooser (in a configuration control) and then by clicking on a button, change the scene and ...
andreYLLI's user avatar
1 vote
1 answer
800 views

Puppeteer file-chooser upload not working

I try to upload a video on instagram using puppeteer with FileChooser: const selectBtn = await page.$x("selector...") const [fileChooser] = await Promise.all([ page.waitForFileChooser(), ...
simplesystems's user avatar
-1 votes
2 answers
399 views

Write JavaFX Blob data field image

In my class, the attribute where the image will be saved is defined like this: @Lob @Column(name = "NOTA_FISCAL", nullable = false, columnDefinition = "mediumblob") ...
Homer's user avatar
  • 17
1 vote
1 answer
51 views

FileChooserListView kivy disable expande function

I'm using FileChooserListView to be able to navigate inside a folder and choose a file from it. I'm using filters and if statements so that when I click on a folder it directly open a certain sub ...
Syrine's user avatar
  • 21
1 vote
0 answers
637 views

How to create file chooser with camera option in android Studio?

I want to implement file chooser with camera option.When we select Camera images should be captured and the path of captured image should displayed on textview.and file chooser should be with pdf,word,...
Suraj D's user avatar
  • 11
0 votes
3 answers
246 views

Trying to use Java Swing and Filechooser but there is an error in my code

I have a java program with a GUI as follows. What it does is it consists of a button that allows a user to select a file and on selecting the file the command prompt should open up and change to the ...
abc's user avatar
  • 49
0 votes
1 answer
230 views

Run cmd commands in the background through java

I am creating a GUI in java that requires a set of commands to be run through the command line one after the other in the background after the user selects a file and clicks a button in the GUI. The ...
abc's user avatar
  • 49
1 vote
1 answer
44 views

Access an external file in Codename One

I want to play an audio that is in a WhatsApp folder. Is it possible with codename one to access images and audios that are in another application? I know there are other applications that can do it ...
Alejandro Fernandez's user avatar
1 vote
0 answers
129 views

How to dismiss Playwright fileChooser upon invalid file?

I am purposely loading an invalid image file (with fileChooser) to trigger a warning popup on the app I'm testing against. This works until I dismiss the popup by clicking Ok because at that point, I ...
AlexD's user avatar
  • 571
-1 votes
1 answer
863 views

How to save a file uploaded by FileChooser to a directory in your project?

so as the title of the post states I'm asking for a way that I can say a file I uploaded using FileChooser to a directory in my project. More specifically, I'm uploading images and I want to save them ...
Mohamad S.'s user avatar
0 votes
1 answer
618 views

Is there a way to access files via a file chooser dialog when running tests on Sauce Labs?

I am performing automated cross-browser testing using Selenium and Sauce Labs. The web application under test requires files to be accessed via a file chooser dialog. I’d like to access these files ...
G Sharma's user avatar
1 vote
1 answer
1k views

How to allow selection of CSV in a File Chooser Intent in Android

after struggling one day I found this code "almost" works: private fun showFileChooser() { val mimeTypes = arrayOf( "text/csv", "text/plain&...
Sixro's user avatar
  • 429
2 votes
1 answer
346 views

Form.File is invoking error React.jsx: type is invalid -- expected a string or a class/function (for composite components) but got: undefined

I am trying to upload a image to website using react with multer.And in the process i am stuck because the Form.File is undefined and i dont know how to overcome this. Here is the ProductEditScreen.js ...
krishnaacharyaa's user avatar
1 vote
2 answers
4k views

Loading all images & videos from gallery in the app activity & selecting some of them

I want to choose multiple media (videos or images) from gallery on clicking a button, but only, after showing all the media from the gallery in activity of my app only, (without opening my phone ...
Nandini Agarwal's user avatar
-2 votes
1 answer
230 views

Is there a method similar to getSelectedFile in JavaFX that returns a File?

Is there a method similar to getSelectedFile in JavaFX that returns a File? I have tried this code now trying to perfect the commented out //fileToSend[0] @FXML private void chooseButtonAction(...
Parvez Ahammed's user avatar
0 votes
0 answers
760 views

Android :: Pick a file with specific extension

I need to pick a file with specific extension (.jpg, .jpeg, .png and .cv). I'm trying to make it using standard chooser intent private fun showFileChooser() { val intent = Intent(Intent....
Introhart's user avatar
0 votes
1 answer
639 views

Kivy FileChooser: how do I list Files only and not Directories?

I created a FileChooser (below) in Kivy that displays directories and not files. But, how do I create a FileChooser in Kivy that will display only files and not directories. My KV code: ...
GoodinSo's user avatar
0 votes
1 answer
408 views

How to get the file chooser window to close using Puppeteer?

I'm using Puppeteer to upload a file from my desktop to a website. It does upload the file, but the file explorer window stays opened and so the automation stops working. const [fileCHooser] = await ...
PeterO's user avatar
  • 31
0 votes
1 answer
108 views

id not being passed to filechooser

I have attached an image showing that the correct filechooser path is being printed out to the console when selecting the file. From that, I assume that the problem is that the self.ids.image.source = ...
Kiko Ramirez's user avatar
0 votes
2 answers
97 views

How can I get a FileChooser to populate a TextView during a TableRow creation?

Problem: I'm having trouble getting a FileChooser class to populate a TextView during a TableRow creation. I receiving a Invocation Exception in the Android created "looper.java" which ...
svstackoverflow's user avatar
0 votes
1 answer
869 views

Open file with File Chooser - kivy python

How should I use correctly the selection feature of the FileChooser (def make_option2) in order to open it using another function (def show_selection) ? def make_option2(self): layout = BoxLayout(...
Bar Kadosh's user avatar
1 vote
2 answers
633 views

How to create a simple folder chooser with swing like this?

I'm learning java swing recently. Please don't tell me it's out of date. I know. I want to create a folder selector like this, there is nothing extra. Instead of the following, there are many other ...
Ulrica Lin's user avatar
12 votes
5 answers
9k views

How do I start file chooser using intent in compose

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(...
Hitesh Patel's user avatar
1 vote
1 answer
701 views

How do use console to choose any file from a folder?

I need to be able to choose any file inside a folder by input on console. Code Instead of a predefined like "bridge_rgb.png" I want to be able to choose any file in the folder via console ...
Dylan 's user avatar
  • 23
0 votes
1 answer
936 views

How to set initial directory in GTK3 FileChooser in Python?

EDIT: Solution found and shown in code below. Python noob here. I usually like to find answers myself, but I'm striking out on this one. I simply want to set the directory the user starts in when ...
Jerome Ellis's user avatar
-1 votes
1 answer
128 views

Open with dialog appears after choosing a file on Android 10

After upgrading my phone(Redmi 7a pie) to android 10 sometimes open with dialog appears when choosing a file with file chooser Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setType(&...
nimday's user avatar
  • 343
1 vote
1 answer
647 views

GTK3 File chooser Recent list

I have a GTK+-3 application, which has a File-chooser widget. Everything works, except I can't really find the files I opened in the application earlier in the Recent list. Is there any special call ...
Lev's user avatar
  • 91
0 votes
1 answer
521 views

Why is my resultLauncher.launch(intent) returning null when I see that it is not?

Problem: During debugging, it appears a Trace.traceEnd(traceTag) is executing on a '0' (zero) value when the 'if' argument says the value is not equal (i.e., !=) to zero. See attached screen shot ...
svstackoverflow's user avatar
0 votes
1 answer
2k views

How to use Android's File Chooser to pick from my app's folder

I am targeting Android 10 (SDK 30 or above) and trying to allow the user to pick a file that the app has created. The files are in the app's folder (in my case something like /storage/emulated/0/...
Uberbug's user avatar
  • 127
0 votes
1 answer
467 views

Kivy FileChooser Overlapping

I am using the FileChooserListView from kivy and have run into a overlapping text on scroll with screens that another user came across as well. I looked through their post on GitHub and read that some ...
Binx's user avatar
  • 414

1
2 3 4 5
10