[Q] Keycode of an virtual button - Java for Android App Development

Hello i need to override the virtual onscreen button that hides the soft keyboard.
Does anyone know hot to get the event of the virtual button that hides the keyboard or its KEYCODE? On devices with hardware buttons (Back Home Options Search) this can be done by overriding the BACK button, but on devices that have onscreen virtual buttons the back button changes into an arrow that hides the keyboard...
The first view with normal buttons
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The second view with the little arrow
Sorry for bothering you with this but i searched google for two days and found nothing.
Sorry for my english and thank you!

You can override the EditText: http://stackoverflow.com/questions/3425932/detecting-when-user-has-dismissed-the-soft-keyboard
There are also other possiblities: http://stackoverflow.com/questions/2150078/how-to-check-visibility-of-software-keyboard-in-android
They just do not use the onKeyXXX methods. :laugh:

nikwen said:
You can override the EditText: http://stackoverflow.com/questions/3425932/detecting-when-user-has-dismissed-the-soft-keyboard
There are also other possiblities: http://stackoverflow.com/questions/2150078/how-to-check-visibility-of-software-keyboard-in-android
They just do not use the onKeyXXX methods. :laugh:
Click to expand...
Click to collapse
First of all thank you for your fast answer.
I managed to implement to detect if the soft keyboard is shown or hidden using the method that measures the layout height.
Thank you very much!!

alex-p690 said:
First of all thank you for your fast answer.
I managed to implement to detect if the soft keyboard is shown or hidden using the method that measures the layout height.
Thank you very much!!
Click to expand...
Click to collapse
Great.
You are welcome.

Related

qwerty keyboard in context

Hi
Just got a Dual 20 key, I noticed that sometimes you get a full qwerty touch keyboard (1 key per letter) say in contacts for narrowing the search, but when entering email etc you get the qwerty/20 key.
I see people recommending things like Pocket CM keyboard, but clearly the same capability is already built in, but cannot find a way to make the fully qwerty appear in text entry areas?
Any ideas?
+1
I'm interested in this too !
Same here in on the dual 16 key.
I want to use a software keyboard with Vito SMS chat because the hardware slide keypad wont work and the software touch pad wont work either.
The only way is the touch keyboard, but it shifts from the full qwerty to the 20 key, whilst the 20key also wont work with the ap :-( How do you shift from both?
+1... How to??
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
gip_mad said:
+1... How to??
Click to expand...
Click to collapse
yh i want that keyboard in the thumbnail but when ever i select a field it gives me a different keyboard how do we oput this one as that please tell me
I'm intrested also
gip_mad said:
+1... How to??
Click to expand...
Click to collapse
Please let me how to get this all the time.
anyone got a answer???

Windows Startmenu Button instead of Panels Button?

Hey guys, NO, I don't want to remap the Panel Key. I just found this picture through xperiancers.com:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As you can see, the panel button has the Windows-flag on it! Have you seen an X1 with this button before? Is it country-specific?
as far as i know this is a old picture, SE later released pics of the phone we have with X Panel. Guess they added panels later in x1s development
you can replace pannels with any other app
and launch that app with pannel button
i removed pannels and i use GPS app instead
br
I would like: short press - open start menu, long press - panel manager. Anyone?
jerpelea said:
you can replace pannels with any other app
and launch that app with pannel button
i removed pannels and i use GPS app instead
br
Click to expand...
Click to collapse
THat's just what I DIDN'T want to hear, if you would mind reading my first sentence in this thread.
(Dandie: Nice idea, though )
Dandie said:
I would like: short press - open start menu, long press - panel manager. Anyone?
Click to expand...
Click to collapse
thank's to X1BC program you can map any key you want, the panel key, ok, camera and so on, even on keyboard. you can also have a ctrl button under tab or win. try it: (you'll have to make some settings in the registry)
http://forum.xda-developers.com/showthread.php?t=468007

N1 Voice Input (speech to text) feature disappeared!

Hi All,
For some odd reason all of the sudden Voice Input (speech to text) feature disappeared! I cannot find the little microphone in the keyboard. Also swiping across is not activating this feature.
I would appreciate any help.
thanks
Hold down the '?123'<keyboard settings<voice input (make sure it's checked)
That option doesn't exist. I was testing few keyboards and i wonder if i have un-installed the original one !?! When i go to input method i see "android keyboard". should it only say keyboard? sorry for my stupid questions.
If you literally hold down the "?123" key for a couple seconds a pop up will appear that gives a choice of input
Method or keyboard settings, hit keyboard settings.
whatwhat456 said:
If you literally hold down the "?123" key for a couple seconds a pop up will appear that gives a choice of input
Method or keyboard settings, hit keyboard settings.
Click to expand...
Click to collapse
Thank you. I understood your initial instructions however what i wanted to say earlier is that "voice input" option do not exist. I have other settings that i can change i.e vibrate etc.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
the Voice Input above does not exist on my screen
I have installed HTC_IME Keyboard and the icon does appear now on the keyboard. However, nothing happens when i click it.
I don't believe the feature works with the hacked HTC_IME keyboard.

disable input method popup menu?

there is 1 thing that drives me MENTAL in winmo. you know...at the bottom there is the keyboard icon to hide or show the keyboard? yeah thats great, very useful, but if you touch 2 or 3 pixels to the right you get this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
There must be a registry key to disable this menu? it drives me crazy, its so easy to accidentally tap it when going to hit the spacebar or the keyboard icon but takes almost 15 seconds to appear with no way of canceling it until it displays.
Very frustrating.
Hi Uppy,
This is driving me crazy too.Count me in for this crusade.
Can someone help us please???
Try this...
First find HEKY_CURRENT_USER\Controlpanel\Sip with a registry edting tool,
then create a new DWORD with the name TurnOffAutoDeploy,and set the value to 1.
Have fun with your T3333(Mega)!
Thanks dude, i tried it but no luck.
Searched but did not find anything on XDA....
However this is a site with many, many registry tweaks http://nowsci.com/registry-changer/..... check the section on "input method". Maybe disable sip input method will work....Have not tried them.....and be careful changing in particular HKCR registries can be "killing" for your device.....know from own experience
Uppy said:
Thanks dude, i tried it but no luck.
Click to expand...
Click to collapse
Sorry!I have checked.It works with something like sms imput or word mobile, not always working with browsers.
Anyhow it improves a little.
Uppy said:
Thanks dude, i tried it but no luck.
Click to expand...
Click to collapse
You can try this:
http://forum.xda-developers.com/showpost.php?p=6274925&postcount=21

Notification Panel Button(What is the button like a slider?)

Hello guys,
After some updates, I noticed a button like a slider on notification panel but it is not active.
I could not slide right side or something like that. It seems fixed button.
What was that?
do a long press on it and it should bring up app info for the app that created it. then just click on the i symbol
3mel said:
do a long press on it and it should bring up app info for the app that created it. then just click on the i symbol
Click to expand...
Click to collapse
It could not push long press or something. It is fixed.
I know this option but it is not that. I posted an image now. :good:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
that's not a notification. it looks like a tab to bring up a side bar or news service, could be a horizontal homescreen indicator (haven't used tw in years sorry), does it move or stay still ?
to sum up, I don't know sorry
3mel said:
that's not a notification. it looks like a tab to bring up a side bar or news service, could be a horizontal homescreen indicator (haven't used tw in years sorry), does it move or stay still ?
to sum up, I don't know sorry
Click to expand...
Click to collapse
OK, thank you no problem
Besides, It doesn't move only stay still a tab.

Categories

Resources