线程在Android开发中的应用  被引量:21

The Application of Thread in The Development of Android

在线阅读下载全文

作  者:纪晓阳 

机构地区:[1]成都理工大学管理科学学院,成都610059 [2]成都理工大学数学地质四川省重点实验室,成都610059

出  处:《软件》2013年第8期24-26,41,共4页Software

摘  要:Android中线程主要是用来处理一些耗时操作,防止UI线程阻塞,并进行异步处理以提高程序的效率的线程。在Android应用开发中,要时时考虑到用户的体验效果,因此对应用程序的执行效率要有很高的要求,这就使开发人员在Android开发中无可避免地使用线程。本文主要讨论Android应用开发中线程使用的意义、使用线程的方法、主线程和子线间的通信,以及介绍了Android SDK中提供的一些有关线程的工具类。The thread of Android is mainly used to cope with some consuming manipulations in order to prevent UI thread from obstruction and further to implement asynchronous processing to advance the thread of the program efifciency. In the application and development of Android,we should usually think over users’ experience effects,thus exerting high expectations on the executive efficiency of the application program,which means,the developers inevitably need to use thread during the Android development. This paper mainly discuss on the topics of the signiifcance of using thread in Android application and development,the ways of using thread,the communications between the main thread and sub thread and we also have introduced some utility classes relative to thread provided in Android SDK.

关 键 词:ANDROID 主线程 子线程 消息 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象