updating docs
This commit is contained in:
15
README.md
15
README.md
@@ -1,3 +1,18 @@
|
|||||||
# SimpleFileUpload
|
# SimpleFileUpload
|
||||||
Android client written in java to easily upload Samsung dumpstate files.
|
Android client written in java to easily upload Samsung dumpstate files.
|
||||||
Note - this requires that you leverage SimpleFileUpload-Server
|
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
|
||||||
|
|
||||||
|
|||||||
27
TASK.md
27
TASK.md
@@ -16,23 +16,23 @@
|
|||||||
## 🛠️ Core Features to Implement
|
## 🛠️ Core Features to Implement
|
||||||
|
|
||||||
### 🔗 Share Integration
|
### 🔗 Share Integration
|
||||||
- [ ] Add `<intent-filter>` in `AndroidManifest.xml` for ACTION_SEND and ACTION_SEND_MULTIPLE
|
- [x] Add `<intent-filter>` in `AndroidManifest.xml` for ACTION_SEND and ACTION_SEND_MULTIPLE
|
||||||
- [ ] Handle incoming shared files in `MainActivity` or a new controller
|
- [x] Handle incoming shared files in `MainActivity` or a new controller
|
||||||
- [ ] Automatically start the upload process from shared intent
|
- [x] Automatically start the upload process from shared intent
|
||||||
|
|
||||||
### 📦 Zip Before Upload
|
### 📦 Zip Before Upload
|
||||||
- [ ] Detect if selected/shared file is already a `.zip`
|
- [x] Detect if selected/shared file is already a `.zip`
|
||||||
- [ ] If not zipped, compress it to `.zip` format
|
- [x] If not zipped, compress it to `.zip` format
|
||||||
- [ ] Use the zipped version for upload
|
- [x] Use the zipped version for upload
|
||||||
|
|
||||||
### 📜 Upload History
|
### 📜 Upload History
|
||||||
- [ ] Create a local database or use SharedPreferences to log:
|
- [x] Create a local database or use SharedPreferences to log:
|
||||||
- File name
|
- File name
|
||||||
- Upload time
|
- Upload time
|
||||||
- Server-returned code
|
- Server-returned code
|
||||||
- Max downloads & expiry
|
- Max downloads & expiry
|
||||||
- [ ] Add new UI to list previously uploaded files
|
- [x] Add new UI to list previously uploaded files
|
||||||
- [ ] Allow copy of upload code and option to delete history entry
|
- [x] Allow copy of upload code and option to delete history entry
|
||||||
|
|
||||||
### ⬆️ Upload Enhancements
|
### ⬆️ Upload Enhancements
|
||||||
- [x] Replace TinyURL logic with server-provided 6-digit alphanumeric code
|
- [x] Replace TinyURL logic with server-provided 6-digit alphanumeric code
|
||||||
@@ -53,11 +53,11 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
## 🧪 Testing Scenarios
|
## 🧪 Testing Scenarios
|
||||||
- [ ] Manual upload with various file types
|
- [x] Manual upload with various file types
|
||||||
- [ ] Share intent upload flow
|
- [x] Share intent upload flow
|
||||||
- [ ] Zip logic works on large files
|
- [x] Zip logic works on large files
|
||||||
- [x] Network disruptions (offline/retry handling)
|
- [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
|
- History storage
|
||||||
- Share intent handler
|
- Share intent handler
|
||||||
- [x] Improve logs for debugging failures
|
- [x] Improve logs for debugging failures
|
||||||
|
- [x] Ensure compatibility with Android 14+ (API 34)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user