I have an app that uses an EditText for input and is very simple.

<EditText
android:id="@+id/edittextInput"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
/>

In the code I trap the OnKeyListener to listen for the enter key,
otherwise nothing else is going on with this EditText.

Problem (steps to reproduce):

1. Start the app.
2. Tap on the EditText to bring up the soft-keyboard.
> The keyboard displays as you would expect. The action is the return key.

3. Touch a letter on the keyboard ('n' for example).
> The Quick Search Box is brought up, the keyboard action changes to "Go". The 
> app isn't happy at this point.

It doesn't happen all the time, but I can reproduce it on a Nexus One
running 2.3.4. (I've reproduced it otherwise, but this is the only
device I currently have access to that reproduces it.)

Also, I do not use - setup - or anything else - with the qsb
functionality. It's not setup in the manifest or anything. This is
showing up all on its own.

Steps to resolve:

I've been refactoring the program, simplifying a lot of things in an
effort to locate this particular needle in the haystack. I've tried
various IMEOptions and InputTypes to no effect.

The app uses voice recognition. It turns out that when I comment out
the voice recognition code, the problem doesn't reproduce (yet?). I
don't have to have used voice recognition, just that it was set up for
use (in onCreate like the sample app) seems to be a sufficient
combination (unholy aliance?) with the EditText to cause this
behavior.

Question:

I really don't want to rip out Voice Recognition if I don't have to,
so I was hoping that someone has run into this issue and maybe has a
solution or suggestion. It's quite possible that this isn't the
solution, I just haven't had it re-appear. So looking for some sort of
rational explanation.

Thank you.

Best Regards,
Eric

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to