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