Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

how to stop activity from another activity

public static Activity fa;
onCreate()
{
    fa = this;
}
Comment

how to stop activity from another activity

onCreate()
{
    FirstActivity.fa.finish();
}
Comment

PREVIOUS NEXT
Code Example
Java :: import java.lang.Math.*; 
Java :: jmeter get var 
Java :: android studio get id name from view 
Java :: console java 
Java :: what is a do while loop in java 
Java :: continue in java 
Java :: bufferedinputstream 
Java :: override class java 
Java :: java_remove last char 
Java :: java split string without removing 
Java :: java try with resources 
Java :: To enable CORS in the MVC Java config 
Java :: java.lang.IllegalArgumentException: View=DecorView@5fd145b[MainActivity] not attached to window manager 
Java :: read file from resources java 
Java :: java convert pdf to image 
Java :: java localdate subtract two dates 
Java :: java heckj object lock 
Java :: class, interface, or enum expected java 
Java :: how to read text file as variable in java 
Java :: how to output in java 
Java :: Java path to file 
Java :: android view set padding programmatically 
Java :: check if optional is empty java 
Java :: initilize an array java 
Java :: remove java ubuntu 20.04 stackoverflow 
Java :: java map tostring 
Java :: call fragment method from activity 
Java :: how to convert infix to postfix and prefix in java 
Java :: linked list vs array list vs vector 
Java :: count true in matrix java 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =