| 注册
首页|期刊导航|计算机应用与软件|Android 异步技术的对比实验及应用

Android 异步技术的对比实验及应用

陈星 杨春花

计算机应用与软件Issue(2):188-191,279,5.
计算机应用与软件Issue(2):188-191,279,5.DOI:10.3969/j.issn.1000-386x.2016.02.045

Android 异步技术的对比实验及应用

CONTRAST EXPERIMENT OF ANDROID ASYNCHRONOUS TECHNOLOGIES AND THEIR APPLICATION

陈星 1杨春花1

作者信息

  • 1. 齐鲁工业大学信息学院 山东 济南 250000
  • 折叠

摘要

Abstract

The selection of asynchronous techniques is an important factor restricting the pros and cons of Android applications.At present,the important asynchronous techniques of Android application development include AsyncTask,ThreadPool and Thread +Handler. Aiming at the performance of these three asynchronous techniques when facing the scene of high outbreak in short period,we designed an Android application,and carried out the contrast experiments and analyses on stability,reaction speed and consumption of resource separately.Experimental result showed that the ThreadPool technique had the best comprehensive performance among three asynchronous techniques.This technique could better adapt to the situation of interacting a large amount of data with network in a short period.In a mobile OA project the ThreadPool technique was adopted,and by using it the function of asynchronous files download was realised.

关键词

Android/异步/AsyncTask/ThreadPool/Thread/Handler

Key words

Android/Asynchronous/AsyncTask/ThreadPool/Thread/Handler

分类

信息技术与安全科学

引用本文复制引用

陈星,杨春花..Android 异步技术的对比实验及应用[J].计算机应用与软件,2016,(2):188-191,279,5.

基金项目

山东省自然科学基金项目(ZR2011FQ017)。 ()

计算机应用与软件

OACSTPCD

1000-386X

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