Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
fd84db2
build: basic setup scripts to build baas on android
XcantloadX Sep 28, 2025
bb9404a
feat: platform check for ipc_manager and ocr server_installer
XcantloadX Oct 1, 2025
c54743c
feat: Shizuku API wrapper and minimal usage demo
XcantloadX Oct 5, 2025
ae927d3
docs: debugging guide for Android deployment
XcantloadX Oct 6, 2025
fd0b0d3
feat: file system api and package install/uninstall api
XcantloadX Oct 6, 2025
d14ac6e
feat: add adb adapter that forward adb calls to Shizuku call
XcantloadX Oct 7, 2025
a362580
#423
pur1fying Dec 5, 2025
dfd37a0
update : CN activity
pur1fying Dec 11, 2025
f99f90f
Revert "update : CN activity"
pur1fying Dec 11, 2025
972131e
feat: add Typer CLI and command for gradle only build
XcantloadX Dec 19, 2025
e0e46fd
feat: Android RapidOCR integration
XcantloadX Dec 20, 2025
faa6afa
feat: add sync script to sync Python source codes
XcantloadX Dec 20, 2025
6e5296f
feat: add crash screen
XcantloadX Dec 20, 2025
ee3c9b4
fix: add missing Kotlin dependency and missing placeholder methods
XcantloadX Dec 20, 2025
e1694b5
build: optimize build and debug workflow
XcantloadX Dec 20, 2025
3c5309f
fix: fix ClassDefNotFound error caused by incorrect autoclass call time
XcantloadX Dec 21, 2025
237ecbb
feat: fix many BoA bugs
XcantloadX Dec 21, 2025
98c9a65
docs: remove unused BoA docs
XcantloadX Dec 21, 2025
a296182
Merge branch 'master' into android_main
XcantloadX Dec 23, 2025
6cd2e85
docs: correct BoA build document
XcantloadX Dec 23, 2025
bd16b6d
fix: import error of rich on BoA because rich is not installed
XcantloadX Dec 23, 2025
1efe259
build: add missing sync folders
XcantloadX Dec 23, 2025
4828735
feat: use Runtime.exec(string[]) instead of string version to avoid s…
XcantloadX Dec 23, 2025
95543a2
feat: add virtual display implement for BoA
XcantloadX Dec 24, 2025
c0706e0
feat: add virtual display implement for BoA
XcantloadX Dec 23, 2025
cb71144
feat: optimize gui for android
XcantloadX Dec 24, 2025
e99b65b
build: pin dependency versions
XcantloadX Dec 24, 2025
98122fd
style: remove unused comments
XcantloadX Dec 24, 2025
d177b98
feat: Handle Shizuku permission in Java with user dialogs and retry
Copilot Dec 29, 2025
1d90801
Merge branch 'master' into pur1fy_dev
pur1fying Jan 7, 2026
21a770b
chore: add missing build dependency of Android deployment
XcantloadX Jan 10, 2026
243da01
Merge branch 'master' into pur1fy_dev
pur1fying Jan 15, 2026
02ff3b6
[ Incomplete ] Add task final_restriction_rls for pr #442
pur1fying Jan 17, 2026
1672d93
#442 templates for JP and CN final_restriction_rl. Logic of module/fi…
pur1fying Jan 19, 2026
15f5639
update : Global_ko-kr final_restriction_rls templates
pur1fying Jan 21, 2026
bf01943
update : Global_en-us and Global_zh-tw final_restriction_rls templates
pur1fying Jan 21, 2026
657cf36
update : CN reward-details, add scheduler logic
pur1fying Jan 22, 2026
e6a4943
fix: fix BoA numpy build error
XcantloadX Jan 25, 2026
3fbf9ba
Merge branch 'pr/400' into pur1fy_dev
pur1fying Jan 25, 2026
c26d45a
[ Android ] remove rapid ocr packages and adjust ndk path for github …
pur1fying Jan 29, 2026
aebfbae
[ Android ] enable build.py to read arch, ndk sdk path from cmd
pur1fying Jan 29, 2026
7520b56
move requirements-android.txt to deploy/android
pur1fying Jan 29, 2026
297d1c4
Remove requirements-linux in android build python requirements
pur1fying Jan 29, 2026
0d1bd10
[ Android ] : add min_api and bin_dir argument for build.py
pur1fying Jan 29, 2026
51868ab
Add GitHub Actions workflow for Android APK build
pur1fying Jan 29, 2026
5100923
Revert "Add GitHub Actions workflow for Android APK build"
pur1fying Jan 29, 2026
1140a5a
feat: update p4a version
XcantloadX Feb 12, 2026
eea03ce
feat: add build in docker bash script
XcantloadX Feb 12, 2026
fc3ce99
Merge remote-tracking branch 'upstream/pur1fy_dev' into android_main
XcantloadX Feb 12, 2026
de1b593
feat: update p4a version
XcantloadX Feb 12, 2026
e17630b
chore: remove unused files
XcantloadX Feb 12, 2026
6fb8dc8
fix: add patch for QTranslator.translate
XcantloadX Feb 12, 2026
5854e14
update : android ocr server install, start and stop methods
pur1fying Feb 12, 2026
be4de30
[ Android ] : add requirement kivy
pur1fying Feb 12, 2026
bdbd808
[ Android ] remove kivy and use pyjnius to get writable dir
pur1fying Feb 12, 2026
ac478e7
fix : ssl certificate error
pur1fying Feb 13, 2026
ba74dea
Fix : incorrect C++ runtime library name
pur1fying Feb 13, 2026
3512f5d
fix : platform.machine() failed to detect correct android arch
pur1fying Feb 13, 2026
2411a2f
fix : android_arch name change
pur1fying Feb 13, 2026
d7d3ded
fix : failed to load BAAS_ocr_server error ( error message at commit …
pur1fying Feb 13, 2026
3ce48da
fix : ocr client crash when server started twice
pur1fying Feb 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "Baas for Android Dev Container",
"build": {
"dockerfile": "../deploy/android/dockerfile",
"context": ".."
},
// "overrideCommand": false,
"remoteUser": "vscode",
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"tamasfe.even-better-toml"
],
"settings": {
"python.defaultInterpreterPath": "../.venv/bin/python",
"python.analysis.typeCheckingMode": "basic",
"python.terminal.activateEnvironment": true
}
}
},
"containerEnv": {
"PYTHONUNBUFFERED": "1",
"PIP_DISABLE_PIP_VERSION_CHECK": "1",
"PIP_NO_CACHE_DIR": "false",
"ADB_SERVER_SOCKET": "tcp:host.docker.internal:5037"
},
// "mounts": [
// "source=~/.pyside6-android-deploy,target=${containerWorkspaceFolder}/.pyside6-android-deploy,type=bind,consistency=cached"
// ],
"postCreateCommand": "bash deploy/android/setup_devcontainer.sh",
"runArgs": [
"--network=host"
]
}
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.venv
__pycache__
config/
error.log

/.sdk
/.pyside6_android_deploy
/.qt-lib
/.buildozer
/deployment
buildozer.spec
build
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.9
57 changes: 57 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Attach to BoA",
"type": "debugpy",
"request": "attach",
"connect": {
"host": "host.docker.internal",
"port": 5678
},
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "."
},
{
"localRoot": "${workspaceFolder}/.venv/lib/python3.9/site-packages",
"remoteRoot": "${workspaceFolder}/.buildozer/android/platform/build-arm64-v8a/build/python-installs/boa/arm64-v8a/"
},
{
"localRoot": "/usr/local/lib/python3.9/",
"remoteRoot": "${workspaceFolder}/.buildozer/android/platform/build-arm64-v8a/build/other_builds/python3/arm64-v8a__ndk_target_24/python3/Lib/"
}
],
"justMyCode": false
},
{
"name": "Sync and Start BoA",
"type": "debugpy",
"request": "attach",
"preLaunchTask": "prepare-android-debug",
"connect": {
"host": "host.docker.internal",
"port": 5678
},
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "."
},
{
"localRoot": "${workspaceFolder}/.venv/lib/python3.9/site-packages",
"remoteRoot": "${workspaceFolder}/.buildozer/android/platform/build-arm64-v8a/build/python-installs/boa/arm64-v8a/"
},
{
"localRoot": "/usr/local/lib/python3.9/",
"remoteRoot": "${workspaceFolder}/.buildozer/android/platform/build-arm64-v8a/build/other_builds/python3/arm64-v8a__ndk_target_24/python3/Lib/"
}
],
"justMyCode": false
}
]
}
33 changes: 33 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "prepare-android-debug",
"type": "shell",
"command": "python3 ./deploy/android/sync.py && adb forward tcp:5678 tcp:5678 && adb shell am force-stop top.qwq123.boa && adb shell am start -n top.qwq123.boa/org.baas.boa.MainActivity && sleep 1",
"problemMatcher": [],
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": false
}
},
{
"label": "BoA: Sync Files",
"type": "shell",
"command": "python3 ./deploy/android/sync.py",
"problemMatcher": [],
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": false
}
}
]
}
Loading