会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wkin
博客园
首页
新随笔
联系
订阅
管理
2026年6月16日
蜂窝数据和wifi通道切换
摘要: 蜂窝数据和wifi通道切换 import { BusinessError } from '@kit.BasicServicesKit'; import { connection } from '@kit.NetworkKit'; import { data } from '@kit.Telephon
阅读全文
posted @ 2026-06-16 20:02 带头大哥d小弟
阅读(7)
评论(0)
推荐(0)
2026年5月28日
二维码生成
摘要: 生成二维码 import { Constants, ToolBarTheme, TopToolBar } from "@common/basic" import { BarcodeFormat, BitMatrix, EncodeHintType, MultiFormatWriter } from
阅读全文
posted @ 2026-05-28 17:55 带头大哥d小弟
阅读(12)
评论(0)
推荐(0)
2026年5月20日
获取网络视频首帧图
摘要: 方法一:需下载到本地(不推荐) import { GetFirstFrameAnimation } from './GetFirstFrameAnimation'; import { media } from '@kit.MediaKit'; import { image } from '@kit.
阅读全文
posted @ 2026-05-20 15:54 带头大哥d小弟
阅读(4)
评论(0)
推荐(0)
2026年4月24日
导航栏·通知
摘要: 状态栏设置下载进度条通知 /** * @Description: 下载进度条状态栏通知class */ import { notificationManager } from '@kit.NotificationKit'; import { BusinessError } from '@kit.Ba
阅读全文
posted @ 2026-04-24 11:18 带头大哥d小弟
阅读(8)
评论(0)
推荐(0)
2026年3月19日
SFFT封装工具类
摘要: import { AppUtil, ToastUtil } from '@pura/harmony-utils'; import { DownloadManager, UploadManager, DownloadConfig, DownloadListener, DownloadTask, Dow
阅读全文
posted @ 2026-03-19 11:24 带头大哥d小弟
阅读(11)
评论(0)
推荐(0)
2026年1月16日
ip网络工具
摘要: import { Log } from '@abner/log'; import wifiManager from '@ohos.wifiManager'; import { StringUtils } from '../StringUtils'; class wifiManagerUtil { i
阅读全文
posted @ 2026-01-16 16:54 带头大哥d小弟
阅读(17)
评论(0)
推荐(0)
emitter工具函数
摘要: emitter工具函数class /** * @Author: * @Date: 2025.11.19 * @Description: emitter环境与函数 */ import { emitter } from '@kit.BasicServicesKit'; export class Emit
阅读全文
posted @ 2026-01-16 10:38 带头大哥d小弟
阅读(6)
评论(0)
推荐(0)
2026年1月15日
TCP Socket send队列封装管理class
摘要: tcp消息发送,模拟队列版本 /** * @Author: * @Date: 2026.01.15 * @Description: TCP Socket send队列封装管理class */ import { BusinessError } from '@kit.BasicServicesKit';
阅读全文
posted @ 2026-01-15 16:46 带头大哥d小弟
阅读(13)
评论(0)
推荐(0)
2026年1月13日
ImageKnif自定义下载(待完成)
摘要: 自定义下载函数 ImageKnife.getInstance().initFileCache(this.getUIContext().getHostContext(), 256, 256 * 1024 * 1024); //ui.... ImageKnifeComponent({ syncLoad:
阅读全文
posted @ 2026-01-13 21:33 带头大哥d小弟
阅读(22)
评论(0)
推荐(0)
2025年12月2日
状态管理相关的数据转换
摘要: 将普通不可观察数据变为可观察数据 、、、 UIUtils.makeObserved('对象、接口对象') 、、、 使V1的状态变量能够在@ComponentV2中观察 、、、 mport { UIUtils } from '@kit.ArkUI'; @Observed class ObservedC
阅读全文
posted @ 2025-12-02 09:22 带头大哥d小弟
阅读(10)
评论(0)
推荐(0)
下一页
公告