Skip to content
This repository was archived by the owner on Aug 14, 2018. It is now read-only.
This repository was archived by the owner on Aug 14, 2018. It is now read-only.

Keyboard doesn't open using MENU button on Nexus (and perhaps other devices) #34

Open

Description

@jeffThompson

Having a Nexus tablet and no other Android devices, I can only say that the keyboard does not open when holding the MENU button (the suggested method on the Wiki).

To fix this, I've used the following code:

// use menu button to toggle keyboard
if (key == CODED && keyCode == MENU) {
    // turn on keyboard - via: http://stackoverflow.com/a/2348030
    InputMethodManager inputMgr = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
      inputMgr.toggleSoftInput(0, 0);
}

Activity

  1. CupOfTea commented on Aug 8, 2013

    @CupOfTea

    not on galaxy note gt-n7000 either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions