Is there a way in Qt/QML that I can detect if the phone is connected to the internet without having to actually connect to a server? I know the Android SDK has an API and permissions for reading network state. I'd like to display a message to the user when there is no data connection (Wifi or cellular data) service active on the phone. Thanks