Android Question Questions about activities

Discussion in 'Android Questions' started by guido valentino, Jun 16, 2015.

  1. guido valentino

    guido valentino Member Licensed User

    Hi, how do you open a new activity (such as clicking on a button) but to remain in the background the previous task, then when you return to the main activity closes in the background? Thanks everyone:)
  2. Erel

    Erel Administrator Staff Member Licensed User

    Use CallSubDelayed to start the activity. In the 2nd activity sub start the next activity.