This is a tool for using Android with open-source mesh radios.
 
 
Go to file
Andre Kirchhoff 4521779678
mapbox-token.xml
2021-12-01 21:45:32 -03:00
.github/workflows mapbox-token.xml 2021-12-01 21:45:32 -03:00
.idea fix build 2021-11-17 11:13:02 -08:00
.settings
app maxLength 228 2021-11-28 17:26:06 -03:00
deprecated update to latest launcher icon from @thepoweroftwo 2021-02-01 10:31:24 +08:00
design@a810741521 update to latest launcher icon from @thepoweroftwo 2021-02-01 10:31:24 +08:00
geeksville-androidlib@d89974db46 fix build 2021-11-17 11:13:02 -08:00
gradle/wrapper update libs 2021-08-29 15:14:01 -07:00
images Fix amazon button 2021-05-28 10:21:20 +08:00
scripts
.gitignore
.gitmodules
.project
LICENSE
README.md Update README.md to test CI 2021-11-28 13:12:32 -08:00
TODO.md WIP update to android 30 2021-06-10 10:02:28 -07:00
build.gradle update gradle unmockplugin:0.7.9 2021-11-28 16:42:51 -03:00
debugging-android.md
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

Meshtastic-Android

Open in Visual Studio Code

This is a tool for using Android with open-source mesh radios. For more information see our webpage: meshtastic.org. If you are looking for the the device side code, see here.

This project is currently beta testing, if you have questions or feedback please Join our discussion forum. We would love to hear from you!

The production version of our application is here:

We currently recommend using the Amazon appstore. If you don't already have their app on your phone you'll need to install it first.

Amazon appstore link

However, if you must use 'raw' APKs you can get them from our github releases. This is not recommended because if you manually install an APK it will not automatically update.

Important note about Google Play: Our Google Play listing has been removed by google due to a recent policy change by them wrt background location accesss (which our app needs). We've started the 'appeal' process, but for now you'll need to get the app from other places.

Build instructions

If you would like to develop this application we'd love your help! These build instructions are brief and should be improved, please send a PR if you can.

  • Use Android Studio 4.1.2 to build/debug (other versions might work but no promises)
  • Use "git submodule update --init --recursive" to pull in the various submodules we depend on
  • There are a few config files which you'll need to copy from templates included in the project. Run the following commands to do so:
rm ./app/google-services.json
cp ./app/google-services-example.json ./app/google-services.json
rm ./app/src/main/res/values/mapbox-token.xml
cp ./app/special/mapbox-token.xml ./app/src/main/res/values/
rm ./app/src/main/res/values/curfirmwareversion.xml
cp ./app/special/curfirmwareversion.xml ./app/src/main/res/values/
  • (unfortunately) you need to get a (free) mapbox developer token here and put that token in your user gradle.properties.
cat ~/.gradle/gradle.properties
MAPBOX_DOWNLOADS_TOKEN=sk.yourtokenherexxx
  • Now you should be able to select "Run / Run" in the IDE and it will happily start running on your phone or the emulator. Note: The emulators don't support bluetooth, so some features can not be used in that environment.

Analytics setup

  • analytics are included but can be disabled by the user on the settings screen

  • on dev devices

adb shell setprop debug.firebase.analytics.app com.geeksville.mesh
adb shell setprop log.tag.FirebaseCrashlytics DEBUG

for verbose logging:

adb shell setprop log.tag.FA VERBOSE

Publishing to google play

(Only supported if you are a core developer that needs to do releases)

Credits

This project is the work of volunteers:

  • @artemisoftnian: Contributed Spanish translations.
  • @CycloMies: Contributed Swedish, Finnish and German translations.
  • @eriktheV-king: Contributed Dutch and French translations.
  • @Lgoix: Contributed tooltip for radio mode
  • @Eugene: Contributed Russian translation.
  • @Jinx17: Contributed Slovenian translation.
  • @Konradrundfunk: Contributed German fixes.
  • @Mango-sauce: Contributed Chinese translation.
  • @NEKLAN: Contributed Japanese translation.
  • @Ohcdh: Contributed Irish and Italian translations.
  • @Slavino: Contributed Slovak translation.
  • @Zone: Contributed Turkish translation.

Copyright 2019, Geeksville Industries, LLC. GPL V3 license