pGPS guide

The full reference. For an overview, see the README. Android app that shows what the device's GNSS receiver sees. Plain Java on the Android framework only: no AndroidX, no Kotlin stdlib, no third-party libraries (the dependencies block is empty on purpose).

Screens

Permissions: precise location, foreground service (location) and notifications for the recorder and backtrack, internet for orbit downloads, and optional camera access for AR.

Build

Requirements: Android SDK with platform 36, and a full JDK 17+ that includes jlink (IntelliJ's bundled JBR does not).

./gradlew assembleDebug        # app/build/outputs/apk/debug/app-debug.apk
./gradlew lintDebug
./gradlew installDebug         # with a device connected

local.properties (not committed) points to the SDK: sdk.dir=C\:/path/to/sdk.

minSdk 24 (first API with GnssStatus and OnNmeaMessageListener), targetSdk 36.

Ranging calculation checks

The standalone checks use only JDK 17 and the production math classes. Compile outside the source tree (PowerShell example):

$checkDir = Join-Path $env:TEMP 'gps-geodesic-checks'
New-Item -ItemType Directory -Path $checkDir -Force | Out-Null
javac -d $checkDir app/src/main/java/x/vladgba/gps/nav/Geodesic.java app/src/main/java/x/vladgba/gps/nav/Waypoint.java tools/GeodesicChecks.java
java -cp $checkDir GeodesicChecks

Checks cover acoustic input validation, direct projection, forward/parallel/diverging bearings, multi-ray geometry, date-line crossings and 100 reproducible local comparisons against spherical distance/bearing calculations. They do not simulate compass accuracy or GPS reception.

See REVIEW_VALIDATION.md for the ranging/AR build and device review.