Menu key not working in popupscreen

482 Views Asked by At

there is PopupScreen in my application .. PopupScreen have some Field like BasiceditTextfield and Buttonfield .

when i click on my BasiceditTextfield virtual keyboard open automatically in my 9550 Storm but when i click on Device Menu key nothing happen. i cant hide virtual keyboard ..

how to hide that .?

1

There are 1 best solutions below

4
V.J. On

Use this. This will enable Menuscreen and disable back key of the device.

    protected boolean keyDown(int keycode, int status) 
    {
      if(keycode==1769472)
      {
        return true;
      }
      else
      {
        return false;
      }
    }