View Single Post
Old 10-24-2012, 07:32 AM   #69
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by baf View Post
A bit of explanation here.
Problem is that I don't know how to check if system keyboard is open (in a simple way). So if you open keyboard with button, program knows it is open and then pressing button again will close it.
However in case the keyboard is opened automatically you shouldn't try to close it with a button, because program thinks it is closed and tries to open it. First button press does nothing then. Second press will close it.
When keyboard is opened automatically by system, close it pressing somewhere outside the entry field. When focus is removed from entry box the keyboard will close automatically.
Thanks for the explanation. : ) I didn't know those details, very helpful.

Quote:
Originally Posted by eureka View Post
It's posiible with lipc-get-prop tool:
Code:
lipc-get-prop com.lab126.keyboard show
Will output 0 if keyboard is closed, 1 otherwise.
That is exceptionally helpful also : ) Uber thanks.
twobob is offline   Reply With Quote