Skip to content
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
@t-arn

Description

@t-arn

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

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

  2. I would like to map String[] to a variable, e.g.
    String = JavaClass("java/lang/String")
    myArray=String("one two three".split(" "))

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions