UnwiredtecDocumentation : RingtoneCreatorJavaParamsChange

Changing Ringtone Parameters


In addition to the plain open/save conversion methods Ringtone Creator engine supports several operations allowing to change the ringtone. Among such changes is the possibility of changing the song name, or reducing the output size of the ringtone.

This group of operations allows you to set/get the following properties of loaded ringtones:


The following properties in the Ringtone class correspond to the operations mentioned above:

PropertyDescription
loopCountThe number of times the ringtone will be played on a client's phone. Integer ranging from 0 (just once) to 15 (infinitely).
songComposerThe name of the ringtone's composer. String.
songNameThe name of the ringtone. Certain ringtone formatsimpose limitation on the size of this field. String.
songStyleThe style of the ringtone. Integer. Takes the following values:
  • RingtoneConstants.NOTE_STYLE_NATURAL
  • RingtoneConstants.NOTE_STYLE_CONTINUOUS
  • RingtoneConstants.NOTE_STYLE_STACCATO

However, it's not recommended to change the last property.

1 affects formats capable of saving such data (e.g. iMelody, MIDI, MP3, AAC)
2 affects all except EMelody, Motorola
3 affects IMelody, Nokia