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.
Using java Syntax Highlighting
- Intent myIntent = new Intent(HelloAndroid2.class);
- startActivity(myIntent);
Parsed in 0.029 seconds, using GeSHi 1.0.8.4
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:


