Meshtastic-Android/README.md

70 lines
3.4 KiB
Markdown
Raw Normal View History

2020-01-23 06:46:23 -08:00
# Meshtastic-Android
2020-01-20 15:54:41 -08:00
2020-04-02 22:37:48 -07:00
![Android CI](https://github.com/meshtastic/Meshtastic-Android/workflows/Android%20CI/badge.svg?branch=master)
2020-02-29 18:48:23 -08:00
This is a tool for using Android with open-source mesh radios. For more information see our webpage: [meshtastic.org](https://www.meshtastic.org). If you are looking for the the device side code, see [here](https://github.com/meshtastic/Meshtastic-esp32).
2020-01-20 15:54:41 -08:00
2020-03-13 15:03:03 -07:00
This project is currently early-alpha, if you have questions or feedback please [Join our discussion forum](https://meshtastic.discourse.group/). We would love to hear from you.
2020-06-04 11:21:24 -07:00
The production version of our application is here:
2020-02-26 14:08:15 -08:00
[![Download at https://play.google.com/store/apps/details?id=com.geeksville.mesh](https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png)](https://play.google.com/store/apps/details?id=com.geeksville.mesh&referrer=utm_source%3Dhomepage%26anid%3Dadmob)
2020-06-04 11:21:24 -07:00
But if you want the beta-test app now, we'd love to have your help testing. Three steps to opt-in to the test:
2020-02-26 14:08:15 -08:00
2020-06-04 11:21:24 -07:00
1. Join [this Google group](https://groups.google.com/forum/#!forum/meshtastic-alpha-testers) with the account you use in Google Play. **Optional** - if you just want 'beta builds'
not bleeding edge alpha test builds skip to the next step.
2. Go to this [URL](https://play.google.com/apps/testing/com.geeksville.mesh) to opt-in to the alpha/beta test.
3. If you encounter any problems or have questions, [post in the forum](https://meshtastic.discourse.group/)t and we'll help.
2020-01-26 09:48:25 -08:00
2020-04-15 07:31:53 -07:00
## Build instructions
2020-06-04 11:21:24 -07:00
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.
2020-05-24 08:36:29 -07:00
* Use Android Studio 4.0 RC 1 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:
2020-04-15 07:31:53 -07:00
2020-05-24 08:36:29 -07:00
```
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/
```
2020-04-15 07:31:53 -07:00
2020-05-24 08:36:29 -07:00
* 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.
2020-04-15 07:31:53 -07:00
2020-06-04 11:21:24 -07:00
## 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:
```aidl
adb shell setprop log.tag.FA VERBOSE
```
# Credits
This project is the work of volunteers:
2020-04-11 13:42:12 -07:00
* @artemisoftnian: Contributed Spanish translations.
2020-04-10 21:24:43 -07:00
* @CycloMies: Contributed Swedish, Finnish and German translations.
2020-04-11 09:50:28 -07:00
* @eriktheV-king: Contributed Dutch and French translations.
* @Eugene: Contributed Russian translation.
2020-05-24 08:36:29 -07:00
* @Konradrundfunk: Contributed German fixes.
2020-04-11 09:50:28 -07:00
* @Mango-sauce: Contributed Chinese translation.
2020-05-29 14:02:03 -07:00
* @NEKLAN: Contributed Japanese translation.
2020-04-11 09:50:28 -07:00
* @Ohcdh: Contributed Irish and Italian translations.
2020-03-30 13:45:14 -07:00
Copyright 2019, Geeksville Industries, LLC. GPL V3 license
2020-01-22 13:19:51 -08:00
2020-01-23 06:46:23 -08:00