基于安卓系统的绘图编辑软件开发

 2022-01-22 11:01

论文总字数:30015字

摘 要

由于当今时代智能手机的普及,Android系统的推出使手机的发展进入到了一个新的领域。国际上一些知名移动设备生产商对Android智能机的开发热情也日益提高,使用Android系统的人群也正在急速提升。Android操作系统作为一个开源的操作系统,由于其丰富的硬件选择和开发的普适性,使Android成为如今最大的手机操作系统。

本文的设计任务是基于安卓系统的绘图编辑软件的开发,目前PC平台上绘图编辑软件很多,本毕业设计要开发一个在安卓平台上使用的类似于“画图”的图像编辑软件。用于在手机上进行简单的图像编辑。本文首先在明确课题背景的条件下,对Android系统的发展历史和系统框架作阐述,并分析其应用特点和未来的发展趋势。接着介绍了Android系统的开发工具以及如何搭建该平台。接着阐述该软件开发的具体过程,对用户的需求进行分析,在此基础上得出设计的方向和思路。之后具体将这些设计思路的实现方案进行论述:界面的布局,功能模块的编写。最后在将该软件在Android手机上进行测试,并将其测试效果展示出来,完成整个设计。

关键词:Android绘图软件、Android Studio、手机。

Graphics Editing Software Development Based On Android System

Abstract

With the popularity of smart mobile phone, the development of mobile phones are getting into a new field with the advent of Android system. Some of the world famous mobile equipment manufacturers shows more and more enthusiasm for development of Android smartphone. Android operating system as an open source operating system, for its rich hardware selection and development of universal has become the biggest mobile phone operating system.

In this paper, the design task is to develop the graphics editing software development based on android system. There are a lot of graphics editing software on PC platform. This graduation project is a use of the Android platform is similar to the "drawing" image editing software. Firstly, knowing the subject background exactly, we talk about the history of android development and its framework, analyze the characteristics and future trends. Then we introduce the development tools for android and the way establish the developing platform for android. Then the specific software development process which was from demand analysis such as users' requirements, performance requirements to project approachment was expoundsed. On this basis,we get the general design direction and ideas. In the fourth chapter system design we discuss the implementation of those design ideas specifically, achieving the layout of interface, programming the function modules. Finally it's the debugging process of software and the final package signature process. To finish the whole design, the effect of software implementation was also described.

KEYWORDS: Android graphics editing software、Android Studio、Phone.

目录

摘要 I

Abstract II

第1章 绪论 1

1.1 项目背景 1

1.2 课题目标及意义 1

1.3 平台优势 1

1.3.1 移动平台优势 1

1.3.2 Android平台优势 2

1.4 安卓应用程序介绍 2

1.4.1 Android组件 2

1.4.2 Android程序的配置文件 3

第2章 需求分析 5

2.1 用户需求 5

2.2 设计功能 5

2.3 功能需求 5

2.4 性能需求 6

第3章 安卓开发平台的创建 7

3.1 搭建开发平台 7

3.1.1 安装JDK 7

3.1.2 安装Android Studio 9

3.2 Android工程的创建 10

第4章 系统设计与实现 14

4.1 界面布局 14

4.1.1 布局形式介绍 14

4.1.2 界面设计 14

4.1.3 其他注意事项 16

4.2 框架设计 16

4.2.1 SurfaceView类开发框架 16

4.2.2 多线程图形绘制模块 17

4.3 模块化设计 20

4.3.1 图形模块 20

4.3.2 工具模块 22

4.3.3 工具池模块 27

4.4 基本操作流程 28

4.5 图形组合功能 29

4.5.2 开始组合 30

4.5.3 组合后移动实现 30

4.6 基于KeyValue的内存优化 30

4.6.1 内存溢出的问题 30

4.6.2 Android内存处理机制 31

4.6.3 内存优化 31

4.7 复制与粘贴图形 32

4.7.1 深复制与浅复制区别 32

4.7.2 深复制实现方法 32

第5章 软件测试 34

5.1 模拟器测试 34

5.2 真机测试 37

5.2.1 运行环境 37

5.2.2 开始测试 37

5.3 本章小结 41

第6章 总结与展望 42

6.1 完成工作 42

6.2 不足之处 42

6.3 心得体会 43

参考文献 44

致谢 46

绪论

项目背景

2007年11月5日,Google公司宣布了基于Linux平台的开源操作系统Android,其主要用于移动设备。推出至今以来,Android系统因其免费、开源等的优势逐渐占领市场份额。市场分析机构Strategy Analytics公布了2014年第二季度智能手机操作系统全球分布情况。报告显示,目前Android操作系统的全球市场份额已达84.6%(有史以来最高比重),而iOS、WP等系统占比均有所下滑[1]

现如今,Android系统的开发正处在一个蓬勃发展的阶段,很多的知名网站如腾讯、优酷、新浪、淘宝等都推出了Android客户端的版本,移动设备正在潜移默化的改变人们的生活方式和生活习惯。移动设备上搭载的Android系统及其应用在其中扮演着人机交互的重要角色。Android系统拥有广阔的应用前景,越来越多的企业也十分需要Android开发的人才。

课题目标及意义

本毕业设计的任务就是开发可以在安卓平台上使用的绘图编辑软件。完成基本绘图元素(如点、线、三角形、正方形、长方形、平行四边形、菱形、梯形、圆、椭圆等)的绘制、编辑和删除,区域的选择、剪切、复制和粘贴,图像文件的保存和读入,并支持常见的图像格式[2]

剩余内容已隐藏,请支付后下载全文,论文总字数:30015字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;