mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-03-27 02:01:35 -04:00
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>
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
- Clone the Meshtastic-Android repository.
- Open the project in Android Studio.
- Explore the
mesh_service_examplemodule source code undermesh_service_example/src/. - 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.