Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Two Buttons - Only one works?

 
Daniel Tonks
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two buttons in a menu called Updates (which is in a menu called MainMenu but I don't think thats important)

One leads to fourzero and one to threefive.
fourzero works and I can get to it, however threefive causes the application to stop running. They are both coded exactly the same in the Manifest and layout etc.



I think it might be how I put two buttons in. But I am not sure and as a newbie at Java, I have no idea what to do!
 
Daniel Tonks
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found out the problem. In the Manifest I put the activity outside of the application tags!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic