×

Discussion Board

Results 1 to 2 of 2

Hybrid View

  1. #1
    Registered User
    Join Date
    Aug 2011
    Posts
    29

    How to get current ring tones in my apps?

    Hi,

    I want to get current ring tones at my apps and how to play ring tones using qt.

    Regards,
    Greenbil.

  2. #2
    Nokia Developer Expert
    Join Date
    Oct 2007
    Posts
    441

    Re: How to get current ring tones in my apps?

    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));
    From the other hand by use QMobility call (below) you cannot get active ringtone url
    Code:
    ProfileDetails QSystemDeviceInfo::activeProfileDetails ()
    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 .

Similar Threads

  1. ring tones
    By lil t in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2004-10-29, 16:40
  2. Ring tones available
    By jungleguy in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2004-01-29, 22:40
  3. Ring tones
    By arzoo400 in forum Mobile Java General
    Replies: 0
    Last Post: 2002-07-08, 09:59
  4. Ring Tones
    By kuldeep_singh_in in forum General Messaging
    Replies: 1
    Last Post: 2002-05-14, 06:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •