Hi,
I want to get current ring tones at my apps and how to play ring tones using qt.
Regards,
Greenbil.
Printable View
Hi,
I want to get current ring tones at my apps and how to play ring tones using qt.
Regards,
Greenbil.
Using Qt you cannot get ringtone url list from device ,
this code works on desktop but on device you will get empty list:
[CODE]
QStringList files = QFileDialog::getOpenFileNames(this, tr("Select Music Files"),
QDesktopServices::storageLocation(QDesktopServices::MusicLocation));
[/CODE]
From the other hand by use QMobility call (below) you cannot get active ringtone url
[CODE]ProfileDetails QSystemDeviceInfo::activeProfileDetails ()[/CODE]
There is only one solution i see as writing device depended code // for example for Symbian devices it would require access to CentralRepository -- i think -- to get system ringtone list // maybe it is some predefined folders -- have not checked it .