Thanks once again.
Eskil Abrahamsen Blomfeldt ’s blog is good. I used one of his articles last week as a base for my first Qt Android Proof-of-Concept app - to send SMSes.
The whole Qt multi-platform thing (on Android at least) is to some extent hamstrung by the fact that things that can be done on other mobile platforms via QML / C++ can (at the moment) only be done via java calls to Android’s java APIs. (e.g. send SMS, list contacts). On the other hand the GPS functionality was pretty much cut and paste from SailfishOS to Android, as Qt Positioning / Location is supported on both platforms.
The existing SailfishOS app is mainly QML, a group of pagestack pages. For things that could not be done directly / easily with QML, I import C++ helper classes (e.g. SMSHelper, TorchHelper) which call the Qt / SailfishOS C++ APIs.
I had assumed that in the ported Qt Android version of the app, each of the equivalent C++ helper classes would call its own dedicated java activity class.
However if a Qt Android App can only have one activity class, then it looks like the C++ helper classes will have to share one central fatish java activity class. This java class would be the central “gateway” for all Android API calls from the various parts of my app.