Bedienungshilfe kann jetzt bedienen: canPerformGestures + dispatchGesture (tap/ swipe), ACTION_SET_TEXT (text), performGlobalAction (back/home/recents/notif). app_launch via getLaunchIntentForPackage (+ Label-Suche, QUERY_ALL_PACKAGES). caps erweitert. Brain-Tools host_ui_tap/_text/_swipe/_key/host_app_launch -> generischer _UI_ACTIONS-Dispatch. Tap-Koordinaten = ui_dump-x/y (echte Pixel, nicht der skalierte Screenshot). Damit voller Ablauf sehen->steuern. Version 0.0.0.6. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
58 lines
1.7 KiB
Groovy
58 lines
1.7 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'org.jetbrains.kotlin.android'
|
|
}
|
|
|
|
android {
|
|
namespace 'de.hackersoft.ariaagent'
|
|
compileSdk 34
|
|
|
|
defaultConfig {
|
|
applicationId 'de.hackersoft.ariaagent'
|
|
minSdk 26
|
|
targetSdk 33 // 33 vermeidet die Foreground-Service-Typ-Pflicht von 34
|
|
versionCode 6
|
|
versionName '0.0.0.6'
|
|
}
|
|
|
|
// Fester Signaturschlüssel: jeder Build signiert mit DEMSELBEN Key, damit
|
|
// Android neue APKs als Update derselben App akzeptiert (sonst "Konflikt mit
|
|
// bestehendem Paket"). Die Keystore-Datei liegt NUR lokal (gitignored, nicht
|
|
// im oeffentlichen Repo) — UNBEDINGT sichern, sonst brechen kuenftige Updates.
|
|
def ariaKeystore = rootProject.file('aria-agent.keystore')
|
|
signingConfigs {
|
|
aria {
|
|
if (ariaKeystore.exists()) {
|
|
storeFile ariaKeystore
|
|
storePassword 'ariaagent'
|
|
keyAlias 'aria'
|
|
keyPassword 'ariaagent'
|
|
}
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
if (ariaKeystore.exists()) signingConfig signingConfigs.aria
|
|
}
|
|
release {
|
|
minifyEnabled false
|
|
if (ariaKeystore.exists()) signingConfig signingConfigs.aria
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '17'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'androidx.core:core-ktx:1.12.0'
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
implementation 'com.squareup.okhttp3:okhttp:4.12.0' // RVS-WebSocket
|
|
implementation 'com.journeyapps:zxing-android-embedded:4.3.0' // QR-Scan (FOSS, kein Google-Dienst)
|
|
}
|