Files
Meshtastic-Android/mesh_service_example
James Rich 34b0755192 refactor: Centralize Meshtastic intent constants
This commit centralizes all Android Intent constants into a new `MeshtasticIntent` object within the `core/api` module.

This refactoring makes the constants accessible to external applications and removes the duplicated definitions from the main application. The app and the service example have been updated to use these new centralized constants.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
2026-02-07 15:45:11 -06:00
..
2025-10-01 23:26:41 +00:00
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.