ImageVerifierCode 换一换
格式:DOCX , 页数:16 ,大小:44.26KB ,
资源ID:15649749      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bingdoc.com/d-15649749.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(android任务管理器.docx)为本站会员(b****6)主动上传,冰点文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰点文库(发送邮件至service@bingdoc.com或直接QQ联系客服),我们立即给予删除!

android任务管理器.docx

1、android任务管理器题目: 基于android 的任务管理器的设计一、 本课题的内容及研究意义随着移动互联网的蓬勃发展,手机作为移动互联网最重要的承载设备,在人们日常生活中所扮演的角色越来越重要。人们开始关注手机应用的多元化和功能的强大,在满足消费者越来越高的要求方面,智能手机成为了最好的选择。同时也正是基于这种原因,智能手机在手机市场扮演着非常重要的角色,而且相应的智能手机应用领域也变得火爆起来,对智能手机平台的研究与开发是当前移动计算技术发展中最为活跃的领域,从中我们不难看出智能手机所蕴含着广阔发展前景。智能手机需要操作系统平台的支撑,研究智能手机软件的根本就是要研究智能手机平台的软件

2、开发。现在虽然手机生产厂商众多,但是操作系统平台不开源,各种应用放上去非常困难。为此,Google于2007年11月推出了一个专为移动设备设计的软件平台Android,它的出现打破了这些格局,使世界手机市场产生了巨大的变化。android系统目前还有很多缺陷,我认为一个很大问题就是正常关闭的程序总会在后台运行,无法完全关闭。导致很多进程不能立刻结束,在后台运行就占用了内存,影响了系统的运行速度,还严重浪费了手机电量和流量。Android系统最大的优势在于与互联网贴合紧密,使用Android系统手机可以尽享移动互联网带来的欢乐。但是,有没有想过这种谷歌引以为豪的优势有一天会变成消费者眼中的大敌。

3、查看一下网上的记录,有多少人抱怨Android系统手机费流量,原来塞班时候30M玩一个月的时代已经一去不复返了,还有现在普遍的用户都反应手机电池续航能力很差,基本一天一充,让用户很是头疼。据说iPhone4虽然是单核512M内存,但是比Android的双核1G内存的操作起来更流畅,iPad2虽然是也只有512M的内存但是操作起来比Android四核1G内存还要流畅。另外在安全性方面也不如iOS。造成Android性能,待机时间,操作流畅和安全性不好的原因是Android后台进程的管理。Android的进程管理很差劲,这也是它性能差的原因,操作的流畅性,待机时间,性能都跟进程管理,特别是后台进程

4、的管理有很大关系。打开手机一看,有几十条进程在跑,比如短信,邮件,输入法等系统核心应用,另外还有很多很应用也都在后台运行,不管是否是用户启动的,很多应用都在后面跑,这点已经成为Android用户最受困扰的地方。更为可气的是很多进程用任务管理器,进程杀手等工具杀都杀不掉。主要的原因就是Android中的关键的组件都有着过长的生命周期,比如BroadcastReceiver和Service,还有就是线程的不正当应用。Service就是专门用于在后台长期运行的组件,用以在后台完成长期的任务比如在后台播放歌曲,在后台接收邮件和短信等等。BroadcastReceiver是一种长期存在的组件,它正常时候

5、是处于不活跃的,只有当其感兴趣的Intent广播出现时就被激活,虽然它不活跃,但是它依然活着,它所在的进程依然运行。此外,Activity也可以长期的运行,通过moveTaskToBack()就可以不销毁的把Activity放到后台去,或者在Activity中运行Thread,如果在Activity销毁时没把Thread停止,那么Thread就会仍然运行,进程就会仍然运行。这是Android系统架构决定的,对于有组件在运行的进程,即使用任务管理器把它杀掉,那么ActivityManager还会把这个进程重启。所以对于Android的程序来讲,需要开发者的努力才能正确的应用这些组件让应用在用户用

6、到的时候运行,不需要的时候就完全退出。了解了android的这些缺点,努力去解决这些给用户带来的不便和影响。所以这次设计目标是设计出一个简单的任务管理器,能够实现一些任务管理器的基本功能,能够查看正在运行的所有程序及占用内存情况;可以把程序完全结束掉;清理缓存资源。这样释放出内存资源,有利于提升手机运行速度,提高手机续航能力,降低隐形流失的流量对用户的压力。这都对android系统的发展及以后的研究都很有意义。二、 研究现状和发展趋势作为最近几年才涌现的智能手机操作系统,Android 操作系统无疑是一个新手,但是借助 Google 牵头的开放手机联盟的成功运作,多家智能手机制造商不断推出基于

7、 Android 操作系统的智能手机,使 Android操作系统的市场份额以及影响力与日俱增,其前景正被越来越多的人看好。基于 Android 平台进行软件应用的开发,只需要开发者搭建一个完整的Android环境,利用java语言及Android自身的开发包就可以进行 Android 应用程序的开发。而在现今的环境下,专业的java开发团队比比皆是,他们可以很快掌Android软件开发技术,这就意味着Android软件开发将拥有庞大的技术支持。Android兴起时间短暂,手机软件相对于存在已久的塞班手机软件等,其丰富性及功能性都稍逊一筹。但Android软件在一两年的时间内已经迅速发展,在各类

8、型应用系统中都有令用户满意的成果,而Android的开放系统以及现在的发展趋势都预示着 Android手机将在未来的手机市场中异军突起,成为手机领域的佼佼者指日可待。Android的主要竞争对手是苹果公司的iOS以及RIM的Blackberry OS。2011年第一季度,Android在全球的市场份额首次超过塞班系统,跃居全球第一。 2012年2月数据,Android占据全球智能手机操作系统市场52.5%的份额,中国市场占有率为68.4%。现在市场上的基于 Android 的应用系统可以大体分为系统工具、影音播放、文件浏览管理、联络工具、休闲娱乐、生活助手、软件超市等七大类。网络上已经有很多各

9、式各样的应用, android 应用已经是遍地开花,了解了android进程为基础上开发设计一个很重要的应用任务管理器也有很多已经面世,能实现很多功能,但也大多是些基本功能,实现程序进程的结束和管理等,目前已经能满足一些市场需求。目前android手机的迅速发展,对android任务管理器的需求也是直线上升,各大应用下载中心下载排行的任务管理器也是趋于前列。何种任务管理器更符合用户的需求,更大程度的满足用户,在我看来以后的更多的任务管理器设计肯定是向着更多功能结合方向发展,更加便捷管理模式靠拢,让用户更加简便明了的了解和控制自己android系统中的所有程序。这也是我这次毕业设计将努力的方向。

10、三、 研究方案及工作计划本系统设计的思路是为具体解决Android平台部分缺点出发,本系统设计目标是设计并开发实现一个使用方便的任务管理系统,类似于对于手机上的资源进行方便的管理。并能实现对于任务进度的管理,将最后系统固化于手机平台之上,最终完成完成Android智能手机平台定制。这次以Android手机平台为中心,从软件和硬件上分析在Android手机平台上的的开发流程和基本的方法、技巧,并最终完成一个基于android手机平台上的任务管理系统。从软件的最底层到最上层进行了分析:从启动代码到内核再到驱动、进程系统,最后到Android应用层。本次毕业设计论文将对底层软件以及上层软件开发过程中

11、的环境进行了介绍,针对每层的特点对调试方法进行了分析和选择。以实际系统开发为例,系统说明android平台开发流程,深入了解Android系统。总之,先把开发环境搭建好:JDK、Eclipse、Android SDK的安装和环境配置。后面细节模块的实现自己要把以前所学的操作系统,软件工程等学科结合起来,自己还要查阅很多资料,边学边实践。努力把这次毕业设计很好的完成。 明确设计任务,收集并阅读相关资料,约需0.5周。 了解和掌握android,约需0.5周。 需求分析,约需1周。 概要设计,约需2周。 详细设计,约需4周。 系统的测试与优化,约需2周 撰写毕业论文,约需1周 论文答辩准备,约需0

12、.5周。 论文答辩,约需0.5周。各周任务计划起止日期周次任务说明2/203/4第1周完成开题报告第2周3/53/11第3周工作实习3/123/18第4周查阅资料,了解课题收集和阅读相关资料文献,对课题和相应的开发平台作充分了解。3/193/25第5周需求分析获得对整个毕业设计的整体把握,完成设计需求、目标。3/264/8第6周概要设计完成系统概要设计第7周4/95/6第8周系统详细设计完成系统软件的编制,并完成各个模块的测试。第9周第10周第11周5/75/20第12周调试与测试优化对系统进行调试,是软件系统能正常运行。 第13周5/215/27第14周撰写毕业论文5/286/3第15周答辩

13、准备和答辩四、 主要参考文献1 Android 介绍.XX百科 /1241829.html2 汪源,刘芳. Android的进程与单线程模型浅析J.仪器仪表用户 2011(05):77-783马越. Android的架构与应用D中国地质大学(北京), 2008 .4叶炳发. Android操作系统移植及关键技术研究D暨南大学, 2010 .5刘必刚. Android通信模块的设计与优化D武汉理工大学, 2010 .6岳传真. Android系统移植和应用程序开发D复旦大学, 2010 .7陈勋. 基于android平台的资源管理器设计D电子科技大学,2011.8吴想想. 基于Android平台

14、软件开发方法的研究与应用D北京邮电大学,2011.9 朱婷婷,李慧. 基于Android的应用软件的综述J.电脑与电信2011(01)42-4310 宋小倩,周东升.基于Android平台的应用开发研究J.软件导刊 2011(02)104-10611 Lauren Darcey, Shane Conder. Android Wireless Application Development.Addison-Wesley Professional, 2009:112-121,.12 Enck W, Ongtang M, McDaniel P. Understanding Android Secur

15、ity. IEEE Computer Society, 2009:178-191.13 Stanislav Pavlov, Pavel Belevsky. Windows Embedded CE 6.0 Fundamentals.USA:Microsoft Press,2008:98-100.14, Android A Programmers Guide,2008.外文文献选译Android: A Programmers GuideKey Skills & Concepts Creating new Android projects Working with Views Using a Tex

16、tView Modifying the main.xml file Running applications on the Android EmulatorTo make sure that you get a good overall look at programming in Android, in Chapter 6 you will create both of these applications in the Android SDK command-line environment for Microsoft Windows and Linux. In other words,

17、this chapter covers the creation process in Eclipse, and Chapter 6 covers the creation process using the command-line tools. Therefore, before continuing, you should check that your Eclipse environment is correctly configured. Review the steps in Chapter 3 for setting the PATHstatement for the Andro

18、id SDK. You should also ensure that the JRE is correctly in your PATH statement.TIPIf you have configuration-related issues while attempting to work with any of the command-line examples, try referring to the configuration steps in Chapters 2 and 3;and look at the Android SDK documentation.Creating

19、Your First Android Project in Eclipse.To start your first Android project, open Eclipse. When you open Eclipse for the first time, it opens to an empty development environment (see Figure 5-1), which is whereyou want to begin. Your first task is to set up and name the workspace for your application.

20、 Choose File | New | Android Project, which will launch the New Android Project wizard.CAUTIONDo not select Java Project from the New menu. While Android applications are written in Java, and you are doing all of your development in Java projects, this option will create a standard Java application.

21、 Selecting Android Project enables you to create Android-specific applications.If you do not see the option for Android Project, this indicates that the Android plugin for Eclipse was not fully or correctly installed. Review the procedure in Chapter 3 for installing the Android plugin for Eclipse to

22、 correct this.The New Android Project wizard creates two things for you: A shell application that ties into the Android SDK, using the android.jar file, and ties the project into the Android Emulator. This allows you to code using all of the Android libraries and packages, and also lets you debug yo

23、ur applications in the proper environment. Your first shell files for the new project. These shell files contain some of the vital application blocks upon which you will be building your programs. In much the same way as creating a Microsoft .NET application in Visual Studio generates some Windows-c

24、reated program code in your files, using the Android Project wizard in Eclipse generates your initial program files and some Android-created code.In addition, the New Android Project wizard contains a few options, shown next, that you must set to initiate your Android project.Figure 5-1 The empty Ec

25、lipse development environmentFor the Project Name field, for purposes of this example, use the title HelloWorldText.This name sufficiently distinguishes this Hello World! project from the others that you will be creating in this chapter.In the Contents area, keep the default selections: the Create N

26、ew Project in Workspace radio button should be selected and the Use Default Location check box should be checked.This will allow Eclipse to create your project in your default workspace directory. The advantage of keeping the default options is that your projects are kept in a central location,which

27、 makes ordering, managing, and finding these projects quite easy. For example, if you are working in a Unix-based environment, this path points to your $HOME directory.If you are working in a Microsoft Windows environment, the workspace path will be C:/Users/workspace, as shown in the previous illus

28、tration.However, for any number of reasons, you may want to uncheck the Use Default Location check box and select a different location for your project. One reason you may want to specify a different location here is simply if you want to choose a location for this specific project that is separate

29、from other Android projects. For example, you may want to keep the projects that you create in this book in a different location from projects that you create in the future on your own. If so, simply override the Location option to specify your own custom location directory for this project.On the o

30、ther hand, you may be required to specify a project location if you did not check the Use This as the Default and Do Not Ask Again check box in the Select a Default Workspace dialog box during the Eclipse setup (as recommended in the last section of Chapter 2). Checking that box during the Eclipse s

31、etup defaults all new projects to the workspace directory (and provides the default location shown in the Location field of the New Android Project wizard). If you did not check this box during the Eclipse setup process, you need to select a path for your new project now by clicking the Browse butto

32、n and navigating to it.The final three options in the New Android Project wizard are in the Properties area.These properties define how your project is integrated into the Android environment. In the Package Name field, you specify the namespace given to your application package.For example, or CAUTIONThe package name adheres to the standard Java package-naming

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2