Android App Runtime Error
<p>I have 2 classes for an Android project.
The first class is the Activity and the second class is just a OnClickListener which implements the interface.</p>

<p>If I run the project on my phone I always get an runtime error.
Also I got the message:</p>

<p>The specified activity does not exist! Getting the launcher activity.</p>

<p>Here are my two classes</p>

<p>SendActivity</p>

<pre><code>package kops.sms;

//import android.R;
import android.app.Activity;

import android.os.Bundle;
import android.view.Menu;
import android.widget.Button;

public class SendActivity extends Activity {


Button buttonSend= (Button) findViewById(R.id.buttonSend);

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_send);

    buttonSend.setOnClickListener(new ButtonListener());
}



@Override
public boolean onCreateOptionsMenu(Menu menu) {
    // Inflate the menu; this adds items to the action bar if it is present.
    getMenuInflater().inflate(R.menu.send, menu);
    return true;
}




}
</code></pre>

<p>and the ButtonListener</p>

<pre><code>package kops.sms;

import android.view.View;
import android.view.View.OnClickListener;

public class ButtonListener implements OnClickListener {

     @Override
        public void onClick(View v)
        {

        }


}
</code></pre>

<p>I don´t know what is wrong...</p>

<p>I look forward to your replies! :)</p>
