• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

urgent help

 
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Guys, I want to develop audio streaming application using J2ME. Application needs to play an audio file on the device. I have no idea how to achieve this. I asked question on audio streaming earlier in the forum but no replies. Can anyone adise which J2ME APIs to use and on which device i can test it? Is this supported on any Palm device?

Any prompt response will be much appreciated.

Thanks,
 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
J2ME is probably not a good choice for audio streaming. I suppose it's possible since MIDlets can be multithreaded and some devices have multimedia capabilities but this is still rare.

What device/carrier are you working with or can you pick one?

You certainly can't do this with a stock MIDP 1.0 device. There is no support for playing digitized audio.

Some MIDP 2.0 devices could play audio files and some 1.0 devices have carrier specific API extensions to allow audio playback, but I still don't think any of them could stream audio playback. I honestly don't know. Spend some time reviewing the 2.0 specs.

If you can use a Palm device then I'd write a native Palm application rather than a MIDlet. In fact, I believe the Treo 650 comes with RealPlayer that will stream audio playback right out of the box. Certainly PocketPC devices with Windows Media Player can do it.

William Frantz
http://sprintdevelopers.com
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic