This commit is contained in:
Josia Pietsch 2024-11-12 00:15:43 +01:00
commit 118352740c
Signed by: jrpie
GPG key ID: E70B571D66986A2D
10 changed files with 62 additions and 2 deletions

32
.github/workflows/android.yml vendored Normal file
View file

@ -0,0 +1,32 @@
name: Android CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: upload apk
uses: actions/upload-artifact@v4
with:
name: launcher-debug-${{ github.sha }}.apk
path: app/build/outputs/apk/debug/app-debug.apk

23
BUILD.md Normal file
View file

@ -0,0 +1,23 @@
# Building µLauncher
## Using the command line
Install JDK 17 and the Android Sdk.
Make sure that `JAVA_HOME` and `ANDROID_HOME` are set correctly.
```
git clone https://github.com/jrpie/Launcher
cd Launcher
./gradlew build
```
See [this guide](https://developer.android.com/build/building-cmdline)
for further instructions.
## Using Android Studio
Install [Android Studio](https://developer.android.com/studio), import this project and build it.
See [this guide](https://developer.android.com/studio/run)
for further instructions.

View file

@ -23,8 +23,8 @@ android {
minSdkVersion 21
targetSdkVersion 35
compileSdk 35
versionCode 28
versionName "j-0.0.14"
versionCode 29
versionName "j-0.0.15"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
@ -59,6 +59,10 @@ android {
includeInBundle = false
}
lintOptions {
abortOnError false
}
}
dependencies {

View file

@ -0,0 +1 @@
Added option to use Accessibility Service instead of Device Admin for locking the screen.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 177 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 331 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

After

Width:  |  Height:  |  Size: 203 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

After

Width:  |  Height:  |  Size: 152 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB