# harmony-utils **Repository Path**: tongyuyan/harmony-utils ## Basic Information - **Project Name**: harmony-utils - **Description**: harmony-utils 一款功能丰富且极易上手的HarmonyOS工具库,借助众多实用工具类,致力于助力开发者迅速构建鸿蒙应用。其封装的工具涵盖了APP、设备、屏幕、授权、通知、线程间通信、弹框、吐司、生物认证、用户首选项、拍照、相册、扫码、文件、日志,异常捕获、字符、字符串、数字、集合、日期、随机、base64、加密、解密、JSON等一系列的功能和操作,能够满足各种不同的开发需求。 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 654 - **Forks**: 201 - **Created**: 2024-05-07 - **Last Updated**: 2025-06-17 ## Categories & Tags **Categories**: harmonyos-devtools **Tags**: HarmonyOS, 工具类, 加解密, 字符串, 日期 ## README ## 📚模块介 [harmony-utils](https://gitee.com/tongyuyan/harmony-utils/tree/master/harmony_utils) 一款功能丰富且极易上手的HarmonyOS工具库,借助众多实用工具类,致力于助力开发者迅速构建鸿蒙应用。其封装的工具涵盖了APP、设备、屏幕、授权、通知、线程间通信、弹框、吐司、生物认证、用户首选项、拍照、相册、扫码、文件、日志,异常捕获、字符、字符串、数字、集合、日期、随机、base64、加密、解密、JSON等一系列的功能和操作,能够满足各种不同的开发需求。 [harmony-dialog](https://gitee.com/tongyuyan/harmony-utils/tree/master/harmony_dialog) 一款极为简单易用的零侵入弹窗,仅需一行代码即可轻松实现,无论在何处都能够轻松弹出。其涵盖了 AlertDialog、TipsDialog、ConfirmDialog、SelectDialog、CustomContentDialog、TextInputDialog、TextAreaDialog、BottomSheetDialog、ActionSheetDialog、TextPickerDialog、DatePickerDialog、CustomDialog、BindSheet、LoadingDialog、LoadingProgress、Toast、ToastTip 等多种类型,能够满足各种不同的弹窗开发需求。 [harmony-web](https://gitee.com/tongyuyan/harmony-utils/tree/master/harmony_web) 是一款基于鸿蒙 WebView 打造的功能强大且极易上手的库,它不仅轻巧灵便、灵活度极高,还提供了一系列针对鸿蒙 WebView 的问题解决方案,助力开发者轻松应对各类开发挑战。 [SpinKit](https://gitee.com/tongyuyan/harmony-utils/tree/master/spinkit) 是一个适用于OpenHarmony/HarmonyOS的加载动画库。 [mime-types](https://gitee.com/tongyuyan/harmony-utils/tree/master/mime_types) 主要用于处理和确定文件的 MIME 类型。 [china_area](https://gitee.com/tongyuyan/harmony-utils/tree/master/china_area) 中国区域数据,省市县三级数据。 ## 🍎技术交流 鸿蒙技术交流QQ群:1029219059 ## 🌏开源协议 本项目基于 [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0.html) ,在拷贝和借鉴代码时,请大家务必注明出处。