Thank you all for all your help. beside the errors you picked up on Rich i also had an error on my layout which was causing the immediate crash. I appreciate all of you
On Wed, Aug 31, 2011 at 10:10 AM, rich friedel <[email protected]> wrote: > btw I forgot to put the super call in the onStart() method... so it should > look like this instead: > > @Override > > public void onStart() { > > super.onStart(); > > Button toggleButton = (Button)findViewById( R.id.toggleButton ); > > toggleButton.setOnClickListener( new View.OnClickListener() { > > public void onClick( View v ) { > > // Do some click stuff here... > > } > > } ); > > } > > > > -- > 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

