Android Question Finish activity from other module

Blue.Sky

Active Member
Licensed User
Longtime User
Hi
How i finish any activity from other module
I want to finish activity where IsPause method return true
I search in stackoverflow and found result
But the solution is declare static variable and use it to finish activity
 

Blue.Sky

Active Member
Licensed User
Longtime User
Check the value of the process global variable in Activity_Resume. If it true then finish the current activity.
No Erel
i want to finish activity from other activity not detect it
If i save activity in object variable,can i use it in other module instead of activity?
example :
in main activity :
Dim ac as object
ac = me

in second activity
dim k as activity
k = main.ac
k.finish
 
Upvote 0
Top