0

I have a strange problem.

The EditText field of my app works just fine in the emulator (set for Android 4.0) and actual device (running Android 2.2). I can input the whole text (a word) into Edittext, save the text, and then the soft keyboard disappears as it should do.

However, when the app runs on an actual device running Android 4.0, I can input only one character into EditText before the soft keyboard totally disappears. To go on, I have to touch EditText, and the soft keyboard re-appears and disappears after one character input, again and again.

Can anyone explain to me what's wrong? What do I need to include in my code to deal with this matter?

Thank you very much.

Niamh Doyle
  • 1,909
  • 7
  • 30
  • 42
  • This might help : http://stackoverflow.com/questions/8785023/how-to-close-android-soft-keyboard-programatically – Kazekage Gaara May 23 '12 at 08:11
  • Many thanks. I've checked the link but could not find any help. I said: this is a strange thing because nothing wrong with this when run in the emulator and on an actual device (Android 2.2) but with actual device running Android 4.0. – Niamh Doyle May 23 '12 at 09:02
  • Did you add those code lines mentioned in that link and try? – Kazekage Gaara May 23 '12 at 12:33
  • Yes, I also have similar code lines before. To try those code lines in the link, I deleted mine and added the new ones from the link you mentioned, but still no luck. – Niamh Doyle May 23 '12 at 14:38
  • I am running into similar problems. Is this a known issue? I am having this problem in Android 4.1 – Rajat Anantharam Jun 05 '13 at 09:09

0 Answers0