-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
webbrowser.open() doesn't work on Android with bootstrap=sdl2 #846
Comments
To fix this error, I add the android module to the requirements in buildozer.spec. |
I believe you also need to do an "import android" prior to calling webbrowser.open() (unless something else is automatically importing), as the android module registers the AndroidBrowser with the webbrowser module. |
For reference, the specific code you need is as below (you can use this instead of the android module if you like):
I'd like to add this to the doc somehow, but am not sure where to put it. |
I've added some brief documentation for this, and we're discussing how to make it easily/automatically available by default. |
Thanks for the clues, but your solution does not work because it is not complete.
|
webbrowser.open() doesn't work on Android with bootstrap=sdl2, but work with pygame.
No error, no crash, just nothing happens. Is there any solution to fix this issue?
Android Version: 6.0.1
From buildozer logs
The text was updated successfully, but these errors were encountered: