Re: [android-developers] Re: How to catch a "Done" key press from the soft keyboard

2010-06-15 Thread ranjan ar
Button submit_figc = (Button) findViewById(R.id.skipbutton);//to load
figc

submit_figc.setOnClickListener(new OnClickListener()
 {
 @Override
public void onClick(View v) {
// TODO Auto-generated method stub
Intent i = new Intent(getBaseContext(), Figc.class);
startActivity(i);
}
});}}

On Sun, Jun 13, 2010 at 4:27 PM, Ken Hughes  wrote:

> Look here for an example.  I'm guessing by the "Done" key you mean
> KEYCODE_DPAD_CENTER.
>
> http://developer.android.com/reference/android/app/Activity.html
>
> Ken
>
> On Jun 13, 3:32 am, oriharel  wrote:
> > Hi,
> > how do I catch specific key events from the soft keyboard?
> > specifically I'm interested in the "Done" key.
> >
> > thanks,
> > Ori
>
> --
> 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
>

-- 
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: How to catch a "Done" key press from the soft keyboard

2010-06-13 Thread Ken Hughes
Look here for an example.  I'm guessing by the "Done" key you mean
KEYCODE_DPAD_CENTER.

http://developer.android.com/reference/android/app/Activity.html

Ken

On Jun 13, 3:32 am, oriharel  wrote:
> Hi,
> how do I catch specific key events from the soft keyboard?
> specifically I'm interested in the "Done" key.
>
> thanks,
> Ori

-- 
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