Can I kill or end () an action on a thread other than the UI thread.?

I was wondering if it is possible to create a Thread and kill / end an Activity, is it possible, if so, why is it not working in AsyncTask doInBackGround()

+5
source share
1 answer

You should only call finish () from the user interface thread.

+10
source

All Articles