[android-developers] Re: EditText and Virtual Keyboard

2009-08-23 Thread Hazam
Hi guys, I just got back from holidays :) this is the hack @Override public InputConnection onCreateInputConnection(EditorInfo outAttrs) { InputConnection ic = super.onCreateInputConnection(outAttrs); InputConnectionWrapper icw = new InputConnectionWrapper(ic, false) {

[android-developers] Re: EditText and Virtual Keyboard

2009-08-23 Thread Dianne Hackborn
If possible, it is better to add an appropriate watcher/filter on the text view, and do your specialization as a result of the text being modified. This will work for both hard keys and soft edits. On Sun, Aug 23, 2009 at 12:05 PM, Hazam emanuele.disave...@gmail.comwrote: Hi guys, I just got

[android-developers] Re: EditText and Virtual Keyboard

2009-08-06 Thread Hong
Hi Emanuele, I'm interested in knowing your solution as well ;) A small favor on my tips to you... please... Thanks Hong On Fri, Jul 31, 2009 at 10:48 AM, Azhdarazh...@gmail.com wrote: Hi Hazam, could you show us more in detail how you do that ? Thank you ! Azhdar On Jul 10, 3:23 

[android-developers] Re: EditText and Virtual Keyboard

2009-07-31 Thread Azhdar
Hi Hazam, could you show us more in detail how you do that ? Thank you ! Azhdar On Jul 10, 3:23 pm, Hazam emanuele.disave...@gmail.com wrote: Hi Hong, thanks for your reply. I tried that but to no avail. The reason seems to be that clicks and actions fromvirtualkeyboard do not follow

[android-developers] Re: EditText and Virtual Keyboard

2009-07-10 Thread Hazam
Hi Hong, thanks for your reply. I tried that but to no avail. The reason seems to be that clicks and actions from virtual keyboard do not follow the same path that normal key and touch events do. The get tunneled in an InputConnection, and things get REALLY difficult for me to understand fully.

[android-developers] Re: EditText and Virtual Keyboard

2009-06-29 Thread Hong
I'm not sure if this will help you: http://developer.android.com/reference/android/widget/TextView.OnEditorActionListener.html But looks like some IME related actions you can catch. Please let us know if it works... On Wed, Jun 24, 2009 at 4:36 AM, Hazamemanuele.disave...@gmail.com wrote:

[android-developers] Re: EditText and Virtual Keyboard

2009-06-24 Thread Hazam
Folks, is there nobody having the same problem? Did I explain I clearly? The problem is that if i press some of the virtual keyboard keys, they do not cause a onKeyDown event; this happens with keys '/','!' and such. While if i press physical emulator keys, (even the same keys), they do. Could