How tanushriwarhade/offlinep2p works
OfflineP2P is an Android app for offline Bluetooth messaging, with persistent chat, a simulated-call screen, and a foreground service. The documented user journey is device discovery, peer messaging, and viewing persisted chat; the README also lists simulated calls and runtime permissions. The supplied repository tree contains no Android source files, so component paths and capabilities below come from the README, while implementation-level calls and wiring cannot be verified. Dashed edges mark only documented or plausible relationships whose exact runtime connection is unavailable.
Components 12
Discovery and Bluetooth
- Device discovery
- Device list
- RFCOMM manager
- Bluetooth service
Chat and Storage
- Chat screen
- Chat bubbles
- Message model
- Chat database
Calls and Service
- Call simulation
Other components
- App user
- Bluetooth peer
- Android system
Connections 11
- App user → Device discovery: discovers devices
- Device discovery → Device list: lists devices
- Device discovery → RFCOMM manager: uses RFCOMM
- RFCOMM manager → Bluetooth peer: exchanges messages
- Bluetooth service → RFCOMM manager: manages Bluetooth
- App user → Chat screen: opens chat
- Chat screen → Chat bubbles: renders bubbles
- Chat screen → Chat database: persists messages
README.md - Chat bubbles → Message model: renders messages
- App user → Call simulation: starts simulation
- Bluetooth service → Android system: shows notification
README.md