1. Are you ready for the Galaxy S20? Here is everything we know so far!

How to call main Activity from MapActivity within the same APP ?

Discussion in 'Android Development' started by Arthur Andy, Jul 29, 2011.

  1. Arthur Andy

    Arthur Andy Newbie
    Thread Starter

    I am working on Android APP, I want to mention flow first about it.

    Like : SplashScreen(Activity) >>> MainMenu(FrameLayout) >>> MyMapActivity(MapActivity) But everthing working fine except when I go back from MapActivity to MainMenu(FrameLayout) then the SplashScreen it start again, I dont want to splashScreen again during returning from MapActivity to mainMenu.

    And I am not getting how to call MainMenu(FrameLayout) from MapActivity,

    I have done:
    Intent i = new Intent(MyMapActivity.this, SplashScreen.class);

    Note: Directly FrameLayout I am unable to call so I mentioned here SplashScreen, but it again call SplashScreen.

    Please help me to resolve it with alternative solution and with a piece of codes..

    Thanks and Regards,



Share This Page