[android-beginners] Re: onKeyboardActionListener vs onKeylistener

2009-09-24 Thread Balwinder Kaur (T-Mobile USA)
Another thought. How are you copying and pasting from A to B ? I was able to do it using this snippet. CharSequence c = ((EditText)v).getText(); edittext2.setText(c); Balwinder Kaur ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in

[android-beginners] Re: onKeyboardActionListener vs onKeylistener

2009-09-24 Thread Android_n00b
Hi Balwinder, That is pretty much what I'm doing. I'm running 1.6. I guess it's working for me as well that way, but why do I have to hit the back button on the emulator for the text to be copied? On a real device this would be kind of frustrating. On Sep 24, 8:52 am, Balwinder Kaur (T-Mobile

[android-beginners] Re: onKeyboardActionListener vs onKeylistener

2009-09-23 Thread Android_n00b
Thanks for the reply. If I type HELLO and hit the back button, only O gets copied into box B. It's weird. Here is the relevant part of my code: @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

[android-beginners] Re: onKeyboardActionListener vs onKeylistener

2009-09-23 Thread Balwinder Kaur (T-Mobile USA)
hmm..I don't know what is going in your environment. For me (using SDK 1.5) Your code as is, works too. When I hit the back button on the emulator, the virtual keyboard exits, HELLO gets copied to the EditTextA. Balwinder Kaur ·T· · ·Mobile· stick together The views, opinions and statements