• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

playing audio file on Palm

 
Vicky Pandya
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am relatively new to J2ME world. Did develop a small application for Blackberry in the past but right now i have got a very abstract requirement from one of the clients, who wants to run audio files on the handheld device. He hasn't mentioned anything about what device he will be using. Can i assume its palm? Can anyone give me idea of how to develop this prototype on what device? where to start and how to start? i have no idea how to approach this.

Any help will be much appreciated.

Thanks,
 
William Frantz
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first thing you need to find out is what device and carrier your client is using. That will dictate the developement environment you need and if it's even possible.

MIDP 1.0 has very rudimentary media capabilities. You won't be able to play digitized audio (like MP3s) on a plain MIDP 1.0 device.

Some carriers/OEMs extended MIDP to provide better media support. For example, Sprint PCS MIDP 1.0 devices can play MIDI files and QCELP audio.

MIDP 2.0 added the Media API. This new API provides classes that implement a hardware- and data format-independent mechanism for audio playback. Methods in these classes support fine-grained control of the media playback. The implementation supports a variety of audio formats, such as tone sequences, MIDI, and sampled audio data.

If the client asked for a J2ME application, I wouldn't assume they are using a Palm device. In fact, if they are using Palm OS then you should write a native Palm app rather than bothering with J2ME at all.

William Frantz
http://sprintdevelopers.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic