• 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

Hi Jonathan,

 
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jonathan,
I was wondering if I could use J2ME technology with the video phones. I have just started playing around with MIDlets but haven't gone too far.
Thanks,
 
Author
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You probably want to check out the Mobile Media API, http://java.sun.com/products/mmapi/. Depending on the implementation, it allows for audio and video playback and capture. Some articles:
http://wireless.java.sun.com/apis/articles/mmapi_overview/
http://wireless.java.sun.com/midp/articles/mmapioverview/
 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did your book covered this topic? These two link are not enough for me to develop MIDP to play video. Can you suggest more link or book?
Thanks.
steffy
 
Jonathan Knudsen
Author
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, the book doesn't cover MMAPI, although it does cover the audio-only MMAPI subset that's included in MIDP 2.0.
Some starting points:
http://java.sun.com/products/mmapi/
http://wireless.java.sun.com/apis/articles/mmapi_overview/
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jonathan, can the MMAPI subset of MIDP 2.0 be used to synchronize a playback audio track with custom animated canvas? E.g. can I set rendezvous points where the graphics and the MP3 track I'm streaming from a centralized server meet before continuing processing/playing?
 
La Vish
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks,Jonathan.The links have given me enough to start on.
 
Jonathan Knudsen
Author
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Lasse,
Wow, that's a good question. I'd say your chances of synchronizing streaming audio to Canvas drawing are slim, but I'm not really a multimedia expert, so there may be something I'm missing.
The audio APIs in MIDP 2.0 aren't very fine-grained. You can start something playing, and you can find out when it stops, but there's not a whole lot in between.
Furthermore, you'd have to be confident that your device supported MP3 data with some kind of streaming protocol. It will be interesting to see what kinds of protocols and content types are supported by MIDP 2.0 phones, but for now there's no de facto standard.
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's just what I figured. I'm not really into streaming/audio/video/animations myself, even though I have made a near-suicide a couple of times by deciding to try something 3D... Not for people with lesser math skills like me.
I guess I put too much on the table here. First of all, the synch-stuff would probably require the media file to contain some (meta)data about where to synchronize. In other words, it would probably require a custom media format or adding an accompanying synch metadata file on a web server next to the media file. Even then the application would need to either get events (and be able to send events) for the synch points (or trust that the audio playback will be real-time and bet it all on "at-this-stage-this-code-should-have-spent-exactly-24-seconds-or-wait-until-it-has" type of gambling).
 
Water! People swim in water! Even tiny ads swim in water:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic