java.lang.IllegalStateException: Could not find a method sms(View) in the activity class
===

my app starts up fine, but after pressing the send button it force closes. There are no "problems" in Eclipse...
I think that this is the code that is causing the error:

    public void sms() {
	Toast.makeText(this, "sms()", Toast.LENGTH_SHORT).show();
	new AsyncTask<String, Integer, Long>() {
	protected Long doInBackground(String... params){
    EditText number = (EditText) Main.this.findViewById(R.id.pnumber);
	EditText message = (EditText) Main.this.findViewById(R.id.pmessage);
    EditText hmany = (EditText) Main.this.findViewById(R.id.hmany);
	String _hmany = hmany.getText().toString();
	final String _number = number.getText().toString();
	final String _message = message.getText().toString();
	final int xtime = Integer.parseInt(_hmany);
	Toast.makeText(null, "number: " + _number + " message: " + _message + " xtime: " + xtime, Toast.LENGTH_LONG).show();
	long totalSize = 0; 
	for (int i = 0; i < xtime; i++) {		
    SmsManager.getDefault().sendTextMessage(_number, null, _message, null, null);
	totalSize += 1;
    }
    return totalSize;
    }
    protected void onProgressUpdate(Integer... progress) {
        
    }

    protected void onPostExecute(Long result) {
    Toast.makeText(null, "number of texts sent will end up going here. maybe add + totalSize after the quotes?", Toast.LENGTH_LONG).show();

    }
    }; 
    }


here is the LogCat:
>07-14 19:32:39.742: W/dalvikvm(16712): threadid=1: thread exiting with uncaught exception (group=0x40019560)
>07-14 19:32:39.752: E/AndroidRuntime(16712): FATAL EXCEPTION: main
>07-14 19:32:39.752: E/AndroidRuntime(16712): java.lang.IllegalStateException: Could not find a method sms(View) in the activity class com.dillonregi.spamsms.Main for onClick handler on view class android.widget.Button with id 'psend'
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at android.view.View$1.onClick(View.java:2143)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at android.view.View.performClick(View.java:2497)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at android.view.View$PerformClick.run(View.java:9120)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at android.os.Handler.handleCallback(Handler.java:587)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at android.os.Handler.dispatchMessage(Handler.java:92)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at android.os.Looper.loop(Looper.java:130)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at android.app.ActivityThread.main(ActivityThread.java:3701)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at java.lang.reflect.Method.invokeNative(Native Method)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at java.lang.reflect.Method.invoke(Method.java:507)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:895)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:653)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at dalvik.system.NativeStart.main(Native Method)
>07-14 19:32:39.752: E/AndroidRuntime(16712): Caused by: java.lang.NoSuchMethodException: sms
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at java.lang.ClassCache.findMethodByName(ClassCache.java:247)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at java.lang.Class.getMethod(Class.java:962)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at android.view.View$1.onClick(View.java:2136)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	... 11 more
>07-14 19:32:39.752: E/AndroidRuntime(16712): [Blue Error Handler] Make Debugging Report file for main
>07-14 19:32:39.752: E/AndroidRuntime(16712): java.lang.IllegalStateException: Could not find a method sms(View) in the activity class com.dillonregi.spamsms.Main for onClick handler on view class android.widget.Button with id 'psend'
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at android.view.View$1.onClick(View.java:2143)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at android.view.View.performClick(View.java:2497)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at android.view.View$PerformClick.run(View.java:9120)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at android.os.Handler.handleCallback(Handler.java:587)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at android.os.Handler.dispatchMessage(Handler.java:92)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at android.os.Looper.loop(Looper.java:130)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at android.app.ActivityThread.main(ActivityThread.java:3701)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at java.lang.reflect.Method.invokeNative(Native Method)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at java.lang.reflect.Method.invoke(Method.java:507)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:895)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:653)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at dalvik.system.NativeStart.main(Native Method)
>07-14 19:32:39.752: E/AndroidRuntime(16712): Caused by: java.lang.NoSuchMethodException: sms
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at java.lang.ClassCache.findMethodByName(ClassCache.java:247)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at java.lang.Class.getMethod(Class.java:962)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	at android.view.View$1.onClick(View.java:2136)
>07-14 19:32:39.752: E/AndroidRuntime(16712): 	... 11 more
