aspose file tools*
The moose likes Android and the fly likes Two Buttons - Only one works? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Two Buttons - Only one works?" Watch "Two Buttons - Only one works?" New topic
Author

Two Buttons - Only one works?

Daniel Tonks
Greenhorn

Joined: Apr 08, 2012
Posts: 6
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

Joined: Apr 08, 2012
Posts: 6
Found out the problem. In the Manifest I put the activity outside of the application tags!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Two Buttons - Only one works?
 
Similar Threads
ActivityNotFoundException while using implicit intent
Is there any problem with this code?
Can I use this code to take a photo and display it?
How to create a toast via button click
interface and constructor