Getting linear acceleration from accelerometer sensor

Hi.

I’m trying to build an app prototype that retrieves acceleration force along the axes, excluding gravity, several times per second.

As I can see in https://developer.android.com/guide/topics/sensors/sensors_motion there is a TYPE_LINEAR_ACCELERATION that offers exactly what I want

I cannot figure out how to get it with Kodular. Is there a way?

Thanks in advance

1 Like