[android-developers] EditText onKey does not fire in android 2.1
Hi I have came across a problem with android 2.1 EditText. It does not fire onKey event listener. EditText edit = (EditText) findViewById(R.id.edit); edit.setOnKeyListener(new OnKeyListener() { @Override public boolean onKey(View v, int keyCode, KeyEvent event) { Log.d(TAG,onKey() - + keyCode); return false; } }); I dont see any log's print when I type any key. It works on other platform but not in 2.1. Anyone has any idea how I can get rid of this problem or any way around (if any). Or this is not a problem at all and I'm being stupid using it wrong way :-) Regards Mohammad -- 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
[android-developers] how to debug APK in emulator with maven dependency
Hi I'm using maven-android-plugin in my android application. I'm a dependency which maven download from remote repository before APK build. But if I want to debug the APK in emulator it does not include the those maven dependency and as a result APK does not run with normal Run (using Eclipse) and can not be debug as well. Could someone know how to debug in this situation? Any suggestion is highly appreciated. Regards Mohammad Haque -- 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
[android-developers] AutoCompleteTextView performance
Hi All, Has anyone has experience of working on AutoCompleteTextView with large number of data sets (~3000 - in string array). I'm working on a application that has used a this view where user can pick a station name by typing first few characters. But it appears to be very slow this size of data set. Any idea of improving performance? Thanks Mohammad Haque -- 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
[android-developers] Re: AutoCompleteTextView performance
Not so sure how it will behave performance wise if it hit db for every key type on the edit textview. But surely it worth to try. Can you please send me the SQL please. Regards On Sep 23, 6:08 pm, Bret Foreman bret.fore...@gmail.com wrote: I'm not sure if you have control over the db schema but creating an index on the station column in the table is surely what you want to do if you can. I can paste the SQL to do it if you like. -- 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