browser - Back Two Steps Activity Android -
hi m using twitter4j , theres issue of stack because when loged in open browser verification , create new activity , press button opens browser again.i want remove browser activity stack 1 , mystery me how that.
a start's b , b starts c ,b browser dont have control of . want remove b stack
you need call finish() on activity want remove stack.
code this:
startactivity(new intent(myactivity.this, nextactivity.class); finish(); // removes activity stack
Comments
Post a Comment