Trouble with Direct Activity Launch on Garmin Forerunner 55 Using MonkeyC

Hello, I have a few questions about a project I would like to undertake. Currently, I am coding an application for a Garmin Forerunner 55 that, when launched, starts a running activity. In the future, I would like to integrate it with a mobile application so that, upon receiving a signal, it can start an activity on the watch.

At the moment, I am learning MonkeyC and focusing on the underlying logic, so I have encountered several issues.

As mentioned above, I am trying to directly start an activity. To achieve this, I am launching the following code in the onStart function:

```monkeyc


function startActivity() {
System.println("Launched");
ActivityRecording.createSession({
:name => "Generic",
:sport => Activity.SPORT_RUNNING,
:subSport => Activity.SUB_SPORT_STREET
});
System.println("Session start");
}
```

However, I am unsure if this is the correct method to start an activity directly on the watch.

Thank you in advance for your assistance.