How adhithya9841/qr-secure-share works
QR Secure Share is an Android app for preparing and receiving password-protected file transfers represented as QR frames, with transfer history and settings screens. The visible user flow starts at Home and navigates to Send, Receive, History, or Settings. Send and Receive currently show UI prompts, but their file-picking, QR-generation, scanning, and restore buttons are TODOs; the core crypto and QR services therefore cannot be connected to those screens from the shown evidence. History storage components are present, though the History screen’s repository interaction is not established by the excerpts.
Main entry points: QRNavHost.kt Navigation host · HistoryRepositoryImpl.kt History repository · DataModule.kt Data bindings · MainActivity.kt Main activity
Components 21
App entry
- Main activity
app/src/main/java/com/qrsecureshare/MainActivity.kt
User interface
- Navigation host
features/src/main/java/com/qrsecureshare/features/navigation/QRNavHost.kt - Home screen
features/src/main/java/com/qrsecureshare/features/home/HomeScreen.kt - Send screen
features/src/main/java/com/qrsecureshare/features/send/SendScreen.kt - Receive screen
features/src/main/java/com/qrsecureshare/features/receive/ReceiveScreen.kt - History screen
features/src/main/java/com/qrsecureshare/features/history/HistoryScreen.kt - Settings screen
features/src/main/java/com/qrsecureshare/features/settings/SettingsScreen.kt
Transfer core
- Encryption and checksums
core/src/main/java/com/qrsecureshare/core/crypto/CryptoManager.kt - Compression
core/src/main/java/com/qrsecureshare/core/compression/CompressionManager.kt - QR frame generation
core/src/main/java/com/qrsecureshare/core/qr/QrGeneratorService.kt - QR frame scanning
core/src/main/java/com/qrsecureshare/core/qr/QrScannerService.kt - File assembly
core/src/main/java/com/qrsecureshare/core/qr/FileAssembler.kt
Transfer history
- Transfer record
domain/src/main/java/com/qrsecureshare/domain/model/TransferRecord.kt - Transfer status
domain/src/main/java/com/qrsecureshare/domain/model/TransferStatus.kt - History contract
domain/src/main/java/com/qrsecureshare/domain/repository/HistoryRepository.kt - History repository
data/src/main/java/com/qrsecureshare/data/repository/HistoryRepositoryImpl.kt - Transfer DAO
data/src/main/java/com/qrsecureshare/data/db/TransferDao.kt - Transfer entity
data/src/main/java/com/qrsecureshare/data/db/TransferEntity.kt - Transfer database
data/src/main/java/com/qrsecureshare/data/db/AppDatabase.kt - Data bindings
data/src/main/java/com/qrsecureshare/data/di/DataModule.kt
Other components
- User
Connections 15
- User → Main activity: opens app
- Main activity → Navigation host: shows
app/src/main/java/com/qrsecureshare/MainActivity.kt - Navigation host → Home screen: routes to
features/src/main/java/com/qrsecureshare/features/navigation/QRNavHost.kt - Navigation host → Send screen: routes to
features/src/main/java/com/qrsecureshare/features/navigation/QRNavHost.kt - Navigation host → Receive screen: routes to
features/src/main/java/com/qrsecureshare/features/navigation/QRNavHost.kt - Navigation host → History screen: routes to
features/src/main/java/com/qrsecureshare/features/navigation/QRNavHost.kt - Navigation host → Settings screen: routes to
features/src/main/java/com/qrsecureshare/features/navigation/QRNavHost.kt - QR frame generation → Encryption and checksums: checksums with
core/src/main/java/com/qrsecureshare/core/qr/QrGeneratorService.kt - File assembly → Encryption and checksums: references
core/src/main/java/com/qrsecureshare/core/qr/FileAssembler.kt - History repository → Transfer DAO: reads and writes
data/src/main/java/com/qrsecureshare/data/repository/HistoryRepositoryImpl.kt - History repository → Transfer entity: maps records
data/src/main/java/com/qrsecureshare/data/repository/HistoryRepositoryImpl.kt - History repository → Transfer record: maps records
data/src/main/java/com/qrsecureshare/data/repository/HistoryRepositoryImpl.kt - History repository → Transfer status: maps status
data/src/main/java/com/qrsecureshare/data/repository/HistoryRepositoryImpl.kt - Data bindings → History repository: binds
data/src/main/java/com/qrsecureshare/data/di/DataModule.kt - Data bindings → Transfer database: provides
data/src/main/java/com/qrsecureshare/data/di/DataModule.kt