You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`
void setup() {
selectInput("Select a file to process:", "fileSelected");
}
void fileSelected(File selection) {
if (selection == null) {
println("Window was closed or the user hit cancel.");
} else {
println("User selected " + selection.getAbsolutePath());
}
}`
switch from Java mode to Android mode, processing gives error, Am I doing something stupid?
The text was updated successfully, but these errors were encountered:
Hi, unfortunately the selectInput() function is not currently implemented in the Android mode, essentially due to the reason we discussed in #295: there is no native file selection widget in Android. I will mark this as en enhancement, but cannot give you at this time an estimate on when this will be addressed.
`
void setup() {
selectInput("Select a file to process:", "fileSelected");
}
void fileSelected(File selection) {
if (selection == null) {
println("Window was closed or the user hit cancel.");
} else {
println("User selected " + selection.getAbsolutePath());
}
}`
switch from Java mode to Android mode, processing gives error, Am I doing something stupid?
The text was updated successfully, but these errors were encountered: