Commit Graph

44 Commits

Author SHA1 Message Date
xiajiid
30136935e7 修复release构建签名问题:当keystore.jks不存在时,不配置signingConfig,避免构建失败 2026-02-11 21:33:55 +08:00
xiajiid
17299b0713 修复编译错误:1. 将addPhotoToPreview改为showPhotoPreview 2. 移除未使用的preference导入 2026-02-11 20:35:42 +08:00
xiajiid
942f06bfaf 修复CameraActivity.kt中的结构错误:移除多余的},将onDestroy()方法移回类内部 2026-02-11 20:26:05 +08:00
xiajiid
8344f55c4c fix: resolve conflicting companion objects and method definitions in CameraActivity 2026-02-11 19:16:43 +08:00
xiajiid
e75c9f5c45 feat: merge three camera modes into unified CameraActivity
- Added mode toggle button to switch between photo, watermark, and compose modes
- Integrated watermark functionality from WatermarkCameraActivity
- Integrated simple camera functionality from SimpleCameraActivity
- Updated MainActivity to launch CameraActivity directly
- Cleaned up AndroidManifest.xml by removing unused activities
- Updated layout with mode selection button
- All three camera modes now available in single unified interface
2026-02-10 18:42:25 +08:00
xiajiid
547d8a9375 feat: add camera selector interface with choice of camera modes 2026-02-10 18:26:40 +08:00
xiajiid
0df67b5b13 fix: remove duplicate else branches in when expressions 2026-02-10 17:46:40 +08:00
xiajiid
cc76b37b39 chore: trigger GitHub Actions build 2026-02-10 17:04:34 2026-02-10 17:04:34 +08:00
xiajiid
1434c7c933 fix: correct Kotlin when-expression syntax to ensure else is last branch 2026-02-09 23:53:20 +08:00
xiajiid
846e956b24 fix: correct ImageCapture error constants to valid values 2026-02-09 23:38:29 +08:00
xiajiid
cbe1d34ac4 fix: enhance ImageCapture error handling in CameraActivity to resolve 'processing error' false positives 2026-02-09 23:20:04 +08:00
xiajiid
54aeab9760 fix: enhance ImageCapture error handling in WatermarkCameraActivity to resolve 'processing error' false positives 2026-02-09 23:19:33 +08:00
xiajiid
0464e235f9 fix: enhance ImageCapture error handling to resolve 'processing error' false positives 2026-02-09 23:19:03 +08:00
xiajiid
1a45fde858 Fix photo error reporting and add detailed logging 2026-02-08 22:50:56 +08:00
xiajiid
f1a7811d28 Add WatermarkCameraActivity with timestamp watermark and development plan 2026-02-08 22:20:32 +08:00
xiajiid
b87d90e418 Add test instructions for simple camera debugging 2026-02-08 22:09:14 +08:00
xiajiid
b261fdb4b3 Add SimpleCameraActivity for crash debugging - minimal camera with only preview and capture 2026-02-08 22:08:39 +08:00
xiajiid
5eceac79ed Add signing configuration for Huawei compatible release builds 2026-02-08 21:23:51 +08:00
xiajiid
21027c71ba Fix Gradle syntax error: incorrect quote at line 60 2026-02-08 20:13:39 +08:00
xiajiid
8ec7db8e0e Update README: remove outdated location features, reflect Huawei security optimization 2026-02-08 20:03:20 +08:00
xiajid
6cfa4dd412 Create build.yml 2026-02-08 19:40:22 +08:00
xiajiid
00d1953323 Completely remove location-related code: delete LocationManagerHelper and clean up imports 2026-02-08 18:22:39 +08:00
xiajiid
296ac495f1 Update versionCode and versionName for Huawei compatibility release 2026-02-08 17:53:51 +08:00
xiajiid
5c657e1d14 Remove location permissions and dependencies for Huawei compatibility; keep workflow unchanged 2026-02-08 17:44:03 +08:00
xiajiid
490d152e84 Remove location permissions and dependencies; switch to release build with signing for Huawei compatibility 2026-02-08 17:43:08 +08:00
xiajiid
013eeeb548 Reduce permissions and simplify CameraActivity for Huawei install compatibility 2026-02-08 17:16:38 +08:00
xiajiid
2f314beb97 Fix OutputFileOptions.Builder constructor: add missing contentValues parameter 2026-02-08 17:00:40 +08:00
xiajiid
cb1482e6fb Fix compilation errors: OutputFileOptions constructor, composeImages method name, StaticLayout TextPaint, add missing imports 2026-02-08 16:43:39 +08:00
xiajiid
bac12c1808 Fix compilation errors: remove duplicate methods, add missing imports, fix location manager 2026-02-08 16:33:44 +08:00
xiajiid
81c12711d0 Fix layout_height typo: match_height -> match_parent 2026-02-08 15:50:09 +08:00
xiajiid
a6c96c4dd7 Fix missing launcher icons: use drawable/ic_camera as app icon 2026-02-08 15:18:26 +08:00
xiajiid
34082e6cd1 Update README with latest GitHub Actions fix information 2026-02-08 14:59:58 +08:00
xiajiid
f24b0f7c8c Fix Gradle repository conflict: remove allprojects block from root build.gradle 2026-02-08 14:50:53 +08:00
xiajid
4d0c32ed6e Update gradle-publish.yml 2026-02-08 14:27:00 +08:00
xiajiid
fd32355da4 Update README with feature overview and build info 2026-02-08 14:08:15 +08:00
xiajid
2406380d24 Create gradle-publish.yml 2026-02-08 12:27:23 +08:00
xiajiid
f08c472265 Improve location management in CameraActivity 2026-02-08 12:18:29 +08:00
xiajiid
089671436b Add location manager helper and Google Play Services dependency 2026-02-08 12:18:12 +08:00
xiajiid
20c6a76cc2 Enhance settings fragment with validation and spinner controls 2026-02-08 12:17:09 +08:00
xiajiid
ad950e8468 Add image composition and text overlay functionality 2026-02-08 12:16:31 +08:00
xiajiid
ce8c4f51fd Add camera functionality with CameraX, permissions, watermarks, and settings page 2026-02-08 12:15:14 +08:00
xiajiid
146d60560a Add gradle wrapper files 2026-02-08 10:08:15 +08:00
xiajiid
00bf4b9ffc Add GitHub Actions workflow and Gradle wrapper files 2026-02-08 10:07:02 +08:00
xiajiid
eeb820342f Initial commit: Android app with compileSdk 34, minSdk 24, targetSdk 34 2026-02-08 00:32:18 +08:00