yayacal/app/src/main/AndroidManifest.xml
xfy 8963b6162b feat(date-recorder): photo journal tool with camera, editor, and album grid
新增"日期记录器"工具:相册式记录管理,支持拍照→编辑→记录信息的完整流程。

数据层:
- Room 2.8.4 首个数据库(KSP 2.3.10),DateRecord 实体含标题/备注/拍摄日期/关联日期
- DateRecordConverters 处理 kotlinx-datetime ↔ ISO 字符串
- DateRecorderRepository 封装 DAO + filesDir 照片文件管理

UI 层:
- CameraScreen: CameraX 1.5.3 应用内预览,运行时权限请求,前后摄切换
- PhotoEditorScreen: 纯 Compose 自实现旋转/裁剪/手写三 Tab 编辑器
- DateRecorderScreen: LazyVerticalGrid 相册网格 + 多选 + 6 种排序 + 批量删除
- RecordEditScreen / RecordDetailScreen: 记录信息编辑与详情查看

基础设施:
- CAMERA 权限 + FileProvider(filesDir 存储,免存储权限)
- 5 个 Activity 延续项目 Activity+Intent 滑动转场模式
- 2 个单测:排序逻辑 6 种组合 + 降采样计算
2026-07-17 13:21:45 +08:00

93 lines
2.9 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- 日期记录器:相机拍摄;照片存 filesDirminSdk 24 免存储权限 -->
<uses-permission android:name="android.permission.CAMERA" />
<application
android:allowBackup="true"
android:enableOnBackInvokedCallback="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.YaYa">
<!--
SplashActivity 已临时禁用,不再作为应用入口。
如需恢复启动页,将下面的 MAIN/LAUNCHER intent-filter 从 MainActivity
移回 SplashActivity 即可。
-->
<activity
android:name=".SplashActivity"
android:exported="true"
android:theme="@style/Theme.YaYa.Splash" />
<activity
android:name=".MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".AboutActivity"
android:exported="false" />
<activity
android:name=".DogParkActivity"
android:exported="false" />
<activity
android:name=".LicensesActivity"
android:exported="false" />
<activity
android:name=".ToolsActivity"
android:exported="false" />
<activity
android:name=".DateCheckerActivity"
android:exported="false" />
<activity
android:name=".DateRecorderActivity"
android:exported="false" />
<activity
android:name=".CameraActivity"
android:exported="false"
android:screenOrientation="portrait" />
<activity
android:name=".PhotoEditorActivity"
android:exported="false" />
<activity
android:name=".RecordEditActivity"
android:exported="false" />
<activity
android:name=".RecordDetailActivity"
android:exported="false" />
<activity
android:name=".ShiftPatternActivity"
android:exported="false" />
<!-- 日期记录器FileProvider用于相机临时文件 URI 共享 -->
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>
</application>
</manifest>