android: OnEditorActionListener stops the app
<p>Please when I try to run this app it stops.</p>

<p>The problem is with OnEditorActionListener, if i delete the app loads and runs ok.</p>

<pre><code>import android.app.Activity;
import android.os.Bundle;
import android.view.KeyEvent;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.TextView.OnEditorActionListener;
import android.widget.Toast;

public class IMEDemo2 extends Activity  
{       EditText et;

    @Override
    public void onCreate(Bundle savedInstanceState)
    {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.main);

            et.setOnEditorActionListener(new OnEditorActionListener() { 
                public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { 
                    }
                    Toast.makeText(getApplicationContext(), "OK", Toast.LENGTH_LONG).show();    
                    return true; 
                } 
            });             
    }
</code></pre>

<p>}</p>
