bdbcat
bdbcat
This function also relates to recent Android work. So I expect we can see this in the master branch fairly soon. I'll study your PR, and co-ordinate with Android implementation....
Mgrouch... Reviving this for discussion. In OCPN 5.9.1, I have implemented the EnableTouchEvents() in chcanv.cpp. But for some reason, using RPi4/bookworm, I do not ever get any events. Any ideas?...
Anything else specific and actionable here?
What fix do you see? Buttons with icons? Or...
Quinton... Your arguments are correct and logical in a re-factor without regard to legacy users. But in our real world: 1. Several plugins are effectively developer-abandoned, so compile time messages...
"So something has definitely changed in the order that the driver registry is initialized and plugins are loaded." Highly probable. The startup sequence was recently modified for better performance and...
Builds but crashes at runtime on Android. `java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN27CommDriverN0183SerialThreadC1ENSt6__ndk18functionIFvRKNS0_6vectorIhNS0_9allocatorIhEEEEEEE"` Probably causedby initialization of member "m_secondary_thread" in driver ctor, but the SerialThread code objects are #ifdef'ed...
Some experimentation. After fussing around to remove CommDriverN0183SerialThread, with some things like: ``` #ifndef __ANDROID__ CommDriverN0183SerialThread m_secondary_thread; #endif ``` I did succeed in building and running. Works fine, as expected....
Here is my diff. Does not build on linux, not sure how to best handle the initialization of m_secondary_thread on driver CTOR. But it does load and run correctly on...
Now I am thinking that there is no problem to define and instantiate the secondary thread object for Android. Just don't start it, ever, for Android. Might save some evil...