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
    14 Posts 6 Posters 222 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 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 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 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 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 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
                      • 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 1 Reply Last reply Reply Quote 0
                        • K Online
                          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 😕

                            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