Tuesday, December 2, 2008

Device Specific Library Part Four

The Nokia UI API

Sound


The Nokia UI also includes the abality to play sounds on compatible MIDs. The most basic support you can rely on is playing simple tones as well as Nokia ring-tone format (RTPL) tunes. More advanced MIDs can also play digitized audio using the WAV format.

Playing Tones
The first thing to playing sounds is determining the support for the device. The getSupportFormats method will return an array of integers containing either FORMAT_WAF or FORMAT_TONE.

No comments: