基于Android的地震速报软件设计与实现

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
(山西大学计算机与信息技术学院 山西 太原 030006)
摘 要 地震是 一种对人 类危害 较大的 自然现象,常常造成 重大 的人 员伤亡和 经济损 失。尤 其 当地震发 生在深夜 时,人们 由于在 熟睡 中往往 意识不到地震 的发 生,因而更容 易导致惨剧 的发 生。基 于 Android的地震速报软 件不 需增加 额外硬 件设备 ,通过 调用 智 能手机 自带 的方 向传感器 、加速度传感器 ,感 知周 围环境的变化情况 ,提 醒用 户震 动的发生。同时软件在 手机连接 互联 网时,可 以实 时获取 中国地震信 息网发 布的官方权威地震信息 ,方便用 户查 询。软 件集成 了相 关的地震 常识,可 以在平 时和被 困后给 予用 户指 导 和帮助 。此 外,该软件还实现 了获取用 户的 GPS地理位置信息 ,并给指 定联 系人发送 求救短信 和平 安短信 的功能。整个 系统利 用 Java+Eclipse+Android模式开发运行 ,并使 用真机进 行测试 ,实现地震信 息、信息设置 、地震 监测 和地震 常识等功能。
第 33卷 第 5期 2016年 5月
计算机 应 用与软 件
Computer Applications and Software
Vo1.33 No.5 M av 2016
z z z PsgiolePfrp
Hale Waihona Puke 基 于 Android的 地 震 速 报 软 件 设 计 与 实现
高嘉伟 李 娟 李帮辉
Gao Jiawei Li Juan Li Banghui (School of Computer and Information Technology,Shanxi University,Taiyuan 030006,Shanxi,China)
Abstract Earthquake is a natural phenomenon with great harm to human beings and usually causes heavy casua lties and economic losses. In par ticular,when an earthquake happens late at night, the consequence will be tragic, for people who are asleep often cannot feel the quake. The quick earthquake report software based on Android perceives the changes of the surrounding environment by invoking the direction sensor and acceleration sensor in smartphones themselves without adding extra ha rdwa re devices,and alerts users the occurrence of an earthquake.At the same time,the software can timely obtain the seismic infor m ation with off icia l authority released by China Seismic Information W ebsite when the smartphones are connected to the Internet,which is convenient f or users to query.The software integ rates the correlated earthquake knowledge that can give users guidance and help in either normal time or after being stranded.In addition,the softwa re also realises the function of obtaining users GPS geographic positioning infor m ation and sending shor t massages of SOS and sa fety to specif ied contacts.The whole system is developed and operated using the model of Java+Eclipse+Android,and tested on rea l mobile phones as well, it achieves the functions of earthquake inform ation,information setting,earthquake monitoring and earthquake knowledge,etc.
Keywords Android Earthquake Earthquake magnitude Earthquake intensity
0 引 言
地震是一种对人类危 害 比较 大的 自然现象 ,常 常造成重 大 的人员伤亡 和经济 损失 。地 球 每年 会发 生大 概 500多万 次 地 震 ,平 均每天发生上万次地 震。大地震 的发生 总会 带来重 大的 经济损失和人员伤亡 ,因而如何 减少 地震带 来的损失 一直 是人 类关注 的问题 。
关 键 词 Android 地 震 震 级 烈度
中 图分 类 号 TP3
文 献 标 识 码 A
DOI:10.3969/j.issn.1000-386x.2016.05.053
DESIGN AND IMPLEMENTATION OF ANDROID—BASED QUICK EARTHQUAKE REPORT
相关文档
最新文档