How yuva-raj444/photosence works
Photosense is an offline Android gallery search app. The documented workflow is to grant photo access, index an album on-device, then search from the home screen with natural-language queries. The README identifies the main search and indexing screens and the ML and data layers; the source excerpts do not show their call relationships, so the graph avoids guessing at internal wiring.
Main entry points: IndexAlbumsActivity.kt Album indexing · MainActivity.kt Search home · ml Embedding and tokenization
Components 11
App screens
- Search home
app/src/main/java/com/example/clipgallery/MainActivity.kt - Album indexing
app/src/main/java/com/example/clipgallery/IndexAlbumsActivity.kt - Search filters
app/src/main/java/com/example/clipgallery/SearchFilterActivity.kt - Search results
app/src/main/java/com/example/clipgallery/SearchResultsActivity.kt
Gallery browsing
- Album view
app/src/main/java/com/example/clipgallery/AlbumActivity.kt - Photo viewer
app/src/main/java/com/example/clipgallery/PhotoViewerActivity.kt - Media access
app/src/main/java/com/example/clipgallery/MediaStoreHelper.kt
On-device search
- Embedding and tokenization
app/src/main/java/com/example/clipgallery/ml - Tokenizer assets
app/src/main/assets/tokenizer
Local data
- Room data access
app/src/main/java/com/example/clipgallery/data
Other components
- User
Connections 3
- User → Album indexing: chooses album
README.md - Album indexing → Embedding and tokenization: indexes on-device
README.md - User → Search home: searches from home
README.md