Using the SDK 6.4.0
Device: FR265
Using the SDK 6.4.0
Device: FR265
The record sample does very little on the display when it runs, and there are only to things, input wise, it handles
Pressing the lower right button terminates the app.
A long press of the middle left button starts or stops recording (the screen changes to show it's recording or not and the only time the screen changes)
It runs fine for me.
With a device-app, onUpdate() doesn't get called on a regular basis as happens with a watch face. You need to do something like create a timer where each time it fires it does a WatchUi.requestUpdate().
HI jim_m_58
Thanks for the reply. In my app, I cant even get to the next code section because everything freezes after calling the `session.start()` function. I can replicate the same behaviour with the example app.
I recorded the screen capture, to show what's happening
As you can see, after the breakpoint on the session.start()`
it doesnt even get to the next line, the simulator freezes, none of the buttons/controls work. Even when trying to stop the app from IDE, connection to the simulator times out, and i have to try and stop is few times.
On the simulator side, everything is frozen, the only thing to do there is quit the simulator
This seems specific to your machine. Have you tried a full reboot? Is your OS current? There was a bug that was resolved by updating the OS on a mac. I'd also check the version of Java.
I suspect it's the Java. Here's what I use and have for years:
openjdk version "17.0.2" 2022-01-18
OpenJDK Runtime Environment (build 17.0.2+8-86)
OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing)
In the console in VSC I see C:\ciq\java\jdk-17.0.2\bin\java.exe