Monday, 15 February 2010

android - Moto 360 doesn't have a step detector? -



android - Moto 360 doesn't have a step detector? -

so i'd able record events step detector on moto 360, when run code on wear module:

mstep = msensormanager.getdefaultsensor(sensor.type_step_detector); if (mstep == null) { log.d(tag, "step null"); }

it prints out "step null" message in logcat. using type_step_counter result in object getting returned , i'm able hear events it, i'm looking latency found in type_step_detector objects.

does 360 not have sensor? seems pretty inexplicable since counter exists. similar code works fine on nexus 5.

i have seen problem before, , step counter easiest 1 utilize applications. step detector deliver event when step occurs, unless step occurring in few milliseconds device awake between suspend cycles, no data. should registering type_step_counter reliable count.

android android-sensors android-wear

No comments:

Post a Comment