Skip to content
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

no way to change bootstrap #341

Closed
jligeza opened this issue May 11, 2016 · 4 comments
Closed

no way to change bootstrap #341

jligeza opened this issue May 11, 2016 · 4 comments

Comments

@jligeza
Copy link

jligeza commented May 11, 2016

There should be an option in buildozer.spec allowing to switch bootstraps between pygame, sdl2 and webview. I would like to test the new webview, but buildozer forces the sdl2.

@kived
Copy link
Contributor

kived commented May 11, 2016

You can now do this with buildozer master using android.bootstrap = webview.

@andresmrm
Copy link

@jligeza, did you managed to get it working?
The webview mode worked for me using p4a directly, but with buildozer I'm getting a black screen.
Maybe it's the port parameter that is missing? I don't know how to set it in the spec file.

@jligeza
Copy link
Author

jligeza commented Jul 18, 2016

@andresmrm Yes, I managed to launch it, here is the spec file: http://pastebin.com/un7szCmJ
However, it was very buggy and kept crashing all the time, probably because I used python 2 instead of 3.

@andresmrm
Copy link

Thanks, I'll test it.

Strange you say that it was buggy for you. For me the Flask webview worked much better then Kivy (with the last one, even a simple button was crashing randomly, with the first, I'm yet to see a crash).
But I'm building directly with p4a:
https://github.com/andresmrm/sshd-switch/blob/master/build.sh
Using ANDROIDAPI="21" and ANDROIDNDKVER="r12b".
I'm not sure but it seems the flask requirement installs python2 and python3 (not python3crystax). But it only worked installing p4a using pip from Python 2 and not from Python 3...

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

No branches or pull requests

3 participants