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
 
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

Similar Threads

Replies
4
Views
12K
Replies
55
Views
93K
  • Question Question
Android Question AutoScale Code Module
Replies
70
Views
63K
  • Article Article
Android Tutorial Service Modules
Replies
185
Views
250K
Back
Top