Note: To access all shared projects, get information about environment setup, and view other guides, please visit Explore-In-HMOS Index.
A modern golf assistant that helps you navigate the course with ease. See hole layouts, track distances, and use the compass to perfect your aim.
- The user views the full golf course map to plan strategy and understand hole positions.
- The user measures the distance between their current location and any point on the course (e.g., to the green or hazard).
- The app uses the compass to help the user align shots accurately with the target direction.
Languages: ArkTS, ArkUI
Frameworks: HarmonyOS SDK 6.0.0(20)
Tools: DevEco Studio 6.0.0 beta5
Libraries/Kits:
- @kit.ArkUI
- @kit.MapKit
- @kit.BasicServicesKit
- @kit.LocationKit
- @kit.SensorServiceKit
├───ets
│ ├───components
│ │ TrailListComponent.ets
│ │
│ ├───entryability
│ │ EntryAbility.ets
│ │
│ ├───entrybackupability
│ │ EntryBackupAbility.ets
│ │
│ ├───models
│ │ HoleModel.ets
│ │
│ ├───pages
│ │ HoleDetail.ets
│ │ Index.ets
│ │ MapPage.ets
│ │ TrailList.ets
│ │
│ └───utils
│ PermissionsUtil.ets
│
└───resources
├───base
│ ├───element
│ │ color.json
│ │ float.json
│ │ string.json
│ └───profile
│ backup_config.json
│ main_pages.json
│ router_map.json
│
├───dark
│ └───element
│ color.json
│
└───rawfile
-
The application requires the following user permissions to function properly:
-
ohos.permission.LOCATION – for accessing precise location data.
-
ohos.permission.APPROXIMATELY_LOCATION – for accessing approximate location information when precise location is not needed.
-
-
For devices such as smartwatches, the Accelerometer sensor must be available and enabled if the user wishes to use the Compass feature.
-
Without the necessary permissions or sensor access, certain features—such as location-based functionalities and compass orientation—may not operate correctly.
- Huawei Watch 5
Golf Helper is distributed under the terms of the MIT License.
See the LICENSE for more information.



