当前位置: 动力学知识库 > 问答 > 编程问答 >

multithreading - Android - Separate thread still blocks UI

问题描述:

I have a problem with IntentService and cannot find solution. I have an UploadService class that extends IntentService.

public class UploadService extends IntentService {

@Override

protected void onHandleIntent(Intent intent) {

sendItems();

}

sendItems() - method used to send files to Parse. It modifies some files if needed (operates on external storage), then communication occurrs.

What are possible causes of UI freeze?

分享给朋友:
您可能感兴趣的文章:
随机阅读: