Note: To access all shared projects, get information about environment setup, and view other guides, please visit Explore-In-HMOS Index.
SafeCircle is a geofencing-based application that alerts users with a notification when they move away from their current location.
- Users can start the application and see their current location and safe area.
- If users walk through out the safe zone, application gives notification alerts with vibration
- Languages: ArkTS, ArkUI
- Frameworks: HarmonyOS 5.1.0(18)
- Tools: DevEco Studio Vers 5.1.0.828SP1,
- Libraries: @kit.ArkUI, @kit.NetworkKit, @kit.MapKit, @kit.NotificationKit, @kit.LocationKit, @ohos.vibrator
ohos.permission.LOCATIONRequired to get location information.
ohos.permission.APPROXIMATELY_LOCATIONRequired to get approximate location.
ohos.permission.LOCATION_IN_BACKGROUNDRequired to use location services in background
ohos.permission.VIBRATERequired to use vibration
entry/src/main/ets/
├───entryability
│ EntryAbility.ets
├───entrybackupability
│ EntryBackupAbility.ets
├───pages
│ Index.ets
└───services
LocationService
- Huawei Watch 5
- Safe Circle is not working on previewer or simulators
- Users need to apply location permissions and enable location in smart watch
Safe Circle is distributed under the terms of the MIT License See the LICENSE for more information.


