没有合适的资源?快使用搜索试试~ 我知道了~
基于android的手机计步器设计与实现毕业设计.doc
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 148 浏览量
2023-06-18
23:47:32
上传
评论
收藏 812KB DOC 举报
温馨提示
试读
33页
基于android的手机计步器设计与实现毕业设计.doc
资源推荐
资源详情
资源评论
基于 android 的手机计步器设计与实现
基于 android 的手机计步器设计与实现
Design and Implementation of Mobile Phone Pedometer based on
Android
评 阅 教 师:
Nanyang Institute of Technology
基于 android 的手机计步器设计与实现
[摘 要]随着智能手机逐步的走入人们的生活,目前其已经成为了当今最主要的
通信和娱乐工具,其中 Android 就是众多智能机操作系统中最主要的一个。Android 是
一种基于 Linux 的自由及开放源代码的操作系统,主要使用于移动设备,如智能手机和
平板电脑,由 Google 公司和开放手机联盟领导及开发。本软件就是搭载 Android 平台的
一款小型应用,帮助用户随时随地的记录和了解自身的运动情况、锻炼成效。该应用使
用 Java 语言,利用 Eclipse 开发工具开发完成。根据加速度传感器传出的信息,该软件
能够通过下面的方法,算出用户所走的步数,速度,距离以及消耗的热量:该软件分为
两种单位千米和英里。用户首先在设置里选择单位并输入步长(厘米/英寸)和体重(千
克/英镑),然后系统根据一定的计算公式算出个参数,最后将内容显示给用户以帮助用
基于 android 的手机计步器设计与实现
户达到更好的健身效果。
[关键词]智能手机;Android;计步器;加速度传感器
Design and Implementation of Mobile Phone Pedometer based on
Android
Computer Science and Technology Major XX
Abstract: With the intelligent mobile phone gradually into people's lives, it has become the
most important communication and entertainment tool, and Android is the main one in many
smart mobile phone operating system . Android is an operating system based Linux of free
and open source code ,mainly used in mobile devices, such as smart mobile phone and tablet
computer, leadership and development by the Google and open mobile phone Alliance . This
software is a small application equipped with the Android platform, help the user whenever
and wherever possible to document and understand their own exercise, exercise performance.
The application is written in the java programming language , and utilization of Eclipse
development tools. According to the information outgoing from acceleration sensor, this
software can through the following methods works out the number of step out,walking
speed,distance,calories consumed of users:the software contains two units,kilometers and
miles. The user first selection unit and input step length (cm/inch) and weight
(kg/pounds),Then the system will calculates the parameters according to a certain
formula.Last The content is displayed to the user in order to help the user to achieve better
health effects.
Key words: Intelligent mobile phone ; Android ; Pedometer ; The acceleration sensor
基于 android 的手机计步器设计与实现
目 录
1 绪论.........................................................................................................................................1
1.1 研究背景.......................................................................................................................1
1.2 Android 平台的发展状况 .............................................................................................1
1.3 研究的目的和意义.......................................................................................................1
2 相关技术简介.........................................................................................................................2
2.1 开发工具.......................................................................................................................2
2.1.1 Java Development kit(JDK)介绍 ...................................................................2
2.1.2 Android SDK 介绍 .............................................................................................2
2.1.3 Eclipse 开发工具介绍.........................................................................................2
2.1.4 Android Development Tools(ADT)介绍 .......................................................2
2.2 Android 开发常用到的技术 .........................................................................................3
2.2.1 Activity.................................................................................................................3
2.2.2 Service..................................................................................................................4
2.2.3 Content Provider 内容提供者 ............................................................................5
2.2.4 Intent 信使 ..........................................................................................................5
2.3 Android 手机加速度传感器的介绍 .............................................................................5
2.4 开发环境的搭建...........................................................................................................5
2.4.1 安装 JDK ............................................................................................................6
2.4.2 Eclipse 安装.........................................................................................................6
2.4.3 Android SDK 安装 ..............................................................................................6
2.4.4 ADT 安装 ............................................................................................................7
3 Android 手机计步器的需求分析 ..........................................................................................7
3.1 本文可行性分析...........................................................................................................7
3.1.1 经济可行性.........................................................................................................7
3.1.2 技术可行性.........................................................................................................7
3.2 Android 手机计步器功能需求 .....................................................................................7
3.2.1 主界面需求分析.................................................................................................8
3.2.2 历史界面需求分析.............................................................................................9
3.2.3 设置界面的需求分析.......................................................................................10
3.2.4 分享界面的需求分析.......................................................................................12
3.3 手机性能需求.............................................................................................................13
3.3.1 系统要求...........................................................................................................13
3.3.2 灵活性...............................................................................................................13
3.3.3 时间特性要求...................................................................................................13
3.3.4 软件特性要求...................................................................................................13
4 手机计步器总体设计...........................................................................................................13
4.1 软件框架介绍.............................................................................................................13
4.2 软件结构设计..............................................................................................................14
4.3 系统数据流设计..........................................................................................................15
5 手机计步器的设计与实现...................................................................................................16
基于 android 的手机计步器设计与实现
5.1 数据存储设计.............................................................................................................16
5.1.1 计步记录的存储...............................................................................................16
5.1.2 计步器各设置项的存储...................................................................................17
5.2 关键代码的实现.........................................................................................................18
5.2.1 手机计步器核心类 StepService.......................................................................18
5.2.2 主要界面的实现...............................................................................................20
6 系统测试...............................................................................................................................24
6.1 测试计步器各项功能.................................................................................................24
6.1.1 测试准备...........................................................................................................24
6.1.2 测试过程...........................................................................................................24
6.2 测试总结.....................................................................................................................27
结论及尚存在的问题...............................................................................................................27
参考文献...................................................................................................................................29
致谢...........................................................................................................................................30
剩余32页未读,继续阅读
资源评论
老帽爬新坡
- 粉丝: 79
- 资源: 2万+
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功