Skip to content

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

Merged
inclement merged 1 commit into
kivy:masterfrom
tito:sdl2-fix-activity-result-new-intent
Jan 10, 2016
Merged

sdl2/bootstrap: add support for onActivityResult and onNewIntent#568
inclement merged 1 commit into
kivy:masterfrom
tito:sdl2-fix-activity-result-new-intent

Conversation

@tito

@tito tito commented Jan 10, 2016

Copy link
Copy Markdown
Member

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