Re: [android-developers] Re: Please point a noob in the right direction.

2011-09-06 Thread Keith
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 rich.frie...@gmail.com wrote: btw I forgot to put the super call in the

[android-developers] Re: Please point a noob in the right direction.

2011-08-31 Thread rich friedel
Hello, and I hope you are having fun learning! :) I took your code and quickly cleaned it up for you. I didn't test it so I don't know if anything i've done helped. BUT you had a lot of stuff in there that I would be surprised if it even compiled. I wrote comments explaining my changes...

[android-developers] Re: Please point a noob in the right direction.

2011-08-31 Thread rich friedel
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