Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

app "restart" the home activity (and dismiss all other activities).

public void restart(){
    Intent intent = new Intent(this, YourHomeActivity.class);
    this.startActivity(intent);
    this.finishAffinity();
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #app #home #activity #dismiss
ADD COMMENT
Topic
Name
2+8 =