




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、智能手机论文:基于android平台的传感器技术应用研究【中文摘要】随着智能手机的发展,人们对手机的要求也不再仅 仅局限于传统的手机功能,而是更求智能手机具备越来越完善良和强 大的娱乐与商务功能,如移动办公、移动电子商务、移动网络游戏、 google地图、移动电影音乐等等都得以快速地发展。传统计算机上 的应用现在基本上均能在智能手机上实现。而实际上,现在市场上的 智能手机开发商也止是朝着这方面的目标进行技术和产品的研发。目 前,全球各大手机半产商均纷纷推出自己的手机智能系统,比如目前 较流行及运用广泛的诺基亚公司塞班系统,苹果公司的iphone手机 系统,以及这两年正在迅速崛起的google公
2、司推出的基于linux内 核的android手机系统。基于android系统的各种手机开发及应用正 在逐渐成为一种流行趋势。作为近两年智能手机系统上的佼佼者之 一,google公司发布android手机系统正在逐渐地走向成熟,并凭 借其自身强大的优势成为人们在手机系统应用开发和手机娱乐的必 要选择。本文主要通过介绍一款基于android系统的物理传感器小游 戏“快乐迷宫”的设计与开发过程,讲述了当前较为流行的智能手机 传感器游戏在android系统中的实现过程及涉及的技术要点。 android平台提供功了能强大的传感器接口,如姿态传感器(orientation sensor)、加速度传感器(a
3、ccelerometer sensor)、光 传感器(light sensor)和磁场传感器(magneticsensor)等,为开发各 种类型手机传感器应用程序提供了非常大的便利。本文主要利用姿态 传感器技术设计一款迷宫通关小游戏,玩家通过对手机的左、右、上、 下的摆动,是从初始位置顺利移动至目标位置,走出迷宫,完成进入 下一关,直到顺利完成所有的关卡,当然这途中会有许多的陷阱阻碍 物,也有宝物奖励等,增加了游戏的可玩性和刺激性。该游戏中主要 运用到的技术有姿态传感器应用、碰撞原理、游戏地图设计、图层渲 染等技术。【英文摘要】with the development of smart-pho
4、nes, people have mobile phones arc no ionger confined to the requirements of the traditional phone functions, but more and more requires smart-phones has good sound and powerful entertainment and business functions, such as mobile office, mobile commerce, mobile online games, google maps, music, mov
5、ies, etc are able to move quickly to develop traditional computer applications can now basically to achieve in the smart phone in fact, smart-phones company is also moving to the objectives for technical and product development currently, the world? s major handset manufacturers have launched their
6、own mobile intelligent systems, such as the current use of the more popular and widely nokia symbian system, apple' s iphone system, and google? s android mobile phone system that launch of the linux-based variety of handsets based on android system development and applications are becoming a po
7、pular trend. as to be one of leader for smart-phone system in these two years, google company issue android system gradually towards mature, and depend on strong advantage, it becomes an essential choice of cell phone system in application program development and smartphone entertainment the article
8、 will introduce design and development of one small game happy maze” base on the physics sensor of android system, present implementation process and refer to technology main point of current popular smart-phone sensor game in android system .android system provides powerfu1 function in sensor inter
9、face, such as orientation sensor, accelerometer sensor, magnetic sensor, light sensor, etc. it provides convenience in developing all kinds of cell phone sensor application program the article use orientation sensor technology to design one small game called “happy maze" , when game player swin
10、gs the cell phone with “left, right, up, down” , the purpose is successfully let the person arrive to object location from initial location, then go out of the maze, finish and enter the next lever, until finish the five levers of course there will be a lot of traps and obstacles, treasures and rewa
11、rds as well in the maze it increases the playability and excitement main technology of this game is application in orientation sensor, collisiontheory, game map design, render etc.【关键词】智能手机android传感器 碰撞原理 游戏地图【备注】索购全文在线加好友金:278421*888同时提供论文发表委托和一对一论文写作指导服务。【英文关键词】smart-phonesandroidsensorcollision t
12、heorygame map【目录】基于android平台的传感器技术应用研究 摘要5-6 abstract 6 第一章绪论10-131. 1研究意义与背景101.2国内外解能手机游戏研究现状10-111.3研究目的及项冃背景介绍111.4论文的研究内容和组织安排11-121.4. 1论文内容概述11t21.4.2论文内容安排121.5游戏项目开发技术背景121.6木章小结12-13 第二章基于android的传感器技术 13-282. 1 android 概述 13-182. 1. 1 android 平台简介 132. 1.2 android 开发框架 13-142. 1.3 android
13、 应用程序组件14-172. 1.4 android软件开发的优点及缺点17- 18 2. 1.5 android开发环境的搭建18 2.2传感器概念与分类18-192. 2. 1传感器的概念182. 2.2传感器的分类18- 192.3传感器在智能手机中的应用192.4 android平台传感器的使用19-232. 4. 1 android平台传感器种类19- 21 2. 4.2加速度传感器21-22 2.4.3姿态传感器22-232. 5传感器的使用方法23-252. 5. 1创建sensormanager 对象 232. 5. 2 实现 sensorlistener 接口23242. 5
14、. 3 sensorlistener 的注册和注销 24-252. 6sensorsimulator工具的介绍及应用25-262. 7木章小结26-28 第三章 游戏的整体设计28-363. 1游戏的设计思路与功能简介28-313. 1. 1游戏的设计思路283. 1. 2游戏的功能简介28-313.2游戏开发环境及准备工作313. 2.1游戏开发环境313.2.2相关材料及素材准备313.3游戏整体框架31-343. 3. 1游戏功能模块31-333. 3.2游戏中的类设计33-343.4本章小结34-36 第四章游戏的开发36-684. 1mazeactivity 类的开发 36-394.
15、 1. 2 mazeactivity 类的功能与设计36-374. 1.3 mazeactivity类功能的具体实现37-394.2游戏欢迎界面模块的开发39-424. 2.1 welcome类的设计与实现39-404. 2.2 welcomethread 类的设计与实现 40-414. 2.3we 1 comedrawthread类的设计与实现414. 2. 4游戏欢迎界面用户交互响应处理过程41-424.3主游戏界面模块的开发42-464. 3. 1 game 类的设计与实现 42-444. 3. 2 gamethread类的设计与实现444. 3. 3 drawthread类的设计与实现44-454. 3.4游戏弹出菜单的设计与实现45-464.4游戏地图模块的设计46-494. 4.1游戏界面背景滚屏的设计464. 4. 2游戏地图设计46-494.5游戏后台逻辑模块的开发49-574. 5. 1 “主人公”移动方
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 生态保护区通信基站租赁与自然保护合作协议
- 智能家居产品展示中心场地租赁及市场推广合同
- 路佳张伟离婚后子女抚养权及赡养费协议
- 娱乐活动海报设计聘请专业平面设计师合同范本
- 智能家居产品售后服务协议范本
- 智能化住宅小区水电暖消防系统施工分包合同
- 美团特殊情况退款处理及退款时效合同规范
- 酒店客房外包安全协议与员工绩效管理合同
- 节能减排项目工程制作与政府补贴申请合同
- 2025年建筑工程类施工员-市政参考题库含答案解析(5卷)
- 2025年国家电网中级职称考试(档案专业)历年参考题库含答案详解(5卷)
- 翻越浪浪山共筑新学期成长梦之开学第一课班会课件
- 2025年村级动物防疫员考试题及答案
- 公务用车安全知识培训课件
- 2025年国企竞聘上岗笔试题干部竞聘上岗笔试题及参考答案
- DB13∕T 5958-2024 金属非金属露天矿山采场边坡安全监测技术规范
- 学校后勤物业项目进场移交接管计划
- 视频内容审核技术-第1篇-洞察阐释
- 监理临时用电管理办法
- 2025年计算机二级考试真题及答案分享
- 施工现场安全防护设施标准化指南
评论
0/150
提交评论