Hi Folks,
I am facing a problem with my app, that I can't handle myself. I can't
even figure out WHY it is happening.
My app contains a search with an AutoCompleteTextView that offers
recent searches as suggestions. It works fine, but since some time it
behaves strangly on the FIRST start of the app.
When I focus the TextView, the keyboard pops up, but when i strike a
letter, for reasons not known to me the Android SearchActivity is
started. I can end it by pressing BACK, but after that the TextView
does not receive any more KeyEvents. When I then quit the app by BACK
button and restart it, everything works fine.
I already tried debugging, attaching a custom KeyListener to the
TextView, overwriting the onSearchRequested() method...etc.
All I found out was, that the KeyListener of the TextView does not
even receive the KeyEvent of the first key pressed. It seems that it
is intercepted by the system and the SearchActivity is started
immediatelly.
I don't remember exactly when this started, but I think it was just
after the update from Froyo 2.2 to 2.2.1 on my Samsung Galaxy i9000
Here the LogCat in the moment of the error:
02-20 23:37:21.301: VERBOSE/WindowManager(2461): Dsptch >
Window{485d6090 InputMethod paused=false}
02-20 23:37:21.301: VERBOSE/InputDevice(2461): ID[0]=0(0) Up(1=>0)
02-20 23:37:21.332: INFO/ActivityManager(2461): Starting activity:
Intent { act=android.search.action.GLOBAL_SEARCH flg=0x10000000
cmp=com.google.android.googlequicksearchbox/.SearchActivity (has
extras) }
Any help would be highly appreciated. This issue drives me mad !
Thanks in advance!
Rafael
--
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en