Look at the logcat output... It usually gives the exact cause of the
problem.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Fri, Jun 29, 2012 at 6:31 AM, sri kanth <[email protected]> wrote:

> send me error message i will check.
>
>
> On Mon, Jun 25, 2012 at 9:25 PM, neil odiaz <[email protected]>wrote:
>
>> Here is my code:
>> when i click the button it says the error message ..
>>
>> package test.TOE;
>>
>> import android.app.Activity;
>> import android.content.Intent;
>> import android.os.Bundle;
>> import android.view.View;
>> import android.view.View.OnClickListener;
>> import android.widget.Button;
>>
>> public class TOEActivity extends Activity {
>>     /** Called when the activity is first created. */
>>  Button start;
>>     @Override
>>     public void onCreate(Bundle savedInstanceState) {
>>         super.onCreate(savedInstanceState);
>>         setContentView(R.layout.table);
>>
>>         start = (Button) findViewById(R.id.button1);
>>         start.setOnClickListener(new OnClickListener() {
>>
>> public void onClick(View v) {
>> // TODO Auto-generated method stub
>>  Intent intent = new Intent(v.getContext(), Table.class);
>> startActivityForResult(intent, 0);
>>  }
>> });
>>
>>     }
>> }
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> --
> *Thanks & Regards,
> Srikanth T,
> Android Developer,
> Cell :- (+91) 96400 31533.*
>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to