sedi
22nd August 2017, 16:38
Hi,
I can start a phone call on android with the code below, but I've also seen different advice ("callto://+49800xxxxxxx") that doesn't work for me.
QDesktopServices::openUrl(QUrl("tel:+49800xxxxxxx", QUrl::TolerantMode));
I can also start an email with
QDesktopServices::openUrl(QUrl("mailto:"+myAddress+"?subject="+mySubject+"&body="+myText, QUrl::TolerantMode));
Do you know more possible use cases?
I've failed to find a comprehensive list of possibilities for this, neither here, nor on Google, nor in the docs. Any suggestion where to read further would be gratefully appreciated!
I can start a phone call on android with the code below, but I've also seen different advice ("callto://+49800xxxxxxx") that doesn't work for me.
QDesktopServices::openUrl(QUrl("tel:+49800xxxxxxx", QUrl::TolerantMode));
I can also start an email with
QDesktopServices::openUrl(QUrl("mailto:"+myAddress+"?subject="+mySubject+"&body="+myText, QUrl::TolerantMode));
Do you know more possible use cases?
I've failed to find a comprehensive list of possibilities for this, neither here, nor on Google, nor in the docs. Any suggestion where to read further would be gratefully appreciated!