UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    emergency cell broadcasts need an alarm

    Scheduled Pinned Locked Moved Design
    11 Posts 5 Posters 179 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      kugiigi
      last edited by

      It definitely needs a loud sound just like on other systems. Is that even an opt-put thing there?
      Actually, I don't think I've ever seen one in UT. It's a good thing it actually works. Hopefully we can figure out how to add the sound.
      I thinn for now, it'll better to have an Android/iOS phone as secondary device for important things like this.

      C 2 Replies Last reply Reply Quote 0
      • C Offline
        ChromiumOS-Guy @kugiigi
        last edited by ChromiumOS-Guy

        @kugiigi it is, altough there is a specific alarm sound on both ios and android ill try to look for it and see what the license is, we should preferably use this alarm sound because people will know exactly whats up its very distinct.

        EDIT: i haven't actually optted out myself when i still used android but i know it is possible, ill get back to you on if there some sort of standard don't sue us agreement you agree to first because thats sensible to have for once.

        C 1 Reply Last reply Reply Quote 1
        • C Offline
          ChromiumOS-Guy @ChromiumOS-Guy
          last edited by ChromiumOS-Guy

          I did find a video of the alarm is question: https://youtu.be/sxF2c_nhiGM?si=nXzZYHBnhjPoy-MQ

          EDIT:
          I think this is the AOSP files for it: https://android.googlesource.com/platform/packages/apps/CellBroadcastReceiver/+/refs/heads/main/res/raw

          1 Reply Last reply Reply Quote 0
          • C Offline
            ChromiumOS-Guy @kugiigi
            last edited by

            @kugiigi okay to summarize this is the AOSP link to the alerts: https://android.googlesource.com/platform/packages/apps/CellBroadcastReceiver/+/refs/heads/main/res/raw

            you can turn off alerts in android with no notice so we don't need to necessarily implement that.

            a feature in android which we should also implement is opt-in: "Always alert at full volume" which if turned on will override Silent Mode and still do the alarm.

            1 Reply Last reply Reply Quote 2
            • lduboeufL Offline
              lduboeuf
              last edited by

              That should be not hard to do, if we decide which sound to add , i can give a try.
              The only thing i don't know is if i can override current sound level.
              Also as it uses the desktop notification path we need to add a special flag to do such thing

              CiberSheepC C 2 Replies Last reply Reply Quote 0
              • CiberSheepC Offline
                CiberSheep @lduboeuf
                last edited by

                I can only share the experience with alarms of other OS on other phones:
                The noise is so horrible and disturbing people gets nervous and just dismiss it without reading the text.

                Another planet, another time, another universe!

                1 Reply Last reply Reply Quote 0
                • C Offline
                  ChromiumOS-Guy @lduboeuf
                  last edited by

                  @lduboeuf it should be the standard alert presidential/amber alert sound in my opinion

                  lduboeufL S 2 Replies Last reply Reply Quote 0
                  • lduboeufL Offline
                    lduboeuf @ChromiumOS-Guy
                    last edited by

                    @ChromiumOS-Guy said:

                    @lduboeuf it should be the standard alert presidential/amber alert sound in my opinion

                    Ah hmm, you mean it plays a sound already ?
                    i don't remember how i did it

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sixwheeledbeast @ChromiumOS-Guy
                      last edited by

                      @ChromiumOS-Guy
                      https://commons.wikimedia.org/wiki/File:Cell_Broadcast_Alert_Tone.oga
                      There is a standard for the tone as covered on https://en.wikipedia.org/wiki/Cell_Broadcast#Public_warning_systems

                      C 1 Reply Last reply Reply Quote 0
                      • C Offline
                        ChromiumOS-Guy @sixwheeledbeast
                        last edited by

                        @sixwheeledbeast yes i meant this when i said standard tone, thank you!

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post