| 注册
首页|期刊导航|科技广场|Android 中多线程机制的探究

Android 中多线程机制的探究

申翔翔 王鲁 谢楚鹏 李景岭

科技广场Issue(6):234-239,6.
科技广场Issue(6):234-239,6.

Android 中多线程机制的探究

Exploration of Multithreading Mechanism Based on Android

申翔翔 1王鲁 1谢楚鹏 1李景岭2

作者信息

  • 1. 山东农业大学信息科学与工程学院,山东泰安 271018
  • 2. 山东省农业科学院科技信息研究所,山东济南250100
  • 折叠

摘要

Abstract

In the development of Android application program, in order to obtain the best user experience, we should first guarantee that the application runs smoothly. However, by default, an application runs in a thread, if a task takes longer, it's easy to cause the thread block and lead the application no responding. Therefore, Android provides two mechanisms to solve this problem: one is AsyncTack and the other is Handler. The paper discusses in detail these two mechanisms.

关键词

UI线程/工作线程/AsyncTask/Handler/消息循环

Key words

UI Thread/Work Thread/AsyncTask/Handler/Message Loop

分类

信息技术与安全科学

引用本文复制引用

申翔翔,王鲁,谢楚鹏,李景岭..Android 中多线程机制的探究[J].科技广场,2015,(6):234-239,6.

基金项目

山东省农业重大应用技术创新课题“(山东西部经济隆起带主要粮食作物)农业大数据的数据采集、共享机制以及示范工程”;山东省农业重大应用技术创新课题“食用菌智能化控制关键技术研究与示范” ()

科技广场

1671-4792

访问量0
|
下载量0
段落导航相关论文