question

jraymer917 avatar image
jraymer917 asked

Station 1 Base Sensor

How do I capture/use the Station 1 Base sensor info? I want to rotate/update my app by running a function when the user turns Station 1. I am able to do this in Station 2018 using android:configChanges. I have the below in my manifest but I am unsure of how to capture the event and get the orientation (portrait vs landscape) it was changed to.

  1. <activity name="..."
  2. ...
  3. android:screenOrientation="sensor"
  4. ...
  5. />
Clover Station
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community