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

Shake for flashlight

Scheduled Pinned Locked Moved OS
suggestionfeature
12 Posts 6 Posters 1.0k Views 1 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.
    • L Offline
      Laktosefreier
      last edited by 15 Feb 2023, 14:42

      Easier said than done, I know 😉

      Or maybe just press the power button twice?

      I didn't find a dedicated general feature suggstions topic (If it exists, move this post, please. If not, create one, please.), so I post it here.

      I am not sure if some ideas are patented and therefore not implemented into ubports.

      Kind regards

      Laktosefreier

      Pixel 3a XL (20.04)

      K 1 Reply Last reply 15 Feb 2023, 17:17 Reply Quote 1
      • L Lakotaubp moved this topic from OS on 15 Feb 2023, 15:22
      • K Offline
        kugiigi @Laktosefreier
        last edited by 15 Feb 2023, 17:17

        @laktosefreier What does other systems use? I'd avoid gestures that are easy to trigger accidentally especially since turning on the flashlight can also create heat on the device.

        L 1 Reply Last reply 16 Feb 2023, 00:05 Reply Quote 1
        • C CiberSheep moved this topic from General on 15 Feb 2023, 18:03
        • L Offline
          lsitongia @kugiigi
          last edited by 16 Feb 2023, 00:05

          @kugiigi Two of the Motorola phones I've had use serveral acceleration gestures. For the flashlight it is two hacking motions. Two wrist twists opens the camera.

          L 1 Reply Last reply 16 Feb 2023, 07:58 Reply Quote 2
          • L Offline
            Laktosefreier @lsitongia
            last edited by 16 Feb 2023, 07:58

            @lsitongia That would require some kind of pre-wake mode with permissions that the gyro sensor triggers with a specific motion. It might also need permission for camera without unlocking, since those two are usually linked.

            The power button way should be easier to implement since the gyro sensor doesn't need to be active all the time, draining battery or worse, preventing deep sleep. Standby time is often an issue, I guess we should not wake the sleeping bear 😉

            The people behind LineageOS solved this by pressing the power button for 2 seconds, not even activating the screen, therefore additionally saving that little bit of battery.

            Pixel 3a XL (20.04)

            A 1 Reply Last reply 16 Feb 2023, 10:22 Reply Quote 2
            • A Offline
              AppLee @Laktosefreier
              last edited by 16 Feb 2023, 10:22

              Hi @laktosefreier

              There is already a nice implementation to fast access the flashlight in Ubuntu Touch.
              Why go to the trouble to change that?
              The cost to benefit does not make it worth the effort.

              Maybe someone obsessed with this topic may invest time to implement something but I doubt it will be helpful for a wider audience and I doubt it will ever be integrated officially as the work required to satisfy the requirement for it is improbable.

              L 1 Reply Last reply 17 Feb 2023, 14:09 Reply Quote 1
              • L Offline
                Laktosefreier @AppLee
                last edited by 17 Feb 2023, 14:09

                @applee said in Shake for flashlight:

                There is already a nice implementation to fast access the flashlight in Ubuntu Touch.

                I found an app in the Open Store and installed it, pinned a shortcut to the bar.
                What other fast access is there? I haven't found it yet.
                The flashlight switch from the status bar Battery doesn't work.

                Pixel 3a XL (20.04)

                P 1 Reply Last reply 18 Feb 2023, 01:14 Reply Quote 1
                • P Offline
                  PhoenixLandPirat @Laktosefreier
                  last edited by 18 Feb 2023, 01:14

                  @laktosefreier said in Shake for flashlight:

                  The flashlight switch from the status bar Battery doesn't work.

                  Have ou tried it in the last 3 days?

                  L 1 Reply Last reply 18 Feb 2023, 14:27 Reply Quote 0
                  • L Offline
                    Laktosefreier @PhoenixLandPirat
                    last edited by 18 Feb 2023, 14:27

                    @phoenixlandpirat
                    Yes. It is not working. The app uTorch works, however.
                    There are a few little things that prevent me from using ubports as a daily driver.
                    I tried receiving files on it via Bluetooth, instead the Pixel turned into a Bluetooth speaker for the sending device 😄

                    Pixel 3a XL (20.04)

                    P K 2 Replies Last reply 18 Feb 2023, 15:45 Reply Quote -1
                    • P Offline
                      PhoenixLandPirat @Laktosefreier
                      last edited by 18 Feb 2023, 15:45

                      @laktosefreier it was fixed on the FairPhone a few days ago, thought the same fix applied to all devices.

                      I had that as well, in time itll all come.

                      K 1 Reply Last reply 19 Feb 2023, 09:59 Reply Quote 0
                      • K Offline
                        kugiigi @Laktosefreier
                        last edited by 18 Feb 2023, 16:37

                        @laktosefreier You'll have to use the Bluetooth transfer app for that. Haven't tried in a long time though so not sure if it's still working. The reviews isn't promising 😅

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          kimo @PhoenixLandPirat
                          last edited by 19 Feb 2023, 09:59

                          @phoenixlandpirat
                          flashlight has been fixed and it is working on p3a xl dev

                          L 1 Reply Last reply 22 Feb 2023, 11:00 Reply Quote 2
                          • L Offline
                            Laktosefreier @kimo
                            last edited by 22 Feb 2023, 11:00

                            @kimo said in Shake for flashlight:

                            @phoenixlandpirat
                            flashlight has been fixed and it is working on p3a xl dev

                            I changed the update source to development and yes, it works 🤗 thanks

                            Pixel 3a XL (20.04)

                            1 Reply Last reply Reply Quote 0
                            4 out of 12
                            • First post
                              4/12
                              Last post