i tried that but the form which i need redirection to loads before the splash is shown so all i have is the splash not the form i wished for. maybe you should take a loo at my code and see where i went wrong
@Override
protected void onCreateSplash() {
String strLogged = (String) Preferences.get("logged", null);
if(strLogged == null ){
// Dialog.show("Reg", "Not member yet", "ok", "cancel"); // means user is lunchin app for first time
showForm("LoginForm", null);
Preferences.set("logged", "false");
}else{
if(strLogged.equals("true")){
showForm("MainForm", null);
Preferences.set("logged", "false");
}else{
showForm("LoginForm", null);
Preferences.set("logged", "false"); // user isnt logged in
}
}
}