Add map zone#536
Merged
Merged
Conversation
885df5f to
9980c01
Compare
zjn0505
reviewed
May 7, 2026
zjn0505
reviewed
May 7, 2026
zjn0505
reviewed
May 7, 2026
zjn0505
reviewed
May 7, 2026
12ca452 to
a6dea8c
Compare
zjn0505
reviewed
May 11, 2026
zjn0505
reviewed
May 11, 2026
zjn0505
reviewed
May 11, 2026
ec8b693 to
1b541fc
Compare
1b541fc to
a9f570a
Compare
zjn0505
reviewed
May 15, 2026
zjn0505
reviewed
May 15, 2026
zjn0505
reviewed
May 15, 2026
zjn0505
reviewed
May 15, 2026
zjn0505
reviewed
May 15, 2026
zjn0505
reviewed
May 15, 2026
zjn0505
reviewed
May 15, 2026
86a1c30 to
8206d52
Compare
zjn0505
reviewed
May 18, 2026
zjn0505
reviewed
May 18, 2026
zjn0505
approved these changes
May 18, 2026
There was a problem hiding this comment.
Pull request overview
Adds SDK and sample support for map zones, including zone retrieval, zone entrance callbacks, and dynamic GoTo controls.
Changes:
- Adds zone models/listeners and AIDL methods for current zones and GoTo session controls.
- Updates map parsing/display to include zone layers.
- Adds a sample “138 New Features” screen for exercising zone and GoTo APIs.
Reviewed changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/src/main/java/com/robotemi/sdk/Robot.kt | Adds zone listener handling, zone retrieval APIs, and GoTo session control APIs. |
| sdk/src/main/java/com/robotemi/sdk/map/StringOrObjectAdapter.kt | Adds Gson adapter for string-or-object layer data. |
| sdk/src/main/java/com/robotemi/sdk/map/MapDataModel.kt | Adds zone support to map data, layer parsing, and zone properties. |
| sdk/src/main/java/com/robotemi/sdk/listeners/OnZoneEntranceStatusChangedListener.kt | Adds listener interface for zone entrance changes. |
| sdk/src/main/java/com/robotemi/sdk/constants/SdkConstants.kt | Adds provider selection parameter for layer category. |
| sdk/src/main/aidl/com/robotemi/sdk/ISdkServiceCallback.aidl | Adds zone entrance callback method at the end of the interface. |
| sdk/src/main/aidl/com/robotemi/sdk/ISdkService.aidl | Adds current-zone and dynamic GoTo methods at the end of the interface. |
| sample/src/main/res/layout/group_settings_and_status.xml | Adds entry button for 1.138 sample features. |
| sample/src/main/res/layout/activity_test138.xml | Adds sample UI for zone and dynamic GoTo controls. |
| sample/src/main/java/com/robotemi/sdk/sample/new_feature/Test138Activity.kt | Implements sample interactions for new zone and GoTo APIs. |
| sample/src/main/java/com/robotemi/sdk/sample/new_feature/Test137Activity.kt | Corrects the log tag. |
| sample/src/main/java/com/robotemi/sdk/sample/MapActivity.kt | Displays zones in map data output. |
| sample/src/main/java/com/robotemi/sdk/sample/MainActivity.kt | Wires the new sample activity entry point. |
| sample/src/main/AndroidManifest.xml | Registers the new sample activity. |
| gradle.properties | Bumps snapshot version. |
c5a23f6 to
912dfc6
Compare
zjn0505
approved these changes
May 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.