当前位置:文档之家› 基于安卓的图片浏览器的设计与实现

基于安卓的图片浏览器的设计与实现

编号:审定成绩:重庆邮电大学毕业设计(论文)设计(论文)题目:基于安卓的图片浏览器的设计与实现学院名称:软件学院****:***专业:软件工程班级:学号:指导教师:答辩组负责人:填表时间:2012年5月摘要Android一词的本义指“机器人”,同时也是Google于2007年11月5日宣布的基于Linux 平台的开源手机操作系统的名称,该平台由操作系统、中间件、用户界面和应用软件组成,号称是首个为移动终端打造的真正开放和完整的移动软件。

目前,最新版本为Android 4.0 Ice Cream Sandwich。

Android早期由原名为"Android"的公司开发,谷歌在2005年收购"Android.Inc"后,继续对Android系统开发运营,它采用了软件堆层(software stack,又名软件叠层)的架构,主要分为三部分。

底层以Linux内核工作为基础,由C语言开发,只提供基本功能;中间层包括函数库Library和虚拟机Virtual Machine,由C++开发。

最上层是各种应用软件,包括通话程序,短信程序等,应用软件则由各公司自行开发,以Java作为编写程序的一部分。

Android 作为Google企业战略的重要组成部分,将进一步推进“随时随地为每个人提供信息”这一企业目标的实现。

全球为数众多的移动电话用户正在使用各种基于Android 的电话。

谷歌的目标是让(移动通讯)不依赖于设备甚至平台。

出于这个目的,Android 将补充,而不会替代谷歌长期以来奉行的移动发展战略:通过与全球各地的手机制造商和移动运营商结成合作伙伴,开发既有用又有吸引力的移动服务,并推广这些产品。

2011年初数据显示,仅正式上市两年的操作系统Android已经超越称霸十年的塞班系统,使之跃居全球最受欢迎的智能手机平台。

Android的主要竞争对手是苹果公司的iOS以及RIM 的Blackberry OS[2]。

【关键词】Android Linux平台开源手机操作系统移动软件GoogleABSTRACTThe word “Android” means a robot. It is also the name of the open-Source operating system for mobile phone which is based on Linux and presented by Google November 5th of 2007. This system platform is made up with operating system, middleware, UI and applications. It is known as the first real Open Source and integrated software for Mobile Terminal. At present the latest version of the system is Android 4.0 Ice Cream Sandwich.Android operating system is based on the open-core of Linux. This system is developed by a company named “Android”at early stage. After Google buy “Android.Inc”, Google go on developing and managing Android operating system. This operating system uses the software-stack framework. It is mainly divided into 3 parts. Basement Linux-core only provides basic function. This part is coded by C. Interlayer which is coding by C++ includes Function Library and Virtual Machine. The superstratum is made up with various kinds of applications including communication procedures, message procedures and so on. These applications are developed by other companies themselves. Some of them are coding by java. Android as the significant part of Google`s business strategy will move forward a single step to advance the business goal called “providing information for everybody anytime and anywhere”. Large numbers of people all over the world are using mobile phone which is based on Android. Google`s purpose is to let the mobile communication do not depend on the equipments even if the platform.For this purpose, Android will complement, not replace Google has long pursued a strategy of mobile development: partnership, the development of useful, attractive mobile services through the mobile phone manufacturers and mobile operators around the globe, and promotion of these products.The data show that early 2011 officially listed only two years of operating system Android has surpassed dominate the decade of the Symbian system, making it the largest in the world's most popular smart phone platform. Android's main competitor is the Apple IOS and RIM of the Blackberry OS.【Key words】Android Linux platform open-source-operating-system-for-mobile-phone mobile software Google目录前言 (1)第一章基于安卓的图片浏览器概述 (2)第一节研究内容 (2)第二节研究意义 (2)第三节研究现状和发展趋势 (2)第二章开发环境概述 (4)第一节开发平台 (4)第二节Android框架简介 (4)一、Applications(应用层) (5)二、Application Framework(应用框架层) (5)三、Libraries、Android Runtime(系统运行库层) (5)四、Linux Kernel(Linux内核层) (6)五、Android应用程序框架 (6)第三章系统分析 (8)第一节研究目标 (8)第二节需求分析 (8)第三节平台搭建 (8)一、安装JDK。

(8)二、安装Android SDK (9)三、创建一个新的Android Virtual Device (A VD) (10)四、安装Eclipse (14)五、安装Eclipse的Android ADT插件 (14)六、配置Eclipse 和Android ADT插件 (15)七、测试开发环境 (15)第四章程序设计 (19)第一节用户界面设计 (19)第二节存储设计 (19)第三节程序模块设计 (20)第五章程序开发 (22)第一节文件结构与用途 (22)第二节核心代码 (23)一、Xml文件操作 (23)二、页面布局xml (28)三、后台Activity (29)结论 (35)致谢 (36)参考文献 (37)附录 (38)一、英文原文: (38)二、英文翻译: (46)三、工程设计图纸: (52)四、源程序: (56)前言以往的手机图片浏览器,通常是使用键盘键,即上下左右按钮实现不同图片的切换,操作上很不友好。

而且现如今移动通信技术日新月异,各类触屏手机层数不穷,用户需求渐渐变高,以往的操作方式已经不能满足用户对应用的要求。

不仅仅在实用性上,还包括简单、快捷、人性化的操作。

所以开发一款针对触屏的手机的图片浏览器是很有必要的。

本文主要阐述以面向对象的程序开发语言JA V A,eclipse作为开发集成环境,基于智能手机Android操作系统之上设计一个图片浏览器。

该图片浏览器主要实现本地图片(存储在SD卡上的图片)的浏览,并能查看浏览历史。

借助Android系统的全触摸的形式,增强用户的体验。

用户可以用简单、快捷、人性化的操作浏览图片。

第一章基于安卓的图片浏览器概述第一节研究内容Android是基于Linux内核的软件平台和操作系统,早期由Google开发,后由开放手机联盟Open Handset Alliance)开发。

它采用了软件堆层(software stack,又名以软件叠层)的架构,主要分为三部分。

低层以Linux内核工作为基础,只提供基本功能;其他的应用软件则由各公司自行开发,以Java作为编写程序的一部分。

另外,为了推广此技术,Google和其它几十个手机公司建立了开放手机联盟[1]。

Android平台图片浏览器是基于Android手机平台,运用JA V A语言和Android SDK,开发针对Android平台的图片浏览器。

第二节研究意义借助Android系统的全触摸的形式,用户可以用手指简单的滑动、点击浏览本地图片,并记录用户浏览历史,方便用户查看以前浏览过的图片和图片地址,从而增强用户体验和易用性。

相关主题