Reputation: 4057
How can I kill Android activity
from asynchronous thread?
In my android application, I start another activity using startActivity
. Is there anyway for me to kill that activity
I started after several minutes?
Or is there any way beside using thread?
Upvotes: 3
Views: 950
Reputation: 919
I think you have to run DT activity in a background process even though you won't have control over your application.
Upvotes: 2
Reputation: 6476
Hope the below link will help you to understand how to solve your task :
BroadcastReceiver
Upvotes: 0