James Rich 993f659742 feat: add support for Device Hardware json and svg graphics (#1449)
* feat: add support for Device Hardware json and svg graphics

Allows for better hardware device display names, graphics, and indication of support.

* make detekt happy

* Fix: Use first image name to find vector drawable

Use the first image name from the `images` list (after removing the ".svg" suffix) to find the corresponding vector drawable resource.

* Refactor: Update device detail layout

Updated the device detail layout to group device-specific information under a "Device" category.
Added a circular background with device-specific color behind the device icon.
Moved hardware, support status details to the Device section.

* Refactor: Move device hardware logic to MetricsViewModel

Moves the logic for retrieving device hardware information and image resources from NodeDetail to MetricsViewModel.

Also replaces id lookup with when statement for image resource id mapping.

* fix: cache deviceHardwareList, add exception handling

* refactor: mutable list unnecessary

* default to hw_unknown device image
2024-12-10 12:02:57 -03:00
2024-01-10 05:48:48 -03:00
2022-11-02 14:49:38 -03:00
2024-07-13 07:09:41 -03:00
2024-07-13 07:09:41 -03:00
2020-03-01 16:39:53 -08:00

Meshtastic-Android

GitHub all releases Android CI Crowdin CLA assistant Fiscal Contributors Vercel

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!

Get it on F-Droid Get it on IzzyOnDroid Download at https://play.google.com/store/apps/details?id=com.geeksville.mesh]

If you want to join the Play Store testing program go to this URL and opt-in to become a tester. If you encounter any problems or have questions, post in the forum and we'll help.

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.

Translations

You can help translate the app into your native language using Crowdin.

Building the Android App

https://meshtastic.org/docs/development/android/

Copyright 2024, Meshtastic LLC. GPL-3.0 license

Description
No description provided
Readme GPL-3.0 87 MiB
Languages
Kotlin 99.2%
Java 0.5%
AIDL 0.2%