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

Apps onBackPressed problem

Discussion in 'Android Development' started by purnachandrarao, Sep 2, 2010.

  1. purnachandrarao

    Thread Starter
    Rank:
    None
    Points:
    25
    Posts:
    8
    Joined:
    Jul 20, 2010

    Jul 20, 2010
    8
    0
    25
    programmer
    india
    hi i have one problem, when ever my application running i am at main screen, i am clicked the back button on simulator the application is not terminating going to background process.

    but when i am clicking the back button on child screens then they will be finished. What is the problem any one please Guide me.
     

    Advertisement

  2. miXer

    miXer Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    313
    Joined:
    Aug 12, 2010

    Aug 12, 2010
    313
    51
    53
    Norway
    What do you mean by going to background process? Do you mean that the simulator loads the previous program? If so, then this is how android works. Androidology - Part 2 of 3 - Application Lifecycle

    What do you mean by clicking back button on child screens they will be finished? Do you mean that the whole program finishes?
     

Share This Page

Loading...