Skip to content

sdl2/bootstrap: add support for onActivityResult and onNewIntent #568

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

Merged
merged 1 commit into from
Jan 10, 2016

Conversation

tito
Copy link
Member

@tito tito commented Jan 10, 2016

This bring back the functionnality of onNewIntent/onActivityResult callback from Java activity to Python.
Since you cannot override dynamically the activity with pyjnius, the only way is to declare thoses function directly in the Activity, and provide a support from Python.
The android.activity module within the bind() function already provide this, but the java part could be used without android module at all.

This bring back the functionnality of onNewIntent/onActivityResult callback from Java activity to Python.
Since you cannot override dynamically the activity with pyjnius, the only way is to declare thoses function directly in the Activity, and provide a support from Python.
The android.activity module within the bind() function already provide this, but the java part could be used without android module at all.
@tito tito changed the title sdl2/bootrstrap: add support for onActivityResult and onNewIntent sdl2/bootstrap: add support for onActivityResult and onNewIntent Jan 10, 2016
inclement added a commit that referenced this pull request Jan 10, 2016
sdl2/bootstrap: add support for onActivityResult and onNewIntent
@inclement inclement merged commit 5182831 into kivy:master Jan 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants