example scenario is: from login screen - main screen - then when i clicked a hide button the app will go to home screen, and when im going to click the app again the main screen would be called
views:
72answers:
2
A:
i think u want to do the splashscreen to show ur logo are somestuff like that. this link helps u.
Praveen Chandrasekaran
2010-03-03 08:41:27
well i need to let the user log in first
mikedroid
2010-03-03 08:50:34
+1
A:
Fire an intent when you want to display the home screen
Intent setIntent = new Intent(Intent.ACTION_MAIN);
setIntent.addCategory(Intent.CATEGORY_HOME);
setIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(setIntent);
So this will be fired on the pressing of your hide button
Donal Rafferty
2010-03-03 11:34:58