I have my main class named HelloAndroid.class and I have it try and switch to HelloAndroid2.class on button click and for some reason this code crashes my application.
I have heard you have to ass <intent-filter>, into AndroidManifest.xml, but I do not know how to do that or what I should put for this to switch screens to that class. Is there anyway I can accomplish all of this? Here is the code I have been trying to use.
But for some reason, this does not work. Can anyone shed some light on this?
EDIT: I have also tried this code and it still crashes my application: