Hello,
I have a problem which appears with the SDK 2.1 before no problem.
My code:
//to start the session recording
function StartRecording() {
Sys.println("Start session recording");
if( ( session == null ) || ( session.isRecording() == false ) ) {
session = Record.createSession({:name=>"Running Frac.", :sport=>Record.SPORT_RUNNING});
session.start();
}
}
The message on eclipse console show that the problem appears at createSession level:
Connect GPS
Start session recording
Failed invoking <symbol>
Out Of Memory Error
in StartRecording (C:\Users\Sylvain\Documents\Programmation\Garmin\IntervalRunning - Vivo V2.2\source\IntervalRunningView.mc:708)
in onKey (C:\Users\Sylvain\Documents\Programmation\Garmin\IntervalRunning - Vivo V2.2\source\IntervalRunningDelegate.mc:106)
in handleEvent (D:\jenkins\workspace\Tech-CIQ-Win-Rel\mbsimulator\submodules\technology\monkeybrains\virtual-machine\api\WatchUi.mb:422)
in handleEvent (D:\jenkins\workspace\Tech-CIQ-Win-Rel\mbsimulator\submodules\technology\monkeybrains\virtual-machine\api\WatchUi.mb:582)
Connection Finished
I use exactly the same code for vivoactive, vivoactive HR and fr920XT. No problem with the simulator for vivoactive HT and fr920XT, but always same situation with vivoactive since the SDK2.1; on my watche also that don't operate also.
Any idea?
Thanks for your help.
Sylvain