Motion coprocessor

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
acheronte
Posts: 3
Joined: Fri Oct 07, 2016 6:42 pm

Motion coprocessor

Post by acheronte » Fri Oct 07, 2016 6:46 pm

Hello everybody, I'm new to this forum. I've developed little apps with Livecode for hobby in the past 2 years.

Before to post this question I've searched into the forum with no luck. I would like to know if there is an easy way to access the data stored into the motion coprocessors of the last iPhones. I tried to look at the documentation and around the web but I wasn't able to find anything.

Thank you.

Klaus
Posts: 14182
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Motion coprocessor

Post by Klaus » Fri Oct 07, 2016 7:04 pm

Hi acheronte,

1. welcome to the forum! :D
2. not sure what you mean with "motion coprocessors" but check "mobileStartTrackingSensor" in the dictionary, that may be what you are looking for.


Best

Klaus

acheronte
Posts: 3
Joined: Fri Oct 07, 2016 6:42 pm

Re: Motion coprocessor

Post by acheronte » Sat Oct 08, 2016 7:26 am

Hello Klaus. I mean the M7/M8/M9/M10 coprocessors that are able to register the movements of the owner, like walking, running, car movements andò the daily number of steps. The latter is primarly what I'm looking for. I would like to read the footsteps stored in those chips.

peter-b
Posts: 182
Joined: Thu Nov 20, 2014 2:14 pm

Re: Motion coprocessor

Post by peter-b » Mon Oct 10, 2016 1:32 pm

I think you can get footstep information using HealthKit.
LiveCode Open Source Team — @PeterTBBrett — peter.brett@livecode.com

acheronte
Posts: 3
Joined: Fri Oct 07, 2016 6:42 pm

Re: Motion coprocessor

Post by acheronte » Mon Oct 10, 2016 6:14 pm

I read: "The HealthKit External is now included in the LiveCode 8.1.0 DP1 release as part of the LiveCode Extension Pack, available with Indy and Business editions."
So, no chance for the opensource version of LC? (I write apps for myself)

Any other way/method? An external or something else?

Post Reply