美文网首页
运动类应用相关资料收集

运动类应用相关资料收集

作者: zhangyin | 来源:发表于2016-03-14 01:32 被阅读88次

结论:

(1)iOS 可以利用HealthKit读取iOS手机中已经记录的记步数据;
(2)使用后台GPS定位功能可以获取每次GPS位置变更后的坐标,使用坐标数据,可以画出运动轨迹;
(3)结合GPS运动轨迹和记步步数,可以统计出运动量、运动路线;

===关于记步:===

iOS利用HealthKit框架从健康app中获取步数信息

http://www.cnblogs.com/luoxiaofu/p/5259320.html

read stepCount from health app

这是一个简单的示例如何利用healthKit框架从健康app中获取到步数信息
https://github.com/wl356485255/ReadStepCount

官方文档:

The HealthKit Framework

https://developer.apple.com/library/prerelease/ios/documentation/HealthKit/Reference/HealthKit_Framework/index.html#//apple_ref/doc/uid/TP40014707

HealthKit框架指南(The HealthKit Framework的中文版)

http://blog.csdn.net/pjk1129/article/details/41678099

Fit: Store and Retrieve HealthKit Data

https://developer.apple.com/library/ios/samplecode/Fit/Introduction/Intro.html

===关于后台记录GPS位置:===

Moves 是如何做到 iOS 后台数据记录的?

https://www.zhihu.com/question/21869458/answer/19572145

官方文档:

https://developer.apple.com/library/prerelease/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/BackgroundExecution/BackgroundExecution.html

参见:#Tracking the User’s Location

The significant-change location service is highly recommended for apps that do not need high-precision location data. With this service, location updates are generated only when the user’s location changes significantly; thus, it is ideal for social apps or apps that provide the user with noncritical, location-relevant information. If the app is suspended when an update occurs, the system wakes it up in the background to handle the update. If the app starts this service and is then terminated, the system relaunches the app automatically when a new location becomes available. This service is available in iOS 4 and later, and it is available only on devices that contain a cellular radio.

简单的说,iOS 提供三种追踪地理位置的模式:
<li>地理位置显著改变服务(推荐)
<li>前台地理位置服务
<li>后台地理位置服务

相关文章

  • 运动类应用相关资料收集

    结论: (1)iOS 可以利用HealthKit读取iOS手机中已经记录的记步数据;(2)使用后台GPS定位功能可...

  • 鸿蒙项目笔记

    1、相关资料收集。 a、鸿蒙相关资料 OpenHarmony/drivers_peripheral - 码云 - ...

  • Sketch 相关资料收集

    社区 官网 插件 SketchI18N - 汉化插件 Content Generator Sketch Plugi...

  • AskBob相关资料收集

    平安智慧医疗AI辅助决策系统(AskBob) 该AI辅助系统获得了在场医疗领域专家的高度肯定,认为其在赋能基层医疗...

  • python相关资料收集

    (四 封装-1)PyQT5:使用 pyinstaller 封装 Mac 独立程序

  • node相关资料收集

    1.node官网,可切换语言2.【语音解题系列】说说Node的事件循环机制

  • AJAX状态值与状态码

    今天收集了一下相关ajax状态值和状态码资料的收集。 状态值于状态码: ajax状态码: ajax类库

  • 写标书的注意事项

    1、收集好前期可用来参考的资料,分为两类:通用部分借鉴、技术部分借鉴。 2、收集用来约束本期项目的相关文件,如:用...

  • 【区块链价值网站】

    区块链价值网站收集,参考了很多资料,内容来源于网络~~ 1.行情类 2.资讯类 3.ICO相关 4.功能类 5.其...

  • lua相关学习资料收集

    lua官网:http://www.lua.org/home.htmllua学习网站:http://www.runo...

网友评论

      本文标题:运动类应用相关资料收集

      本文链接:https://www.haomeiwen.com/subject/wbrflttx.html