I am using eclipse and are programming my first app, but I have a beginner question, i want to use some of the methods from my button in the Main class, but i want to use them i
If you want to use button1 in your Start Class, then you also have to declare it in the Layout file of your Start Class.
You are getting an error most likely because that line of code will make the application search for button1 in your Start Class Layout file (which most likely isn't there).