We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2014-07-31 21:33:26 +0200 |
HI All,
I"m writing my first app where i download some information from the internet, i used the javascript XMLHttpRequest class for that, and in the emulator it works fine. When i run it on the real device i expected this to trigger the "Select internet connection" dialog where the user can select a mobile data or wlan connection, but this didn't happen and the download failed if there was no connection available. Then i found this message: http://stackoverflow.com/questions/12439379/no-internet-popup-qt-qml-mobile-devices I made the changes to my cpp file and removed the ConnectInBackground setting as suggested in a reply to the message, and expected the dialog to pop up whenever i start the app. Also this didn't work.
How do i trigger this dialog from QML ?
2 | retagged |
HI All,
I"m writing my first app where i download some information from the internet, i used the javascript XMLHttpRequest class for that, and in the emulator it works fine. When i run it on the real device i expected this to trigger the "Select internet connection" dialog where the user can select a mobile data or wlan connection, but this didn't happen and the download failed if there was no connection available. Then i found this message: http://stackoverflow.com/questions/12439379/no-internet-popup-qt-qml-mobile-devices I made the changes to my cpp file and removed the ConnectInBackground setting as suggested in a reply to the message, and expected the dialog to pop up whenever i start the app. Also this didn't work.
How do i trigger this dialog from QML ?