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
    17 Posts 6 Posters 240 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.
    • C Online
      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 Online
        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 Online
            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 Online
              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 Online
                  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
                  • lduboeufL Online
                    lduboeuf @ChromiumOS-Guy
                    last edited by

                    @ChromiumOS-Guy
                    I've quickmy looked at the code and we have an alert sound defined ( but that is not the one we expect ).
                    I wonder if you were on silent mode or very low volume level ?

                    I need now to see if it is easy to bypass any user config

                    K C 2 Replies Last reply Reply Quote 0
                    • K Offline
                      kristatos @lduboeuf
                      last edited by

                      @lduboeuf For me there was never a tone when a CB alert arrived, no matter if I was in silent or not.

                      BQ Aquaris E4.5 (UT 16.04)
                      Vollaphone (UT 24.04)
                      Vollaphone 22 (UT 24.04)

                      lduboeufL 1 Reply Last reply Reply Quote 0
                      • lduboeufL Online
                        lduboeuf @kristatos
                        last edited by

                        @kristatos said:

                        @lduboeuf For me there was never a tone when a CB alert arrived, no matter if I was in silent or not.

                        Ok, i will look at it , but my TODO list is quite big 😕

                        K lduboeufL 2 Replies Last reply Reply Quote 0
                        • K Offline
                          kristatos @lduboeuf
                          last edited by

                          @lduboeuf No problem, we can be happy that someone is looking at it. It's your free time that you invest in things like that 👍

                          BQ Aquaris E4.5 (UT 16.04)
                          Vollaphone (UT 24.04)
                          Vollaphone 22 (UT 24.04)

                          1 Reply Last reply Reply Quote 0
                          • lduboeufL Online
                            lduboeuf @lduboeuf
                            last edited by

                            lduboeuf said:

                            @kristatos said:

                            @lduboeuf For me there was never a tone when a CB alert arrived, no matter if I was in silent or not.

                            Ok, i will look at it , but my TODO list is quite big 😕

                            interesting, i think i forgot to add that sound setting....
                            So that should not be hard to add it. The main question i have would be how to bypass the sound volume.

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

                              @lduboeuf no this was consistant through the entire Israel/Iran war, and now.

                              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