I have app starting depend on user preferance with three different checkedbox :
1- start app without splash and music .
2- start app with splash only .
You should just be able to change it to
boolean without_splash_screen = getPrefs.getBoolean("without_splash_screen", true);
boolean splash = getPrefs.getBoolean("splash", true);
boolean splash_music = getPrefs.getBoolean("splash_music", true);
if (without_splash_screen)
{
...
}
else if (splash)
{
...
}
else if (splash_music)
{
....
}