<div>Hi Sailors,<br></div><div><br>For my app Sailfinder I have received a bug report about the network connection. When switching between mobile data & WiFi the app misbehaves.</div><div><br>I want to detect the current network state to avoid thsi problem. I thought of several possibilities:</div><ul><li><div>Ping everytime to my website before doing other requests (expensive, better not).<br></div></li><li>Use MCE module which expose the network states in a file (that's what I found on the sailfishos.org website, no more extra information). This option is the one I want to try :)<br></li><li><div>...<br></div></li></ul><p>And if network isn't available I want to show the network connection dialog but I haven't find any information about it. Can someone help me with it? If possible, in a Harbour way since Sailfinder is also available in the Jolla Store.<br></p><div>Kind regards,<br></div><div>Dylan Van Assche<br><br><br></div><div class="protonmail_signature_block-empty"><br></div><div class="protonmail_signature_block protonmail_signature_block-empty"><div class="protonmail_signature_block-user protonmail_signature_block-empty"><div><br></div></div><div class="protonmail_signature_block-proton protonmail_signature_block-empty"><br></div></div><div class="protonmail_signature_block-empty"><br></div>