This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Two Buttons - Only one works?

 
Daniel Tonks
Greenhorn
Posts: 6
  • 0
  • 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
  • 0
  • 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