 hughhuangandClaude Sonnet 4.5
|
b63156cda9
|
feat: 添加 JsonHelper JSON 索引存储
实现了图片索引的 JSON 文件存储功能
- 保存文件夹扫描结果到 JSON 文件
- 从 JSON 文件加载图片索引
- 智能检测是否需要重新扫描
- 支持文件夹路径哈希命名
- 使用 Gson 进行 JSON 序列化
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-01-20 23:58:21 +08:00 |
|
 hughhuangandClaude Sonnet 4.5
|
10f96fa99d
|
feat: 添加 WallpaperChangeReceiver 广播接收器
实现了接收定时任务的广播接收器,触发壁纸更新
- 接收 ACTION_CHANGE_WALLPAPER 广播
- 刷新当前壁纸
- 调度下一次壁纸更换
- 持久化配置支持
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-01-20 23:57:47 +08:00 |
|
 hughhuangandClaude Sonnet 4.5
|
cef3caf355
|
feat: 添加 AlarmScheduler 定时调度器
实现了定时任务调度功能,支持 1-60 分钟间隔的壁纸自动更换
- 支持 Android 12+ 的精确闹钟权限检查
- 使用 setExactAndAllowWhileIdle 确保在低功耗模式下正常工作
- 兼容 Android M 及以上版本
- 实现取消调度功能
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-01-20 23:57:35 +08:00 |
|
 hughhuangandClaude Sonnet 4.5
|
ccb5b6b287
|
feat: 添加壁纸服务
- 继承 WallpaperService
- 注册刷新广播接收器
- 创建 WallpaperEngine 实例
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-01-20 23:55:54 +08:00 |
|
 hughhuangandClaude Sonnet 4.5
|
eab6ee4ce5
|
feat: 添加壁纸引擎
- 实现 Canvas 绘制逻辑
- 支持顺序和随机播放模式
- 添加占位符显示
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-01-20 23:55:46 +08:00 |
|
 hughhuangandClaude Sonnet 4.5
|
c28ce244ea
|
feat: 添加图片加载器
- 实现图片采样和缩放功能
- 使用 RGB_565 降低内存占用
- 自动计算 inSampleSize 优化加载性能
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-01-20 23:55:35 +08:00 |
|
 hughhuangandClaude Sonnet 4.5
|
9d6b34cde7
|
feat: 添加 SharedPreferences 管理类
- 实现配置加载和保存功能
- 使用 Gson 序列化文件夹列表
- 支持保存和读取最后显示的壁纸 URI
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-01-20 23:54:29 +08:00 |
|
 hughhuangandClaude Sonnet 4.5
|
ae29ac8255
|
feat: 添加 AppConfig 配置类
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-01-20 23:51:06 +08:00 |
|
 hughhuangandClaude Sonnet 4.5
|
57bfb756ef
|
feat: 添加 WallpaperImage 数据类
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-01-20 23:50:55 +08:00 |
|
 hughhuangandClaude Sonnet 4.5
|
4ddda30063
|
feat: 添加 PlayMode 枚举
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-01-20 23:50:48 +08:00 |
|
 hughhuangandClaude Sonnet 4.5
|
a5968393b3
|
feat: add manifest with permissions and components
创建 AndroidManifest.xml 文件,配置应用权限和组件:
- 声明所需权限(存储访问、设置壁纸、定时任务等)
- 注册主 Activity 和设置 Activity
- 配置自动壁纸服务
- 添加壁纸变更广播接收器
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-01-20 23:45:47 +08:00 |
|