Channels ▼

Embedded Systems

Radios, Cell Phones, & Java

Source Code Accompanies This Article. Download It Now.

AMMS Development

At this writing, there are two emulators you can use for AMMS development—the Nokia JSR-234 Reference Implementation and Nokia Prototype SDK 4.0 ( Both device emulators simulate the AMMS on Series 60 mobile phones. The device name is "Prototype_4_0_S60 _MIDP_Emulator," and it includes the "" library file that is needed to compile AMMS applications.

The emulators implement AMMS 1.0 and support FM only. Its frequency range spans from 87.5 KHz to 108.0 KHz, adequately covering the European region. (One thing to note during development and testing is that the emulator does not save station presets.)

There are four audio files used to emulate radio stations. The Nokia emulators play these radio tracks in a continuous loop as long as the mobile phone radio is on and tuned in. These audio files are located in "\devices\Prototype_4_0_S60_MIDP_Emulator\tuner" for the Nokia Prototype SDK and "\jsr234-ri_10b\ri\tuner" for the Nokia JSR-234 Reference Implementation.

To use a custom radio station, an existing radio station must be replaced. To do this, create the custom radio station's audio file using one of the filenames in Table 1. Then copy the file to the respective emulator's tuner directory. Table 2 lists the recommended audio format to use for simulating radio stations.

Mode RDS Frequency Radio Station Audio File
FM Yes 91.1 MHz C-ROCK rock.wav
FM Yes 91.9 MHz Tennessee FM country.wav
FM Yes 94.0 MHz Tennessee FM country.wav
FM No 100.0 MHz noise.wav
FM No 104.6 MHz Easy Listening easylistening_and_ta.wav
FM Yes 87.9 MHz Tennessee FM country.wav

Table 1: Creating audio files for custom radio stations.

Audio Format PCM
Sample Rate 16 kHz
Audio Sample Size 16 bit
Channels 1 (Mono)

Table 2: Recommended audio format to use for simulating radio stations.

Related Reading

More Insights

Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.