Documentation/Android Launcher
ANDROID CLIENT · REFERENCE GUIDE

Android Launcher

A custom Android application combining a native SA-MP client with a Java interface, game-file management and voice communication.

Java 11Android SDK 34NDK r26.2Gradle 8.1CMakeRakNetOpus
01

Overview

The supplied README describes a purpose-built Android launcher for New City Roleplay. It wraps a customized SA-MP client and native C/C++ libraries in a Java Android application using ViewBinding.

02

Build environment

The documented toolchain includes Android Studio Giraffe or newer, JDK 17, Android SDK Platform 34, Android NDK 26.2.11394342 and CMake 3.12+. The application declares a minimum Android API level of 26.

03

Application architecture

The Android app uses Activities and Fragments, bottom navigation, OkHttp/Gson for Java-side networking, WorkManager for background downloads, Picasso for image loading, Shadowhook for native hooking, and Firebase Crashlytics and Analytics.

04

Native components

The README identifies a native SA-MP client core using RakNet and entity pools, plus Opus for voice chat. The listed ABI filters are `armeabi-v7a` and `arm64-v8a`.

05

Build commands

The documented Gradle tasks include `assembleDebug`, `assembleRelease`, `installDebug`, `clean` and `lint`. The release APK name is derived from `app/version.properties`.

06

Critical release audit

The supplied README explicitly notes that a release keystore and signing passwords are checked into the repository. Remove the keystore, rotate exposed signing credentials, and move signing configuration to secure local or CI secrets before publishing. Also verify ownership and redistribution permissions for SA-MP client code, native binaries, Opus and every bundled dependency.

SOURCE BASIS: USER-SUPPLIED PROJECT README · CONTENT SUMMARIZED FOR THE NCRP LEGACY WEBSITE.