Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User mabdelaal's Avatar
    Join Date
    Jan 2010
    Posts
    32
    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 gnuton's Avatar
    Join Date
    Mar 2009
    Posts
    1,024
    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 mabdelaal's Avatar
    Join Date
    Jan 2010
    Posts
    32
    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 kusumk's Avatar
    Join Date
    Sep 2011
    Posts
    449
    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 mabdelaal's Avatar
    Join Date
    Jan 2010
    Posts
    32
    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 kusumk's Avatar
    Join Date
    Sep 2011
    Posts
    449
    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 Web Runtime
    Replies: 0
    Last Post: 2009-12-13, 10:05
  3. VKB(virtual keyboard) Help
    By qldpfh in forum Symbian C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved