BIT
- 2 Devlogs
- 1 Total hours
BIT is an Android-native local AI platform that turns a smartphone into a self-contained AI engine capable of hosting, managing, and serving AI models to users and applications.
BIT is an Android-native local AI platform that turns a smartphone into a self-contained AI engine capable of hosting, managing, and serving AI models to users and applications.
DevLog #2: On-Device Object Removal Mask Drawing UI
Key Highlights from DevLog #2:
State Management: Added drawing mask bitmap flows (maskImage), state clear handlers on resetting images/tools, and set the Hugging Face download endpoint URLs for all three vision models in
ImageToolsViewModel.kt
.
Gesture-Drawing Canvas UI: Built the MaskDrawingSection in
ImageToolsScreen.kt
supporting real-time red transparent touch overlays, a brush size slider (10px to 100px), and quick actions to change the image or clear the mask.
Mask Generation & Matching: Implemented background rendering that draws white strokes on a black canvas and scales it 1:1 to match the source image resolution for the LaMa inpainting engine.
Build Verification: Successfully ran the Kotlin compiler task (BUILD SUCCESSFUL in 2m 17s).
Model Selection & Monitoring
Real-time RAM Usage indicator
Context: Power users need to know if loading a model will crash their device due to OOMs.
Improvement: In
HomeTopBar.kt
, add a small, elegant badge next to the current model name showing the device’s current RAM consumption (e.g. [4.2 / 8.0 GB]), colored green, yellow, or red depending on memory pressure