Skip to content

gfroerli/app-android

Repository files navigation

Water Temperatures Android App

GitHub Actions

Android app written in Kotlin. Displays temperature sensor data on a map (MapLibre SDK, map data provided by Mapbox).

Building

First, create a file containing the API keys. You can use either:

  • app/secrets.properties (project-specific, takes precedence)
  • ~/.config/gfroerli-android/secrets.properties (global fallback)

For example:

echo "gfroerli_api_key_public=<VALUE>" >> app/secrets.properties
echo "mapbox_access_token=<VALUE>" >> app/secrets.properties

Then, build the app with Gradle:

./gradlew build

To install the app to your device:

./gradlew installDebug

(Alternatively, do all that stuff through Android Studio.)

Development Tips

  • If you use the Android Studio emulator, make sure to enable hardware graphics acceleration (Edit > Additional Settings > Graphics acceleration > Hardware), otherwise the sensors won't render correctly on the map.

Translations

The translations can be found in the XML resource files at app/src/main/res/values-<qualifier>/strings.xml.

We prefer informal, simple language. For all languages, the Swiss variety should be used (as indicated by the -rCH regional qualifier).

License

Copyright © 2016–2025 Coredump Hackerspace.

Licensed under the GPLv3 or later, see LICENSE.txt.

About

Android app for gfrör.li.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •