Knowledge Base updated: 2026-11-16
Knowledge Base Index
1. Orientation
This repository is a single Android application module for AAAD, centered on an Android app that presents payment/license screens and shared UI for managing pro-code and license-transfer flows.
Main parts:
- Android/Gradle project shell: build files, manifest, packaging, and app entrypoints.
- Payment and license flow: activities and model/state for payment/about, pro-code entry, and license transfer.
- Shared UI components: dialogs, buttons, menus, headers, and animation resources.
- Utility layer: common Android helpers and version metadata/comparison logic.
- Resources and localization: drawables, launcher assets, fonts, values, translations, and XML resources.
Critical state appears to be Android app-local state managed by the activity/model/helper layer; there is no repository-local database, queue, cache, or server-side storage module in this codebase.
2. Architecture diagrams
flowchart TD
subgraph Repo[shmykelsa/aaad]
Gradle[Gradle build files]
Manifest[AndroidManifest.xml]
subgraph AppCode[app/src/main/java/com/legs/appsforaa]
Payment[AboutPaymentActivity]
ProCode[EnterProCode]
Transfer[TransferLicense]
User[User]
Dialogs[AboutDialog / BottomDialog]
Utils[UtilsLibrary / Version]
end
subgraph Resources[app/src/main/res]
Layouts[layouts]
Menus[menus]
Values[values + translations]
Assets[drawables, fonts, mipmaps, xml]
end
end
Gradle --> Manifest
Manifest --> Payment
Payment --> ProCode
Payment --> Transfer
Payment --> User
Payment --> Dialogs
Payment --> Utils
ProCode --> Layouts
Transfer --> Layouts
Dialogs --> Layouts
AppCode --> Resources
flowchart TD
Start[User opens payment/about screen] --> Payment[AboutPaymentActivity]
Payment --> Menu[payment_activity_menu.xml]
Payment --> Enter[EnterProCode]
Payment --> Transfer[TransferLicense]
Enter --> CodeLayout[code_input.xml]
Transfer --> TransferLayout[activity_transfer_license.xml]
Enter --> User[User state/model]
Transfer --> User
Payment --> SharedDialogs[AboutDialog / BottomDialog]
3. Glossary
- AAAD: the app/product represented by this Android repository.
- Pro code: license/unlock code entered through the app's paid/pro flow.
- License transfer: app flow for moving an existing license to another installation/device context.
4. Codebase-wide invariants
- The repository builds a single Android app module; evidence: root build.gradle plus app/build.gradle and no sibling app/package modules at the repo top level.
- Production app code lives under the Java package path
app/src/main/java/com/legs/appsforaa/**. - UI and text are resource-driven through Android resources under
app/src/main/res/**, including layouts inapp/src/main/res/layout/**and localized strings in app/…/strings.xml. - Manifest-level Android entrypoints and app packaging metadata are centralized in app/…/AndroidManifest.xml.
5. Routing table
-
build.gradle -> docs/android-project-build-and-entrypoints.md
-
app/build.gradle -> docs/android-project-build-and-entrypoints.md
-
app/…/AndroidManifest.xml -> docs/android-project-build-and-entrypoints.md
-
any change to Android app build, manifest-declared components, permissions, providers, or packaging -> docs/android-project-build-and-entrypoints.md
-
app/…/AboutPaymentActivity.kt -> docs/payment-license-and-user-flows.md
-
app/…/EnterProCode.java -> docs/payment-license-and-user-flows.md
-
app/…/TransferLicense.java -> docs/payment-license-and-user-flows.md
-
app/…/activity_about_payment.xml -> docs/payment-license-and-user-flows.md
-
app/…/activity_transfer_license.xml -> docs/payment-license-and-user-flows.md
-
app/…/code_input.xml -> docs/payment-license-and-user-flows.md
-
app/…/payment_activity_menu.xml -> docs/payment-license-and-user-flows.md
-
any change to payment/about, pro-code entry, license transfer, or user license state behavior -> docs/payment-license-and-user-flows.md
-
app/…/AboutDialog.java -> docs/dialogs-and-shared-ui-components.md
-
app/…/BottomDialog.java -> docs/dialogs-and-shared-ui-components.md
-
app/…/dialog_layout.xml -> docs/dialogs-and-shared-ui-components.md
-
app/…/header.xml -> docs/dialogs-and-shared-ui-components.md
-
app/…/app_button.xml -> docs/dialogs-and-shared-ui-components.md
-
app/src/main/res/anim/**-> docs/dialogs-and-shared-ui-components.md -
any change to shared dialogs, common app UI chrome, reusable buttons, shared menus, or dialog animations -> docs/dialogs-and-shared-ui-components.md
-
app/…/UtilsLibrary.java -> docs/app-utilities-versioning-and-shared-helpers.md
-
app/…/Version.java -> docs/app-utilities-versioning-and-shared-helpers.md
-
any change to shared Android helper APIs or version parsing/comparison logic -> docs/app-utilities-versioning-and-shared-helpers.md
-
app/…/ic_launcher-playstore.png -> docs/resources-localization-and-assets.md
-
app/src/main/res/drawable/**-> docs/resources-localization-and-assets.md -
app/src/main/res/drawable-v24/**-> docs/resources-localization-and-assets.md -
app/src/main/res/font/**-> docs/resources-localization-and-assets.md -
app/src/main/res/mipmap-*/**-> docs/resources-localization-and-assets.md -
app/src/main/res/values*/**-> docs/resources-localization-and-assets.md -
app/src/main/res/xml/**-> docs/resources-localization-and-assets.md -
any change to app-wide strings, translations, themes, colors, drawables, launcher icons, fonts, or XML resources not owned by a specific UI flow -> docs/resources-localization-and-assets.md