4
在一個活動中,我分離了幾個單獨的線程。後來,在其中一個子線程上,我撥打以下電話:Android UI線程中遇到了什麼
((Activity) context).runOnUiThread(new Runnable() {
public void run() {
String message = "Exception thrown: Developer mode was enabled while " +
"trying to access the app.";
throw new RuntimeException(message);
}
});
現在,還有什麼會與UI線程一起被殺死?其他線程也會死掉嗎?當應用程序崩潰時,它仍然在後臺運行(我認爲)