Commit dbdd22b
Add Gradle project with Chaquopy-based Android app
Replace the python-for-android/kivy build system with a standard Gradle
project using Chaquopy for Python integration. This is the core of the
architecture migration.
Build system:
- Gradle wrapper (8.11.1), root and app build files
- Chaquopy plugin for embedding Python in the Android app
- Updated .gitignore, requirements.txt, pyproject.toml
Java application layer:
- App, WebViewActivity, KolibriWebChromeClient for WebView-based UI
- KolibriServerService/ViewModel for managing the Kolibri HTTP server
- KolibriEnvironmentSetup for Python environment configuration
- WorkController/WorkControllerService for background task orchestration
- Worker classes (BaseTaskWorker, ForegroundWorker, BackgroundWorker)
- Task management (Task, TaskWorkerImpl, WorkerImpl, Observable/Observer)
- Notification system (Builder, Manager, NotificationRef, Notifier)
- Utility classes (AuthUtils, ContextUtil, NetworkUtils, ShareUtils)
Python application layer:
- main.py entry point for Kolibri server lifecycle
- taskworker.py and task_reconciler.py for background task execution
- auth.py for authentication token generation
- Kolibri plugin and settings modules
- monkey_patch_zeroconf.py for Android compatibility
Android resources:
- WebView layout with animated splash screen
- Kolibri logo vector drawable with wing-flap animation
- Notification icons, themes, colors
- Network security config, file provider paths
- Localized HTML content for loading/error screens
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 83aa736 commit dbdd22b
100 files changed
Lines changed: 12275 additions & 41 deletions
File tree
- app
- src/main
- java/org/learningequality/Kolibri
- notification
- task
- util
- workers
- python
- android_app_plugin
- res
- animator
- drawable-hdpi
- drawable-mdpi
- drawable-xhdpi
- drawable-xxhdpi
- drawable-xxxhdpi
- drawable
- layout
- mipmap-anydpi-v26
- mipmap
- values-ar
- values-b+es+419
- values-bg-rBG
- values-bn-rBD
- values-de
- values-el
- values-es-rES
- values-fa
- values-ff-rCM
- values-fr-rFR
- values-gu-rIN
- values-ha
- values-hi-rIN
- values-ht
- values-id
- values-it
- values-ka
- values-km
- values-ko
- values-mr
- values-my
- values-ny
- values-pa
- values-pt-rBR
- values-pt-rMZ
- values-sw-rTZ
- values-te
- values-uk
- values-ur-rPK
- values-vi
- values-yo
- values-zh
- values
- xml
- gradle/wrapper
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
26 | 14 | | |
| 15 | + | |
27 | 16 | | |
28 | | - | |
| 17 | + | |
29 | 18 | | |
30 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
31 | 24 | | |
32 | 25 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 26 | | |
| 27 | + | |
| 28 | + | |
39 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
40 | 61 | | |
41 | | - | |
42 | | - | |
43 | 62 | | |
44 | | - | |
| 63 | + | |
| 64 | + | |
0 commit comments