Meshtastic-Android/mesh_service_example
James Rich 4e2c429180
feat(service): Overhaul MeshServiceExample (#4263)
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
2026-01-20 00:58:26 +00:00
..
src feat(service): Overhaul MeshServiceExample (#4263) 2026-01-20 00:58:26 +00:00
build.gradle.kts feat(service): Overhaul MeshServiceExample (#4263) 2026-01-20 00:58:26 +00:00
detekt-baseline.xml Add :feature:node (#3275) 2025-10-01 23:26:41 +00:00
proguard-rules.pro feat: add MeshServiceExample project to repo (#2038) 2025-06-06 15:43:32 -05:00
README.md Add :core:service (#3253) 2025-09-30 20:55:56 +00:00

mesh_service_example

This module provides an example implementation of an app that uses the AIDL Mesh Service provided by Meshtastic-Android project.

Overview

The AIDL is defined in the main app module and is used to interact with the mesh network.

mesh_service_example demonstrates how to build and integrate a custom mesh service within the Meshtastic ecosystem. It is intended as a reference for developers who want to extend or customize mesh-related functionality.

Features

  • Example service structure for mesh integration
  • Sample code for service registration and communication

Usage

  1. Clone the Meshtastic-Android repository.
  2. Open the project in Android Studio.
  3. Explore the mesh_service_example module source code under mesh_service_example/src/.
  4. Use this module as a template for your own mesh service implementations.

Development

  • To build the module, use the standard Gradle build commands:
    ./gradlew :mesh_service_example:build
    
  • To run tests for this module:
    ./gradlew :mesh_service_example:test
    

License

This example module is provided under the same license as the main Meshtastic-Android project. See the root LICENSE file for details.