Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. force keyboard for dropdown box on mobile

force keyboard for dropdown box on mobile

Scheduled Pinned Locked Moved Mobile
androidiosalgorithmshelp
12 Posts 5 Posters 2 Views 1 Watching
  • 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.
  • T Offline
    T Offline
    TMarkus
    wrote on last edited by
    #1

    When I want to select from a dropdown box on a desktop browser I can use the keyboard to type a letter to cut the searching short, e.g. press K and the list will jump to entries starting with K. Unfortunately this does not work on my BB (not sure about Android or iPhone) and I don't know if it is even possible on mobile to achieve a similar result. BB just shows the dropdown box and forces me to scroll the entire list. I have already shortened the list but the number of entries can still be substantial (50 - 100 entries). I have searched high and low to see if I can force a keyboard to pop up or jump to specific entries but came up empty. Any help would be appreciated.

    L D 2 Replies Last reply
    0
    • T TMarkus

      When I want to select from a dropdown box on a desktop browser I can use the keyboard to type a letter to cut the searching short, e.g. press K and the list will jump to entries starting with K. Unfortunately this does not work on my BB (not sure about Android or iPhone) and I don't know if it is even possible on mobile to achieve a similar result. BB just shows the dropdown box and forces me to scroll the entire list. I have already shortened the list but the number of entries can still be substantial (50 - 100 entries). I have searched high and low to see if I can force a keyboard to pop up or jump to specific entries but came up empty. Any help would be appreciated.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Does this have anything to do with programming?

      T C 2 Replies Last reply
      0
      • L Lost User

        Does this have anything to do with programming?

        T Offline
        T Offline
        TMarkus
        wrote on last edited by
        #3

        Does your reply help in any way?

        L 1 Reply Last reply
        0
        • T TMarkus

          Does your reply help in any way?

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Help with what? Your question does not contain anything that implies a programming problem, so I was trying to get you to clarify it.

          T M 2 Replies Last reply
          0
          • L Lost User

            Help with what? Your question does not contain anything that implies a programming problem, so I was trying to get you to clarify it.

            T Offline
            T Offline
            TMarkus
            wrote on last edited by
            #5

            The question is, is there a way to force a keyboard to pop up, through js or otherwise to achieve the same results I get on my desktop. Hope that clarifies. :-)

            L 1 Reply Last reply
            0
            • T TMarkus

              The question is, is there a way to force a keyboard to pop up, through js or otherwise to achieve the same results I get on my desktop. Hope that clarifies. :-)

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              None that I am aware of. Most devices automatically show the keyboard when an input field gets the focus.

              T 1 Reply Last reply
              0
              • L Lost User

                None that I am aware of. Most devices automatically show the keyboard when an input field gets the focus.

                T Offline
                T Offline
                TMarkus
                wrote on last edited by
                #7

                That's what I was afraid of but I thought I'd give it a shot. Don't know why that is not incorporated natively but still hoping someone will come up with a viable solution. Thanks

                1 Reply Last reply
                0
                • T TMarkus

                  When I want to select from a dropdown box on a desktop browser I can use the keyboard to type a letter to cut the searching short, e.g. press K and the list will jump to entries starting with K. Unfortunately this does not work on my BB (not sure about Android or iPhone) and I don't know if it is even possible on mobile to achieve a similar result. BB just shows the dropdown box and forces me to scroll the entire list. I have already shortened the list but the number of entries can still be substantial (50 - 100 entries). I have searched high and low to see if I can force a keyboard to pop up or jump to specific entries but came up empty. Any help would be appreciated.

                  D Offline
                  D Offline
                  David Crow
                  wrote on last edited by
                  #8

                  Provide a "filter" above the list that allows you to type a letter (e.g., K). As each letter is typed, the list will be refreshed with only those items that start with (or contain) the typed letter(s). I did this very thing in an Android app that had a semi-large list of bullet calibers. As I typed a character, the list would only show those calibers starting with what I had typed (e.g., .30 would show calibers .30, .30-30, .300, .307, .308, .30-06, .30-378, .303).

                  "One man's wage rise is another man's price increase." - Harold Wilson

                  "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                  "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

                  T 2 Replies Last reply
                  0
                  • D David Crow

                    Provide a "filter" above the list that allows you to type a letter (e.g., K). As each letter is typed, the list will be refreshed with only those items that start with (or contain) the typed letter(s). I did this very thing in an Android app that had a semi-large list of bullet calibers. As I typed a character, the list would only show those calibers starting with what I had typed (e.g., .30 would show calibers .30, .30-30, .300, .307, .308, .30-06, .30-378, .303).

                    "One man's wage rise is another man's price increase." - Harold Wilson

                    "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                    "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

                    T Offline
                    T Offline
                    TMarkus
                    wrote on last edited by
                    #9

                    Thanks David. Not sure if that's what you're saying but I am not developing a mobile app but want to do it for a mobile website. However, I will start looking for anything that will allow me to filter on a website. If you can suggest any places I should look I'd appreciate it. Btw I do not use ASP or .net

                    1 Reply Last reply
                    0
                    • D David Crow

                      Provide a "filter" above the list that allows you to type a letter (e.g., K). As each letter is typed, the list will be refreshed with only those items that start with (or contain) the typed letter(s). I did this very thing in an Android app that had a semi-large list of bullet calibers. As I typed a character, the list would only show those calibers starting with what I had typed (e.g., .30 would show calibers .30, .30-30, .300, .307, .308, .30-06, .30-378, .303).

                      "One man's wage rise is another man's price increase." - Harold Wilson

                      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                      "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

                      T Offline
                      T Offline
                      TMarkus
                      wrote on last edited by
                      #10

                      David, great suggestion. Found just what I was looking for here http://jsfiddle.net/x6cfF/4/ For those who want to filter long dropdown boxes with many entries, you may want to look into that. I now use it whenever I can. Short and sweet and works like a charm. By default it only finds entries starting with what you type but it can be tweaked to find entries where the text appears anywhere in the entries. Cheers

                      1 Reply Last reply
                      0
                      • L Lost User

                        Does this have anything to do with programming?

                        C Offline
                        C Offline
                        cambridge newspaper
                        wrote on last edited by
                        #11

                        Since the soft keyboard is part of the OS, more often than not, you won't be ... I also wanted the user to not be able to tap into the input box

                        Bluetooth Mobiles

                        1 Reply Last reply
                        0
                        • L Lost User

                          Help with what? Your question does not contain anything that implies a programming problem, so I was trying to get you to clarify it.

                          M Offline
                          M Offline
                          mariashaun
                          wrote on last edited by
                          #12

                          There are a lot of students using technology and so many student benefits because student getting easy anywhere and any place some of the students

                          Do my Assignment for me

                          searching on mobile and another device.

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups