Hi, I am trying to show the softkeyboard when my activity starts and a EditText field receives focus. Currently, it only shows up when i tap on the field but i would like to open it progmatically. I tried the requestFocus method but didn't work. Also tried the performClick method but still doesn't work. I tried setting the android:windowSoftInputMode attribute in the manifest for my activity but didn't know the value to assign it. I tried "visible" and "3" (i looked at WindowManager LayoutParams and found out that 3 corresponds to visible) but when i compile, i get errors that string types and integer types are not allowed. Could anyone give me an example on how we can control some of the Keyboard behavior from our activity.
I would also like to learn about the ability to listen for key events as the user types , take certain action and then pass on the events to the system. I know that the documentation isn't there yet but if anybody can point out the code files that i need to look at, that would be great. Thanks kavik --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---
