1. Download our Official Android App: Forums for Android!

Apps 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
    Rank:
    None
    Points:
    16
    Posts:
    27
    Joined:
    Jul 5, 2011

    Jul 5, 2011
    27
    2
    16
    Hi,
    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);
    startActivity(i);

    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,
    Andy:thinking:
     

    Advertisement

Share This Page

Loading...