×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jan 2010
    Posts
    32

    Observing Virtual keyboard on MeeGo

    Hi all,

    I need to observe the state of virtual keyboard (visible or not) but for other applications (my application that observes the state of virtual keyboard will be in background)

    Is there any way to do that?

    Thanks a lot.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2009
    Posts
    1,024

    Re: Observing Virtual keyboard on MeeGo

    Hi,
    You have to check if the active window is a _NET_WM_WINDOW_TYPE_INPUT type.
    To retrieve the window id of the active one you can query the root window for the _NET_ACTIVE_WINDOW property.

  3. #3
    Registered User
    Join Date
    Jan 2010
    Posts
    32

    Re: Observing Virtual keyboard on MeeGo

    Thank you gnuton for reply, but I am not familiar with linux.
    So can you please tell me how can I do that in MeeGo? Or where to start searching?

    Thanks a lot.

  4. #4
    Registered User
    Join Date
    Sep 2011
    Posts
    449

    Re: Observing Virtual keyboard on MeeGo

    No, there is no such functionality in meego.

    One can follow the MInputMethodState::inputMethodAreaChanged signal, but even if that area
    is empty, it's not a guarantee that there is no input method active.

  5. #5
    Registered User
    Join Date
    Jan 2010
    Posts
    32

    Re: Observing Virtual keyboard on MeeGo

    Quote Originally Posted by kusumk View Post
    No, there is no such functionality in meego.

    One can follow the MInputMethodState::inputMethodAreaChanged signal, but even if that area
    is empty, it's not a guarantee that there is no input method active.

    I already tried to follow the MInputMethodState::inputMethodAreaChanged signal, but no thing happened.

  6. #6
    Registered User
    Join Date
    Sep 2011
    Posts
    449

    Re: Observing Virtual keyboard on MeeGo

    Hi,

    Yes, i already told that it might not help. You might have to follow gnuton's post and use WM api to find out. I do not have much idea on how that can be implemented.

Similar Threads

  1. How to hide virtual keyboard in Meego?
    By jkosonen in forum Nokia N9
    Replies: 7
    Last Post: 2012-02-13, 09:29
  2. virtual keyboard
    By mohamed shaheen in forum Symbian
    Replies: 0
    Last Post: 2009-12-13, 10:05
  3. VKB(virtual keyboard) Help
    By qldpfh in forum Symbian
    Replies: 1
    Last Post: 2009-01-05, 12:03

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •