From c521671699d469171db491578c59aa8f1aafe6dc Mon Sep 17 00:00:00 2001 From: Matt Hills Date: Mon, 14 Apr 2025 22:40:14 -0400 Subject: [PATCH] updating docs --- README.md | 15 +++++++++++++++ TASK.md | 27 ++++++++++++++------------- 2 files changed, 29 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 63aacc0..2ba8a80 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,18 @@ # SimpleFileUpload Android client written in java to easily upload Samsung dumpstate files. Note - this requires that you leverage SimpleFileUpload-Server + +## Features +- Upload Samsung dumpstate files or any file via UI or share intent +- Automatically compress files to .zip format before upload +- View upload history with received codes +- Copy codes for easy sharing +- Support for Android 14+ with proper foreground service implementation +- MVC architecture for clean code separation + +## Recent Updates +- Fixed broadcast receiver registration for Android 13+ +- Added proper foreground service type declaration for Android 14+ +- Improved reliability of upload completion handling +- Enhanced error handling and logging + diff --git a/TASK.md b/TASK.md index b02c8c6..30db359 100644 --- a/TASK.md +++ b/TASK.md @@ -16,23 +16,23 @@ ## ๐Ÿ› ๏ธ Core Features to Implement ### ๐Ÿ”— Share Integration -- [ ] Add `` in `AndroidManifest.xml` for ACTION_SEND and ACTION_SEND_MULTIPLE -- [ ] Handle incoming shared files in `MainActivity` or a new controller -- [ ] Automatically start the upload process from shared intent +- [x] Add `` in `AndroidManifest.xml` for ACTION_SEND and ACTION_SEND_MULTIPLE +- [x] Handle incoming shared files in `MainActivity` or a new controller +- [x] Automatically start the upload process from shared intent ### ๐Ÿ“ฆ Zip Before Upload -- [ ] Detect if selected/shared file is already a `.zip` -- [ ] If not zipped, compress it to `.zip` format -- [ ] Use the zipped version for upload +- [x] Detect if selected/shared file is already a `.zip` +- [x] If not zipped, compress it to `.zip` format +- [x] Use the zipped version for upload ### ๐Ÿ“œ Upload History -- [ ] Create a local database or use SharedPreferences to log: +- [x] Create a local database or use SharedPreferences to log: - File name - Upload time - Server-returned code - Max downloads & expiry -- [ ] Add new UI to list previously uploaded files -- [ ] Allow copy of upload code and option to delete history entry +- [x] Add new UI to list previously uploaded files +- [x] Allow copy of upload code and option to delete history entry ### โฌ†๏ธ Upload Enhancements - [x] Replace TinyURL logic with server-provided 6-digit alphanumeric code @@ -53,11 +53,11 @@ --- ## ๐Ÿงช Testing Scenarios -- [ ] Manual upload with various file types -- [ ] Share intent upload flow -- [ ] Zip logic works on large files +- [x] Manual upload with various file types +- [x] Share intent upload flow +- [x] Zip logic works on large files - [x] Network disruptions (offline/retry handling) -- [ ] UI responsiveness on phones and tablets +- [x] UI responsiveness on phones and tablets --- @@ -69,6 +69,7 @@ - History storage - Share intent handler - [x] Improve logs for debugging failures +- [x] Ensure compatibility with Android 14+ (API 34) ---