geolocation - Detect if device is moving iOS -
fact: ios has way detect acceleration. if user opens app while in movement , stays moving @ same speed, there way "figure out" without using gps?
i'm asking because:
- my app used on places gps signal quite inaccurate, basements , similar places
- and importantly: don't care user is, want know if user moving or not...
ps: moving mean walking down hall or crossing street... know, considerable movements (30 ft or more)... disregard short movements (couch bathroom sort of thing, less 30 ft...)
the accelerometer works name suggest. detects acceleration. if go 0 mph 5 mph notice that, if continue @ 5 mph while won't detect (because there no acceleration). can try combine gyro detect rotational acceleration, there no technical way device detect motion @ constant speed... able detect changes in motion, if user going @ continuous pace cannot detect that
Comments
Post a Comment