-
Notifications
You must be signed in to change notification settings - Fork 4
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
Android support via Kivy #39
Comments
I've worked a bit on it, and it's really dirty code. At the moment, it doesn't look like it can be easily combined with the current codebase. Therefore, I propose to separate this into a different low-priority project: |
no idea on how easy it is to run python on android, but from a software design point of view, the android app should ideally be just another front end
|
In that case, we'll have to at least create a different file for it. It can't be put in |
yep indeed |
SitrepI spent yesterday evening and today's afternoon, trying to get Kivy to compile, using mostly I haven't had any success doing so. Getting
I've googled it, and it seems to have something to do with using a 64 bit version of Ubuntu, so I tried the proposed Virtualbox image. This Virtualbox runs a 32-bit Ubuntu Quantal Quetzal, which is very bad at getting virtualized. After re-enabling the old software sources (old-releases.ubuntu.com), I managed to pull in I tried compiling in this virtualbox, but it still fails. As soon as I get it working, I'll share a snapshot of this VM with you, so we have something to work with. I found an online APK builder, which is kinda cool, but I've been waiting for 45 minutes now, and it hasn't compiled anything yet. |
Some updates I've tried a lot to resolve the error above, but nothing did the trick. Right now, I've posted an issue on the buildozer github, but in the meantime, I'll try compiling with |
Update: I've managed to succesfully compile a Hello World app. We can now start working on the app. |
Hi, this looks very nice. I agree on everything depicted here except for the progress output. Spawning a What do you think about a combined approach? Terminal output and a progressbar at the same time? That would be fine for me, as well. |
Yep good idea; the progress bar field was just a quick idea to show the general concept (of an Androidcommunicator that modifies Kivy-elements to display the progress) |
A small update video to show you what the app currently looks like. Note that all shown behaviour is real: the login and parsing actually works. |
Good progress here :-) I think however, we should certainly not copy the necessary back-end classes as documented in issue #76 The ideal is depicted on the class diagram that I posted above: We should simply write implementations for the Android dependent classes (such as communicator, keyring, ...). The real workhorse back end code (worker, browser, ...) however, should not be duplicated. Code duplication is always the number one bad smell. As far as I understand now, problems arise when trying to compile a Kivy app that simply imports for example a back-end |
Agreed.
Probably, so the way to go right now would be to create a proof-of-concept parser based on |
We're not going to do this via Kivy. We made a lot of progress in the past, but the whole compilation procedure is just a pain in the ass. Instead, we'll create a separate project, written in Java and fully native. You can find this project here: https://github.com/GijsTimmers/kotnetcli-mobile |
We should check whether we can support Android. Maybe Kivy is the way to go.
The text was updated successfully, but these errors were encountered: