Header Sep

Java Tips, Tricks & Code

Score
Login to rate page

February 2007

FM radio player using JSR 135 on UIQ 3-based phones

FM radio playback is supported from Java ME on Sony Ericsson's UIQ 3-based phones, the P990, M600 and W950, and radio playback is managed by the Mobile Media API (JSR 135). 

Download example application and source code here>>

The radio information is commonly stored in a .rad file which can be loaded from a server, the local file system using the File Connection API (JSR 75) or from a resource.

Here is the content of the file Station.rad used in this example.

RadioPreset
# Radio 1 preset
Name SRP3
Frequency 103300000

Note: the file should be saved in Unicode format. This can be done using the Notepad and in the "Save As" menu, the encoding can be set to Unicode.

 

 

 

Score
Login to rate page