I'm trying to follow the guide myself but I'm wondering about how you can set the rollover icon and start the program without having two application icons on the home screen.
The guide mentions
Code:
public static void main(String[] args) {
if ( args != null && args.length > 0 && args[0].equals("gui") ){
// code to initialize the app
theApp.enterEventDispatcher();
} else {
// code to launch the background thread }
}
}
In order to pass the "gui" argument, another project with a CLDC alternate entry is needed. However, this results with two application icons on the home screen. One for the normal program and another for the alternate entry program.
If I set the main program as a system module to hide it, is there a way to set the rollover icon for the alternate entry program? Thanks.
EDIT: nvm, just had to use HomeScreen.setRolloverIcon(icon, 1);