From b3bc59b2ab45d09c80ec035690c35665941aa2e6 Mon Sep 17 00:00:00 2001 From: Shingyx Date: Sat, 23 Aug 2025 18:57:08 +1000 Subject: [PATCH] Add more speakers --- .../java/com/github/shingyx/boomswitch/ui/HelpActivity.kt | 8 ++++++++ .../java/com/github/shingyx/boomswitch/ui/SpeakerModel.kt | 6 ++++++ app/src/main/res/values/strings.xml | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/app/src/main/java/com/github/shingyx/boomswitch/ui/HelpActivity.kt b/app/src/main/java/com/github/shingyx/boomswitch/ui/HelpActivity.kt index 98eeec5..b1c42b6 100644 --- a/app/src/main/java/com/github/shingyx/boomswitch/ui/HelpActivity.kt +++ b/app/src/main/java/com/github/shingyx/boomswitch/ui/HelpActivity.kt @@ -48,11 +48,16 @@ class HelpActivity : AppCompatActivity() { SpeakerModel.MEGABOOM -> { R.string.help_text_supported } + SpeakerModel.WONDERBOOM_PLAY, + SpeakerModel.WONDERBOOM_4, SpeakerModel.WONDERBOOM_3, SpeakerModel.WONDERBOOM_2, SpeakerModel.WONDERBOOM -> { R.string.help_text_not_supported_wonderboom } + SpeakerModel.BOOM_4, + SpeakerModel.MEGABOOM_4, + SpeakerModel.EVERBOOM, SpeakerModel.EPICBOOM, SpeakerModel.HYPERBOOM -> { R.string.help_text_not_supported_other_boom @@ -61,6 +66,9 @@ class HelpActivity : AppCompatActivity() { SpeakerModel.MEGABLAST -> { R.string.help_text_not_supported_blast } + SpeakerModel.MINIROLL -> { + R.string.help_text_not_supported_miniroll + } SpeakerModel.ROLL_2, SpeakerModel.ROLL -> { R.string.help_text_not_supported_roll diff --git a/app/src/main/java/com/github/shingyx/boomswitch/ui/SpeakerModel.kt b/app/src/main/java/com/github/shingyx/boomswitch/ui/SpeakerModel.kt index 0fa3a93..20f9bfd 100644 --- a/app/src/main/java/com/github/shingyx/boomswitch/ui/SpeakerModel.kt +++ b/app/src/main/java/com/github/shingyx/boomswitch/ui/SpeakerModel.kt @@ -4,18 +4,24 @@ import androidx.annotation.StringRes import com.github.shingyx.boomswitch.R enum class SpeakerModel(@StringRes val modelStringResId: Int) { + BOOM_4(R.string.speaker_boom_4), BOOM_3(R.string.speaker_boom_3), BOOM_2(R.string.speaker_boom_2), BOOM(R.string.speaker_boom), + MEGABOOM_4(R.string.speaker_megaboom_4), MEGABOOM_3(R.string.speaker_megaboom_3), MEGABOOM(R.string.speaker_megaboom), + WONDERBOOM_PLAY(R.string.speaker_wonderboom_play), + WONDERBOOM_4(R.string.speaker_wonderboom_4), WONDERBOOM_3(R.string.speaker_wonderboom_3), WONDERBOOM_2(R.string.speaker_wonderboom_2), WONDERBOOM(R.string.speaker_wonderboom), + EVERBOOM(R.string.speaker_everboom), EPICBOOM(R.string.speaker_epicboom), HYPERBOOM(R.string.speaker_hyperboom), BLAST(R.string.speaker_blast), MEGABLAST(R.string.speaker_megablast), + MINIROLL(R.string.speaker_miniroll), ROLL_2(R.string.speaker_roll_2), ROLL(R.string.speaker_roll), SOMETHING_ELSE(R.string.speaker_something_else), diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index e0bf8e5..776c552 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -40,17 +40,23 @@ BOOM BOOM 2 BOOM 3 + BOOM 4 MEGABOOM MEGABOOM 3 + MEGABOOM 4 WONDERBOOM WONDERBOOM 2 WONDERBOOM 3 + WONDERBOOM 4 + WONDERBOOM PLAY + EVERBOOM EPICBOOM HYPERBOOM BLAST MEGABLAST ROLL ROLL 2 + MINIROLL Something else Having trouble connecting? Please select the model of your speaker below. @@ -58,6 +64,7 @@ %1$s is not supported by this app, because the WONDERBOOM speakers do not support remote power. There is no app for the WONDERBOOM range of speakers. %1$s has not been tested with this app, so support is unknown. Please use the official BOOM app if you\'re experiencing any issues.\n\nGet the official BOOM app here: https://play.google.com/store/apps/details?id=com.logitech.ueboom %1$s has not been tested with this app, so support is unknown. Please use the official BLAST app if you\'re experiencing any issues.\n\nGet the official BLAST app here: https://play.google.com/store/apps/details?id=com.logitech.newjackcity + %1$s is not supported by this app, because the MINIROLL speakers do not support remote power. There is no app for the MINIROLL range of speakers. %1$s has not been tested with this app, so support is unknown. Please use the official ROLL app if you\'re experiencing any issues.\n\nGet the official ROLL app here: https://play.google.com/store/apps/details?id=com.logitech.ueroll Your speaker is not supported by this app. BOOM Switch only supports a select range of speakers made by the Ultimate Ears brand. If your speaker is not on the list above, then your speaker is not an Ultimate Ears speaker.