i have my main activity, wich has fe buttons, one of them - COLOR, will open a new list view activity with a list of colors.
so i have both of the xml, and both of the java pages. i put in the main acticity a listener for that button and made a new intent and gave the start activity command. but when i run it on the emulator it crashes when ipress COLOR button.
this is in my main activity:
what am i doing wrong?
Joined: Jul 28, 2012
and that is the second activity - the color selec page:
Please indent your code correctly, and don’t double‑space it. I shall try to edit your code and you can see how much better it looks.
We can only help you if you give us more details. When does your application crash? Do you get a stack trace or error message? What does it say? Copy the exact text.
Joined: Oct 13, 2005
Is .show() really supposed to be on a line by itself? Is it the Component#show() method? You realise that has been deprecated?