摘要
在使用Android智能机的时候,往往有很多比较耗时的操作,如果这些耗时的操作放在主UI线程中,当耗时时间超过5秒后,系统就会报错,影响用户的使用,为了解决这个问题,我们必须使用异步更新UI界面.在Android系统中实现UI线程与后台线程的数据交互.
When using Android intelligence machine, there are many time--consuming operations. When the opera- tions take place in UI control and the time is over 5 second, the system will show error messages, which will influence us- ers' application. To solve the problem, we must asynchronously update UI version.
出处
《郧阳师范高等专科学校学报》
2013年第3期14-16,共3页
Journal of Yunyang Teachers College