-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intent / data is always null in onActivityResult() #2
Comments
I have the same questions. Can anyone help us with this? |
Please upgrade to the newest qpython version and insert "#qpy:qpyapp" into your script then retry ? |
Thanks @riverfor! Your suggestion worked for me. I have one question left. Following the example from here, on line 112 you are reading out a result from the returned bundle, that is generated by the Python code according to the comment on the same line. In my case, result is always an empty string. How can I return a result from the Python code, such that result is not an empty string? |
onActivityResult Result is empty ,how to attach result ? |
I have the same problem running the sample app without changing a line of code. I geta result of: "onQPyExec: return ()" Help please. |
Is still anyone mantaining this repo? |
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:
The text was updated successfully, but these errors were encountered: