This repository was archived by the owner on Oct 12, 2022. It is now read-only.
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
Enable string arrays in Java methods #55
Closed
Description
Is your feature request related to a problem? Please describe.
I wanted to call the Android Intent ACTION_OPEN_DOCUMENT where you can pass a String[] with file types.
This creates a rubicon error.
See this PR: beeware/toga#1158
Describe the solution you'd like
-
I would like to be able to pass in String[] to native Java methods (see PR, src/android/toga_android/window.py, open_file_dialog
-
I would like to map String[] to a variable, e.g.
String = JavaClass("java/lang/String")
myArray=String("one two three".split(" "))