meshtastic-android/README.md

66 wiersze
3.5 KiB
Markdown

2020-01-23 14:46:23 +00:00
# Meshtastic-Android
2020-01-20 23:54:41 +00:00
2022-01-20 18:20:20 +00:00
![GitHub all releases](https://img.shields.io/github/downloads/meshtastic/meshtastic-android/total)
2022-06-15 01:05:12 +00:00
[![Android CI](https://github.com/meshtastic/Meshtastic-Android/actions/workflows/android.yml/badge.svg)](https://github.com/meshtastic/Meshtastic-Android/actions/workflows/android.yml)
2023-01-11 12:17:22 +00:00
[![Crowdin](https://badges.crowdin.net/e/f440f1a5e094a5858dd86deb1adfe83d/localized.svg)](https://crowdin.meshtastic.org/android)
2022-04-06 05:23:19 +00:00
[![CLA assistant](https://cla-assistant.io/readme/badge/meshtastic/Meshtastic-Android)](https://cla-assistant.io/meshtastic/Meshtastic-Android)
2022-06-15 01:05:12 +00:00
[![Fiscal Contributors](https://opencollective.com/meshtastic/tiers/badge.svg?label=Fiscal%20Contributors&color=deeppink)](https://opencollective.com/meshtastic/)
[![Vercel](https://img.shields.io/static/v1?label=Powered%20by&message=Vercel&style=flat&logo=vercel&color=000000)](https://vercel.com?utm_source=meshtastic&utm_campaign=oss)
2020-04-03 05:37:48 +00:00
2022-08-29 15:15:48 +00: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-device).
2020-01-20 23:54:41 +00:00
This project is currently beta testing, if you have questions or feedback
please [Join our discussion forum](https://meshtastic.discourse.group/). We would love to hear from
you!
2023-02-04 01:40:43 +00:00
[<img src="https://gitlab.com/IzzyOnDroid/repo/-/raw/master/assets/IzzyOnDroid.png"
2022-08-29 15:15:48 +00:00
alt="Get it on F-Droid"
2023-02-04 01:40:43 +00:00
width="49%">](https://apt.izzysoft.de/fdroid/repo)
2022-08-29 15:15:48 +00:00
[<img src="https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png"
alt="Download at https://play.google.com/store/apps/details?id=com.geeksville.mesh]"
width="49%">](https://play.google.com/store/apps/details?id=com.geeksville.mesh&referrer=utm_source%3Dgithub-android-readme)
2020-02-26 22:08:15 +00:00
2022-08-29 15:15:48 +00:00
If you want to join the Play Store beta program go to [this URL](https://play.google.com/apps/testing/com.geeksville.mesh) and opt-in to the alpha/beta test.
If you encounter any problems or have questions, [post in the forum](https://meshtastic.discourse.group/) and we'll help.
2020-02-26 22:08:15 +00:00
2022-08-29 15:15:48 +00:00
However, if you must use 'raw' APKs you can get them from our [github releases](https://github.com/meshtastic/Meshtastic-Android/releases). This is not recommended because if you manually install an APK it will not automatically update.
2020-04-15 14:31:53 +00:00
## Build instructions
2022-08-29 15:15:48 +00: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 15:36:29 +00:00
2022-04-04 03:10:50 +00:00
- Use Android Studio to build/debug
2021-07-09 04:04:53 +00:00
- 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:
2021-07-09 04:04:53 +00:00
```bash
rm ./app/google-services.json
cp ./app/google-services-example.json ./app/google-services.json
rm ./app/src/main/res/values/curfirmwareversion.xml
cp ./app/special/curfirmwareversion.xml ./app/src/main/res/values/
2020-05-24 15:36:29 +00:00
```
2020-04-15 14:31:53 +00: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 14:31:53 +00:00
2020-06-04 18:21:24 +00:00
## Analytics setup
2021-07-09 04:04:53 +00:00
- analytics are included but can be disabled by the user on the settings screen
2020-08-11 13:51:45 +00:00
2021-07-09 04:04:53 +00:00
- on dev devices
2020-08-11 13:51:45 +00:00
2021-07-09 04:04:53 +00:00
```bash
2020-08-11 13:51:45 +00:00
adb shell setprop debug.firebase.analytics.app com.geeksville.mesh
2020-06-04 18:21:24 +00:00
adb shell setprop log.tag.FirebaseCrashlytics DEBUG
2020-08-11 13:51:45 +00:00
```
2020-06-04 18:21:24 +00:00
for verbose logging:
2021-07-09 04:04:53 +00:00
```bash
2020-06-04 18:21:24 +00:00
adb shell setprop log.tag.FA VERBOSE
```
2023-02-04 01:40:43 +00:00
Copyright 2023, Meshtastic LLC. GPL V3 license