Skip to content

About

Network speed-test sample for HarmonyOS watches with download/upload measurements, latency checks, progress visualization and haptic feedback.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

Speed Test App

This application provides users with accurate measurements of their internet connection performance through a clean and intuitive interface.

Preview

Use Cases

  • Real-time speed testing with smooth progress visualization
  • Download speed measurement with live updates
  • Upload speed measurement with live updates
  • Ping/latency testing (1-1000 ms)
  • Automatic server selection optimization
  • Haptic feedback at each test phase (start, phase transitions, completion, failure)
  • Clean wearable-first UI using ArcButton for circular screens
  • Real-time result display with unit formatting

Technology

Stack

  • Languages: ArkTS, ArkUI
  • Frameworks: HarmonyOS SDK 5.1.0 (API 18)
  • Tools: DevEco Studio 5.1.0 or later
  • Libraries:
  • @kit.NetworkKit for network operations
  • @kit.ArkUI for modern UI components
  • @kit.SensorServiceKit for haptic/vibration feedback
  • @kit.PerformanceAnalysisKit for logging and analysis

Required Permissions

  • ohos.permission.INTERNET
  • ohos.permission.GET_NETWORK_INFO
  • ohos.permission.VIBRATE

Directory Structure

├── AppScope/
│   ├── app.json5                    # App configuration
│   └── resources/
│       └── base/
│           ├── element/
│           │   └── string.json      # App strings
│           └── media/               # App icons
├── entry/
│   ├── src/
│   │   ├── main/
│   │   │   ├── ets/
│   │   │   │   ├── entryability/   # App entry point
│   │   │   │   ├── entrybackupability/
│   │   │   │   ├── interfaces/     # Type definitions
│   │   │   │   ├── pages/         # UI components
│   │   │   │   ├── service/       # Business logic
│   │   │   │   ├── utils/         # Helper functions (Formatters, VibrationHelper)
│   │   │   │   └── viewmodel/     # View models
│   │   │   └── resources/
│   │   │       └── base/
│   │   │           └── element/
│   │   │               ├── color.json   # Color resources
│   │   │               ├── float.json   # Dimension resources
│   │   │               └── string.json  # String resources
│   │   ├── ohosTest/              # Integration tests
│   │   └── test/                  # Unit tests
│   ├── build-profile.json5        # Build configuration
│   └── module.json5               # Module configuration & permissions
└── build-profile.json5            # Project configuration

Constraints and Restrictions

Supported Device

  • Huawei watch 5

LICENSE

Speed Test App is distributed under the terms of the MIT License. See the LICENSE for more information.

About

Network speed-test sample for HarmonyOS watches with download/upload measurements, latency checks, progress visualization and haptic feedback.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages