I am quite sure (on slowing down when disconnected), relation to the GC messages?
Erel,
This effect is there with 95% or more security (the slowing down just by disconnecting the bridge on the PC). When I have the WiFi bridge connected the app runs smoothly. I am doing no change on the µC side.
As I said, data transmission via BT gets disturbed under these circumstances, and extra transmission loops have to be inserted, what is the apparent reason for the slowing down. I can get the data transmission back to normal for a minute, but the slowing down effect comes in again, and again, when the bridge is not connected.
Notably: Without logging data the Logcat window shows information when the bridge is connected. Disconnected, couldn't that have influence backwards to the app, some handshaking or so?
Most nastly, when I am demonstrating the artwork away from home (without having the B4A PC nearby) the slowdown is present, supporting my conclusion on the influence of the bridge connection to the app performance.
Regards, positrom2
Addendum, relation to GC:
When the bridge is connected Logcat shows (unfiltered) garbage collection actions occuring every minute or so, when my app is running. Now, GC in itself is not the issue since when the bridge is connected my app runs smoothly. So, might it be that the log messages are filling a buffer in the tablet which is not cleared when the bridge is disconnected, and cleared by timeout?