Hi Erel,
The problem still persists. FYI: every True is preceeded by a line in the log file that states: "Ignoring event: sensor_sensorchanged". After releasing or debugging the app, the TRUE's keep coming, even if I stop the app and remove it from my Android (while leaving B4A running)! Deleting everything that involves the sensors in the sourcecode does not help either. It looks almost as if B4A has started another app or service, but there are no services in my app.
Please help. I am now trying to add In-App billing but the True's make it impossible to debug.
UPDATE: The problem is now solved. This was done by closing one of my other apps which starts up automatically when the Android is switched on (using a Service). Strangely enough this app, even though it should be in activity_pause condition, apparently reports the status of its sensors to B4A while I am working on another app! Any idea about the cause?
Could this be some kind of memory leak?