Hello!
Edge has a Default Indoor (Activity Profile) datafield, which is switching off GPS and getting speed and distance data from my bike trainer.
I would like to do the same in my Application, I'm starting an ActivityRecording (:sport=>Activity.SPORT_CYCLING,
:subSport=>Activity.SUB_SPORT_INDOOR_CYCLING), switching off GPS (
Position.enableLocationEvents(Position.LOCATION_DISABLE, method(:onPosition))).
Power and cadence data are coming, but speed and distance not. If I switch on GPS and have GPS signal, everything works perfectly (I mean I'm getting speed and distance data from the biketrainer).
Is it bug or I just forget to set something?