how to Set already running activity, when user clicks on app icon on home screen

Posted by Praveenb on Stack Overflow See other posts from Stack Overflow or by Praveenb
Published on 2010-06-17T18:26:07Z Indexed on 2010/06/17 18:33 UTC
Read the original article Hit count: 255

I have Two activities One splash screen, Player screen.

When user clicks on my app icon first splash screen is displayed and then player screen

When player activity is running, if user returns to the home screen and then again clicks on app icon, the application is starting from the splash screen again.

can any one please help me out how to do any one of below

1) I need to close current running activity and reload application. or 2) I need to resume to the player screen directly.

Please give me an example or reference to follow, Im beginner in android programing

Thanks In advance

© Stack Overflow or respective owner

Related posts about android

Related posts about android-sdk