mirror of
https://github.com/Dasemu/NavFrame.git
synced 2026-11-26 15:26:05 +00:00
Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0314a03333 | ||
|
|
bbe2eeb23c | ||
|
|
2382db66fa | ||
|
|
e819c09848 | ||
|
|
e6ca89784f |
No files matched your search
@@ -6,7 +6,7 @@ NavFrame is an experimental Android navigation app that renders its own 480×240
|
|||||||
|
|
||||||
The owner has confirmed static and synthetic NavFrame frames on a Xiaomi 11 Lite 5G NE running Android 14 and a 2026 Yamaha MT-07, and the bundled Asturias map working offline on the phone. On 2026-10-12, the owner reported that the latest version displayed the map on the TFT for about 20 minutes, then showed `Mapa no disponible` in La Corredoria (Oviedo) for the rest of the trip while the phone map continued working. An offline map was installed. The exact installed build, diagnostic code and background state were not recorded; the cause is under investigation. This establishes a successful map display followed by a persistent failure, not sustained TFT reliability.
|
The owner has confirmed static and synthetic NavFrame frames on a Xiaomi 11 Lite 5G NE running Android 14 and a 2026 Yamaha MT-07, and the bundled Asturias map working offline on the phone. On 2026-10-12, the owner reported that the latest version displayed the map on the TFT for about 20 minutes, then showed `Mapa no disponible` in La Corredoria (Oviedo) for the rest of the trip while the phone map continued working. An offline map was installed. The exact installed build, diagnostic code and background state were not recorded; the cause is under investigation. This establishes a successful map display followed by a persistent failure, not sustained TFT reliability.
|
||||||
|
|
||||||
The current checkout is version 0.14.7. The 0.13 series adds voice/routing language selection for Spanish, English, German, French, and Italian, plus a system-language option; unsupported system locales resolve to English. Speech still depends on the Android TextToSpeech engine and its installed voice data. The app includes offline map and place data for Asturias, plus installable regional packages. Worldwide regions can be discovered and built on demand through the [regional package workflow](docs/GLOBAL_OFFLINE.md); this is not complete worldwide coverage. Installed packages currently provide map and local place/camera data. Offline route calculation, global camera completeness, and complete worldwide font coverage are not provided.
|
The current checkout is version 0.14.8. The 0.13 series adds voice/routing language selection for Spanish, English, German, French, and Italian, plus a system-language option; unsupported system locales resolve to English. Speech still depends on the Android TextToSpeech engine and its installed voice data. The app includes offline map and place data for Asturias, plus installable regional packages. Worldwide regions can be discovered and built on demand through the [regional package workflow](docs/GLOBAL_OFFLINE.md); this is not complete worldwide coverage. Installed packages currently provide map and local place/camera data. Offline route calculation, global camera completeness, and complete worldwide font coverage are not provided.
|
||||||
|
|
||||||
Route calculation and address search use configurable online services. Spoken output uses the selected language when Android provides voice data; voice availability and offline behavior depend on the device's TextToSpeech engine. Physical validation of route guidance, voice playback, camera alerts, sustained TFT map rendering, and a 30-minute screen-off session remains pending unless a newer test report says otherwise.
|
Route calculation and address search use configurable online services. Spoken output uses the selected language when Android provides voice data; voice availability and offline behavior depend on the device's TextToSpeech engine. Physical validation of route guidance, voice playback, camera alerts, sustained TFT map rendering, and a 30-minute screen-off session remains pending unless a newer test report says otherwise.
|
||||||
|
|
||||||
@@ -41,7 +41,7 @@ GitHub Actions uploads a debug APK artifact for pushes to `development`. Pushes
|
|||||||
|
|
||||||
## Imported routes
|
## Imported routes
|
||||||
|
|
||||||
Choose **☰ → Cargar ruta GPX** to load a standard GPX route or track and start following it once precise GPS is available. Imported traces retain their geometry without online recalculation or invented turn announcements. See [GPX import](docs/IMPORTED_ROUTES.md).
|
Choose **☰ → Cargar ruta GPX** to load a standard GPX route or track and start following it once precise GPS is available. Imported tracks retain their geometry without online recalculation or invented turn announcements. GPX route stop lists are automatically road-routed through the configured Valhalla service before navigation can start (Internet required). See [GPX import](docs/IMPORTED_ROUTES.md).
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
|
|||||||
@@ -15,8 +15,8 @@ android {
|
|||||||
applicationId = "dev.navframe.app"
|
applicationId = "dev.navframe.app"
|
||||||
minSdk = 26
|
minSdk = 26
|
||||||
targetSdk = 35
|
targetSdk = 35
|
||||||
versionName = "0.14.7"
|
versionName = "0.14.8"
|
||||||
versionCode = 24
|
versionCode = 25
|
||||||
}
|
}
|
||||||
if (hasReleaseSigning) {
|
if (hasReleaseSigning) {
|
||||||
signingConfigs.create("production") {
|
signingConfigs.create("production") {
|
||||||
|
|||||||
@@ -356,12 +356,13 @@ open class MainActivity : Activity() {
|
|||||||
ensureActive()
|
ensureActive()
|
||||||
val current = service ?: run { hint.text = "Servicio no disponible · vuelve a cargar el GPX"; return@launch }
|
val current = service ?: run { hint.text = "Servicio no disponible · vuelve a cargar el GPX"; return@launch }
|
||||||
cancelSearch(); routeDialog?.dismiss()
|
cancelSearch(); routeDialog?.dismiss()
|
||||||
current.prepareImportedRoute(imported)
|
if (imported.isTrack) current.prepareImportedRoute(imported)
|
||||||
lastImportedRoute = imported
|
lastImportedRoute = imported
|
||||||
destination = null; destinationName = ""
|
destination = null; destinationName = ""
|
||||||
hint.text = "Ruta GPX cargada"
|
hint.text = if (imported.isTrack) "Traza GPX cargada" else "Calculando GPX sobre carreteras…"
|
||||||
showImportedRouteSheet(imported.name)
|
showImportedRouteSheet(imported.name)
|
||||||
withPermissions(Action.IMPORT_ROUTE)
|
if (imported.isTrack) withPermissions(Action.IMPORT_ROUTE)
|
||||||
|
else current.calculateImportedStops(imported)
|
||||||
} catch (cancelled: CancellationException) { throw cancelled }
|
} catch (cancelled: CancellationException) { throw cancelled }
|
||||||
catch (error: Exception) {
|
catch (error: Exception) {
|
||||||
// Parser messages contain no coordinates, file paths or document contents.
|
// Parser messages contain no coordinates, file paths or document contents.
|
||||||
@@ -375,11 +376,6 @@ open class MainActivity : Activity() {
|
|||||||
val box = column().apply { setPadding(dp(20), dp(16), dp(20), dp(16)) }
|
val box = column().apply { setPadding(dp(20), dp(16), dp(20), dp(16)) }
|
||||||
box.addView(label(name ?: "Ruta GPX", 20f))
|
box.addView(label(name ?: "Ruta GPX", 20f))
|
||||||
box.addView(routeInfo)
|
box.addView(routeInfo)
|
||||||
lastImportedRoute?.takeIf { !it.isTrack && it.route.geometry.size in 2..50 }?.let { imported ->
|
|
||||||
box.addView(button("Calcular por carreteras · evitar autopistas") {
|
|
||||||
service?.calculateImportedStops(imported)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
routeLoading = ProgressBar(this).apply { visibility = View.GONE }
|
routeLoading = ProgressBar(this).apply { visibility = View.GONE }
|
||||||
box.addView(routeLoading)
|
box.addView(routeLoading)
|
||||||
retryRouteButton = null
|
retryRouteButton = null
|
||||||
|
|||||||
@@ -593,6 +593,7 @@ class TftService : Service() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
val stops = imported.route.geometry
|
val stops = imported.route.geometry
|
||||||
|
invalidateRoutePlan() // Do not allow following the unsnapped straight-line waypoints.
|
||||||
val generation = preparedGeneration
|
val generation = preparedGeneration
|
||||||
val options = RouteOptions(profile = RouteProfile.AVOID_MOTORWAYS, avoidMotorways = true, avoidUnpaved = true)
|
val options = RouteOptions(profile = RouteProfile.AVOID_MOTORWAYS, avoidMotorways = true, avoidUnpaved = true)
|
||||||
mutableRouteInfo.value = "Calculando sobre carreteras · evitando autopistas y pistas sin asfaltar…"
|
mutableRouteInfo.value = "Calculando sobre carreteras · evitando autopistas y pistas sin asfaltar…"
|
||||||
@@ -623,7 +624,7 @@ class TftService : Service() {
|
|||||||
throw cancelled
|
throw cancelled
|
||||||
} catch (error: Exception) {
|
} catch (error: Exception) {
|
||||||
if (generation == preparedGeneration)
|
if (generation == preparedGeneration)
|
||||||
mutableRouteInfo.value = "No se pudo calcular sobre carreteras. Se conserva el GPX original; comprueba conexión y endpoint Valhalla."
|
mutableRouteInfo.value = "No se pudo calcular por carreteras. No se puede iniciar esta ruta; comprueba Internet y Valhalla y vuelve a importarla."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Importing a GPX route
|
# Importing a GPX route
|
||||||
|
|
||||||
Open **☰ → Cargar ruta GPX**, then choose a `.gpx` file using Android's document picker. The app displays the name, distance and point count and previews the trace when no other navigation session is active. After a valid file is selected, navigation starts automatically with real GPS as soon as location permission and a recent accurate fix are available. No destination search is needed. A pending import leaves existing navigation running until the new trace can start. The **Iniciar navegación** button retries after a timeout or permission denial.
|
Open **☰ → Cargar ruta GPX**, then choose a `.gpx` file using Android's document picker. The app displays the name, distance and point count and previews the trace when no other navigation session is active. After a valid detailed track is selected, navigation starts automatically with real GPS as soon as location permission and a recent accurate fix are available. For route stop lists (`rte`), the app first calculates each leg along roads via the configured online Valhalla endpoint; start navigation after previewing the result. If road calculation fails, navigation remains unavailable rather than connecting route stops with straight lines. No destination search is needed. A pending import leaves existing navigation running until the new trace can start. The **Iniciar navegación** button retries after a timeout or permission denial.
|
||||||
|
|
||||||
Precise location permission is required to start navigation. If a recent fix with accuracy of 25 metres or better is unavailable, the app waits up to 60 seconds. Close the import panel or stop the route to cancel that wait. When the wait expires, enable location and tap **Iniciar navegación** to retry. Denying permission leaves the trace available for review.
|
Precise location permission is required to start navigation. If a recent fix with accuracy of 25 metres or better is unavailable, the app waits up to 60 seconds. Close the import panel or stop the route to cancel that wait. When the wait expires, enable location and tap **Iniciar navegación** to retry. Denying permission leaves the trace available for review.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user