Hi, I have a question about browser implementation. By your design, to be able to communicate with device, we have to open your implemented browser window:
Code:
cpp_state.launchBrowser();
When we rotate mobile device, this causes reload browser content completely. If user have initiated reading measurements from device, this probably will fail the action. I'm not sure, is it in your scope, but maybe you could identify, what may be done, to prevent this?I have already tried to lock device orientation in AndroidManifest.xml:
Code:
android:screenOrientation="landscape"
or main.qml
Code:
Window { id: window1 // ommited code contentOrientation: "LandscapeOrientation"}
This locks views, parsed from *.qml files, but browser window acts independently, and ignores theses settings. Do I have extend PlatformWebBrowser functionality, or it may be done in other place?P.S.It would be ideal, if we could rotate device and not cause page reload 8)