Samsung Electronics logo

Managing Ringtones and Notification Tones



Learning how to set ringtones and notification tones is a basic application development skill:

  1. To set the specified audio file as the notification tone for emails, use the setProperty() method:

    function setNotificationEmailTone() 
    {
       try 
       {
           tizen.systemsetting.setProperty("NOTIFICATION_EMAIL", 
                                           "/opt/usr/media/Sounds/Over the horizon.mp3", 
                                           successCB, errorCB);
       }
    }
  2. To get the current system setting information for the incoming call ringtone, use the getProperty() method:

    function getIncomingCallRingtone() 
    {
       try 
       {
           tizen.systemsetting.getProperty("INCOMING_CALL", successCB, errorCB);
       }
    }