Mintoris Forum

Author Topic: Clasic P9 Demo Sensors observations  (Read 791 times)

sraffens

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 220
Clasic P9 Demo Sensors observations
« on: Apr 15, 2017, 04:04 PM »
There is a problem with the sensors menu

When you press the "List Available Sensors" the program stops this is not a problem you may not have worked on GestSensors()

The following is the strange and confusing part:
press say Accelerometer - The screen will display the will display the accelerometer and the progress bar, while the progress bar goes down tap the screen, the sensor menu is displayed over the accelerometer restart, not pausing the accelerometer (background thread?).
press say Orientation  - The screen will display the will display the accelerometer and the progress bar, continue the progress bar where it left off, while the progress bar goes down tap the screen, the sensor menu is displayed over the Orientation

As long as the function finish the loop count it works OK.
the exit for / break appears to cause the function to restart on a different thread.

This almost look like the start of multi thread processing