期刊文献+
共找到8篇文章
< 1 >
每页显示 20 50 100
基于AsyncTask异步任务机制的安卓手机软件开发研究
1
作者 黎国钊 胡世洋 《福建电脑》 2015年第9期22-23,47,共3页
文章简述了安卓手机开发的发展现状,以及基于Async Task的异步任务机制,分析了Android常见的异步处理方式和Async Task在异步处理中的特点及优越性。结合天气预报的安卓应用阐述了Async Task异步处理机制在实际案例中的应用特点及处理... 文章简述了安卓手机开发的发展现状,以及基于Async Task的异步任务机制,分析了Android常见的异步处理方式和Async Task在异步处理中的特点及优越性。结合天气预报的安卓应用阐述了Async Task异步处理机制在实际案例中的应用特点及处理方法。并展望了Async Task的处理机制在以后安卓应用开发中的使用情况。 展开更多
关键词 asynctask 安卓 移动开发 异步处理
下载PDF
基于Android的多线程处理技术 被引量:10
2
作者 杨杰 《电脑知识与技术》 2013年第6X期4251-4254,共4页
在Android程序的开发过程中,程序运行的流畅性是十分重要的。如果主线程处理的事件耗时过长将会出现ANR(应用程序无响应),导致程序崩溃。这就有必要将耗时较多的事件交给后台线程处理,从而来提升用户体验,改善应用程序性能。该文就Andr... 在Android程序的开发过程中,程序运行的流畅性是十分重要的。如果主线程处理的事件耗时过长将会出现ANR(应用程序无响应),导致程序崩溃。这就有必要将耗时较多的事件交给后台线程处理,从而来提升用户体验,改善应用程序性能。该文就Android中多线程技术的使用进行讲解。 展开更多
关键词 ANDROID 多线程 HANDLER asynctask
下载PDF
Android中UI线程与后台线程交互的探讨 被引量:3
3
作者 周兵 《郧阳师范高等专科学校学报》 2013年第3期14-16,共3页
在使用Android智能机的时候,往往有很多比较耗时的操作,如果这些耗时的操作放在主UI线程中,当耗时时间超过5秒后,系统就会报错,影响用户的使用,为了解决这个问题,我们必须使用异步更新UI界面.在Android系统中实现UI线程与后台线程的数... 在使用Android智能机的时候,往往有很多比较耗时的操作,如果这些耗时的操作放在主UI线程中,当耗时时间超过5秒后,系统就会报错,影响用户的使用,为了解决这个问题,我们必须使用异步更新UI界面.在Android系统中实现UI线程与后台线程的数据交互. 展开更多
关键词 HANDLER asynctask 异步更新 UI控件 线程
下载PDF
浅析安卓开发中的多线程
4
作者 张旭辉 《电子技术与软件工程》 2016年第9期62-62,共1页
本文主要探讨了如何在安卓开发中实现多线程。为了实现多线程安卓提供了两种解决方案,一种是线程+Message+Handler的方式,一种是通过自定义Async Task类的子类来完成。
关键词 多线程 消息 asynctask
下载PDF
Android中多线程机制的探究 被引量:3
5
作者 申翔翔 王鲁 +1 位作者 谢楚鹏 李景岭 《科技广场》 2015年第6期234-239,共6页
在Android应用程序的开发过程当中,为了获得最佳的用户体验,首先就要保证应用程序运行流畅。而默认情况下,一个Android应用程序会运行在一个线程中,若任务耗时比较长,就很容易引起线程阻塞,导致应用程序无响应。因而Android提供了解决... 在Android应用程序的开发过程当中,为了获得最佳的用户体验,首先就要保证应用程序运行流畅。而默认情况下,一个Android应用程序会运行在一个线程中,若任务耗时比较长,就很容易引起线程阻塞,导致应用程序无响应。因而Android提供了解决此问题的两种多线程机制——AsyncTask机制和Handler机制,本文对这两种机制进行详细的讨论。 展开更多
关键词 UI线程 工作线程 asynctask HANDLER 消息循环
下载PDF
Improve Image Decoding in Lightweight Environment Using a Coroutines Based Approach
6
作者 Rodrigue Saoungoumi-Sourpele Jean Michel Nlong +1 位作者 Jean-Robert Kala Kamdjoug Glen Vernyuy Yufui 《Journal of Computer and Communications》 2020年第10期60-74,共15页
The JPEG2000 still image compression standard, while providing a remedy for the many shortcomings of its predecessor JPEG, is still slow to establish itself on the Internet. This problem is mainly due to the complexit... The JPEG2000 still image compression standard, while providing a remedy for the many shortcomings of its predecessor JPEG, is still slow to establish itself on the Internet. This problem is mainly due to the complexity of the COder-DECoder (CODEC) which implies its non-adoption by large firms and platforms in the field of image acquisition, processing and transmission. Indeed, the encoding and decoding process consumes a lot of CPU, memory and energy resources and takes a lot of computing time. The objective of this paper is to propose a model for decoding jpeg2000 on lightweight devices running on the Android mobile operating system. This implementation uses coroutines, which are a lightweight process model with reduced resource consumption costs compared to conventional AsyncTask threadsets. The model minimizes decoding time while minimizing CPU and memory usage, resulting in a fast and energetically economical decoded image. The results of integrating the coroutines from the main thread into the decoding process instead of the AsyncTask from the main thread produced better performance in terms of computation time, CPU and memory utilization. Indeed, the use of our model has led to a gain of around 23.41% in execution time, 9.8% in CPU utilization rate and 18.56% in memory utilization rate, compared to the model proposed in the literature which uses the threads. 展开更多
关键词 Coroutines JPEG2000 Android THREAD asynctask
下载PDF
Android异步技术的对比实验及应用 被引量:3
7
作者 陈星 杨春花 《计算机应用与软件》 CSCD 2016年第2期188-191,279,共5页
异步技术的选用是制约Android应用产品优劣的重要因素之一。目前Android应用开发的重要异步技术主要包括Async Task、Thread Pool、Thread+Handler这三种。针对这三种异步技术在面对短时间内高爆发的场景时的表现,设计了一个Android应用... 异步技术的选用是制约Android应用产品优劣的重要因素之一。目前Android应用开发的重要异步技术主要包括Async Task、Thread Pool、Thread+Handler这三种。针对这三种异步技术在面对短时间内高爆发的场景时的表现,设计了一个Android应用,分别在稳定性、响应速度、资源耗费等指标方面进行了对比实验及综合分析。实验结果表明,在这三种异步技术中,Thread Pool技术的综合表现最优秀。该技术能更好地适应于短时间内与网络进行大量数据交互的情形,并在一个移动OA项目中采用了Thread Pool技术,利用此技术实现了异步下载文件的功能。 展开更多
关键词 Android异步AsyneTask ThreadPool THREAD HANDLER
下载PDF
基于Android系统的学校官网客户端的设计 被引量:2
8
作者 陈琦 余新宏 +2 位作者 刘莉 王壮 李紫荆 《蚌埠学院学报》 2018年第5期59-62,共4页
介绍了基于Android手机的智能学校官网客户端的系统设计,系统采用Java语言和Android studio+Android SDK进行开发,为师生搭建一个能够在智能终端上展示校园客户端的理念,实现了师生在手机上了解学校资讯的目的。
关键词 Jsoup解析 Android5.0版 客户端 异步加裁
下载PDF
上一页 1 下一页 到第
使用帮助 返回顶部