Vivaldi

  • Browser
  • Mail
  • News
  • Community
  • About

Navigation

    • Browser
    • Mail
    • News
    • Community
    • About
    • Register
    • Login
    • Search
    CommunityForumHelpThemesWebmail
    • Home
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Support & Troubleshooting
    3. Vivaldi on Android
    4. Launch QR code scanner directly

    Launch QR code scanner directly

    Vivaldi on Android
    7
    25
    182
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      denisidoro last edited by denisidoro

      Hi! I'd like to create a shortcut to the QR code scanner.

      I know there's a widget for that but I'd rather not use it.

      Using a logcat reader I've found this:

      06-18 16:49:41.653 I/ActivityTaskManager(1834): START u0 {act=org.vivaldi.browser.searchwidget.START_QR_CODE_SCAN flg=0x10080000 cmp=com.vivaldi.browser/org.chromium.chrome.browser.searchwidget.SearchActivity (has extras)} from uid 10643
      

      However, I've been unable to open the scanner via an "am" command.

      Could you please give me a working "am" command?

      Thanks

      KumarArnim1 1 Reply Last reply Reply Quote 0
      • S
        solidsnake - Ambassador - last edited by

        Holding Vivaldi icon pops up a menu for direct opening of the QR scanner. Doesn't this work for you?

        S_Paternotte 1 Reply Last reply Reply Quote 0
        • S_Paternotte
          S_Paternotte Vivaldi Translator @solidsnake last edited by

          @solidsnake I tried your suggestion on my Samsung A41 with Android 10. I tried with the url bar at the top or the bottom of the screen. But I cannot get any other menu than the standard Vivaldi menu. Should I enable some setting? Could this be platform specific?

          B Aaron 2 Replies Last reply Reply Quote 0
          • B
            bswn @S_Paternotte last edited by

            @S_Paternotte do not open Vivaldi... Click and hold on Vivaldi icon (the icon that clicked when you want to open Vivaldi)

            Aaron S_Paternotte 2 Replies Last reply Reply Quote 0
            • Aaron
              Aaron Vivaldi Translator @S_Paternotte last edited by Aaron

              @S_Paternotte There is no specific option to switch this function, the default is valid. You can open an empty new tab, click on the address bar, a QR icon will appear on the right
              QR icon only appears when address bar is empty

              Arch Linux, LXQt | Beijing, China. | 中文, English

              1 Reply Last reply Reply Quote 1
              • Aaron
                Aaron Vivaldi Translator @bswn last edited by

                @bswn Not valid on some Android desktop environments

                Arch Linux, LXQt | Beijing, China. | 中文, English

                B 1 Reply Last reply Reply Quote 0
                • B
                  bswn @Aaron last edited by bswn

                  @Aaron what do you mean with Android desktop environment?

                  Aaron S_Paternotte 2 Replies Last reply Reply Quote 0
                  • Aaron
                    Aaron Vivaldi Translator @bswn last edited by

                    @bswn I‘m using Apex-launcher, it cann't pop-up the SCAN QR menu by long-press

                    Arch Linux, LXQt | Beijing, China. | 中文, English

                    1 Reply Last reply Reply Quote 0
                    • S_Paternotte
                      S_Paternotte Vivaldi Translator @bswn last edited by

                      @bswn I know the difference between hold and tap. Hold doesn't do it for me.

                      1 Reply Last reply Reply Quote 0
                      • S_Paternotte
                        S_Paternotte Vivaldi Translator @bswn last edited by

                        @bswn I'm using Microsoft Launcher. I would not know if this should make a difference or not.

                        Aaron 1 Reply Last reply Reply Quote 0
                        • Aaron
                          Aaron Vivaldi Translator @S_Paternotte last edited by

                          @S_Paternotte I do have that popup menu on my other phone using the native launcher.
                          So I concluded it was the launcher that changed the long-press behavior

                          Arch Linux, LXQt | Beijing, China. | 中文, English

                          S_Paternotte 1 Reply Last reply Reply Quote 0
                          • S_Paternotte
                            S_Paternotte Vivaldi Translator @Aaron last edited by

                            @Aaron so, is it a feature or bug of the launcher, or bug of Vivaldi?

                            S Aaron 2 Replies Last reply Reply Quote 0
                            • S
                              solidsnake - Ambassador - @S_Paternotte last edited by

                              @S_Paternotte

                              I was referring to the pop-up menu while holding the Vivaldi icon on the homescreen or drawer, not the menu from the program.

                              DSC09139.JPG

                              But I guess it depends on the launcher to display this menu. AFIAK all (or most) default launchers support this, but not all custom launchers.
                              I don't know what is the proper Android terminology for this feature.

                              Aaron 1 Reply Last reply Reply Quote 0
                              • D
                                denisidoro last edited by

                                The pop-up menu does work for me, but my use case is different.

                                I'd like to open the scanner via a task in Tasker, to automate a flow of mine.

                                In other words, without any user interaction.

                                That's why I'd like to open it by broadcasting an intent or by opening a deep link.

                                I'm very close to achieving that (see my original message) but I believe there's an intent extra I'm missing.

                                nomadic 1 Reply Last reply Reply Quote 0
                                • Aaron
                                  Aaron Vivaldi Translator @solidsnake last edited by Aaron

                                  @solidsnake
                                  yes. what I'm talking about is desktop icons ,too
                                  This is my Samsung S22 Ultra with Apex-launcher runs on Android 12:

                                  002.png

                                  And this is my Royole FlexPai2 with it's natural
                                  UI runs on Android 10:

                                  003.png

                                  Arch Linux, LXQt | Beijing, China. | 中文, English

                                  1 Reply Last reply Reply Quote 0
                                  • Aaron
                                    Aaron Vivaldi Translator @S_Paternotte last edited by

                                    @S_Paternotte said in Launch QR code scanner directly:

                                    so, is it a feature or bug of the launcher, or bug of Vivaldi?

                                    I think it's a compatibility issue. It's hard to tell whose bug it is. If you think it's a bug, it obviously belongs to the launcher and not vivaldi

                                    Arch Linux, LXQt | Beijing, China. | 中文, English

                                    1 Reply Last reply Reply Quote 0
                                    • Aaron
                                      Aaron Vivaldi Translator last edited by Aaron

                                      @S_Paternotte @solidsnake
                                      Now that I switch back to the original UI on the Samsung phone, the menu for the QR scan comes back:
                                      004.png

                                      Arch Linux, LXQt | Beijing, China. | 中文, English

                                      1 Reply Last reply Reply Quote 0
                                      • S_Paternotte
                                        S_Paternotte Vivaldi Translator last edited by

                                        A long press of the Vivaldi icon on the start screen gives me a similar menu including qr code option. I was holding down Vivaldi's own icon. Mystery resolved, but we are deviating from the original request.

                                        1 Reply Last reply Reply Quote 1
                                        • KumarArnim1
                                          KumarArnim1 @denisidoro last edited by KumarArnim1

                                          @denisidoro Well that's rather easy to solve tbh. Hold onto the Vivaldi Icon for a moment, you'll be presented with a similar type of interface of a pop up protruding out from Vivaldi icon IMG-20220620-WA0005.jpg
                                          Hold onto the Scan QR Code option, the background will fade into the home screen separating the bar from the popup menu and converting it into a iconIMG-20220620-WA0006.jpg

                                          Device used for demonstration :- Samsung Galaxy A72

                                          I have added a video tutorial in the link down below to show it properly
                                          https://mega.nz/file/KbhHWCRT#9CpX1unF5beKSSraxsqBgowUeWDOFuVaXQf-IA725fM

                                          1 Reply Last reply Reply Quote 0
                                          • nomadic
                                            nomadic @denisidoro last edited by

                                            @denisidoro said in Launch QR code scanner directly:

                                            I'd like to open the scanner via a task in Tasker, to automate a flow of mine.

                                            Nice. I use Tasker, but have never used the Send Intent option before. I used adb logcat -e .+vivaldi.+ for the shortcut option to launch the QR code scanner and got this:

                                            06-20 12:11:12.272  1572  4458 I ActivityTaskManager: START u0 {act=vivaldi.shortcut.action.SCAN_QR_CODE flg=0x1000c000 cmp=com.vivaldi.browser/org.chromium.chrome.browser.LauncherShortcutActivity bnds=[849,1542][1003,1724]} from uid 10333 pid -1
                                            

                                            I tried messing around in Tasker to get it working, but I don't really know what I am doing.
                                            This didn't work:

                                            Send Intent
                                            [Action]: "vivaldi.shortcut.action.SCAN_QR_CODE",
                                            [Package]: "com.vivaldi.browser",
                                            [Class]: "com.vivaldi.browser/org.chromium.chrome.browser.LauncherShortcutActivity"
                                            

                                            But again, I have no idea what I am doing...

                                            Maybe you can do more with the log information and figure it out. If you do, please share it here. I could probably use this as well.

                                            Do you use AutoShare or just the regular Send Intent?

                                            1 Reply Last reply Reply Quote 0
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            • Reply as topic
                                            Log in to reply
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.

                                            Copyright © Vivaldi Technologies™ — All rights reserved. Privacy Policy | Code of conduct | Terms of use | Vivaldi Status