Android Question activity_pause and screen rotation

Discussion in 'Android Questions' started by Traiser, Jul 7, 2015.

  1. Traiser

    Traiser Member Licensed User

    Hi all,
    I have a little problem with screen rotation.
    In my app i need activity.finish when i press home button. If i insert activity.finish in activity_pause this works.
    But when the screen rotates, the application quits. any idea for resolve this last event? Tnx
  2. NJDude

    NJDude Expert Licensed User

    That's how Android works, to better understand, read THIS post.
    DonManfred likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice