Skip to content

Intent / data is always null in onActivityResult() #2

@kendoboris

Description

@kendoboris

Pressing the "Click me" button executes the python code in QPython.

However, first of all it requires the user to press a keyboard key to exit the console. Secondly, after leaving the console (by pressing a key) the user is brought to the QPython Log window. Only, then after pressing the back button, the user is brought back to the calling application, and then the Intent data in onActivityResult() is null.

Issues:

  1. can we fix it so that Intent data is not null in onActivityResult()?
  2. is it possible to execute the Python code and obtain the result in the calling application (in onActivityResult()), without any interaction of the user required (so no key press required to close the console or back button to return to the calling application)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions