|
|
||
|---|---|---|
| .. | ||
| app | ||
| gradle/wrapper | ||
| .gitignore | ||
| DESIGN.md | ||
| README.md | ||
| build.gradle.kts | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| settings.gradle.kts | ||
README.md
Blastoise Native Android
Native Kotlin listener app for the Blastoise/MusicRoom server.
Build
From this directory:
gradlew.bat :app:assembleDebug
The debug APK is written to:
app\build\outputs\apk\debug\app-debug.apk
Run
Use the root Android helper:
..\run.bat
Or install manually:
gradlew.bat :app:installDebug
adb shell am start -n com.peterino.blastoise/.MainActivity
MVP scope
- Defaults to
https://tunes.peterino.com/and auto-connects on launch. - Saves a server URL locally.
- Uses
/api/channelsto establish an authenticated or guest session. - Supports
/api/auth/loginfor named users. - Connects to
/api/channels/:id/ws. - Plays
/api/tracks/:idthrough AndroidX Media3. - Corrects playback drift when the server timestamp differs by 2 seconds or more.
- Shows channel switching, queue preview, sync health, drift, session state, and recent WebSocket events on the main screen.
Offline track caching is intentionally not included yet.