pro java me mmapi mobile media api for java micro edition

286 410 0
pro java me mmapi mobile media api for java micro edition

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... MMAPI Personal Basis Profile OPTIONAL PACKAGES Wireless Messaging API Mobile 3D Graphics API Personal Profile 4 3/24/06 Foundation Profile 6390ch01.qxd MIDP CLDC Figure 1-1 Java ME development environment showing MMAPI as an optional package 6390ch01.qxd 3/24/06 12:21 PM Page 5 CHAPTER 1 ■ INTRODUCING MOBILE MEDIA API (MMAPI) Who Supports MMAPI? The specification for MMAPI was developed using the Java. .. emulator before testing them on the BenQ M75 device How Does MMAPI Fit with MIDP 2.0? MMAPI is an optional package for the Java Micro Edition (ME) platform MIDP 2.0 is a profile for the development of MIDlets, or applications for Java- enabled mobile devices, such as mobile phones and PDAs MMAPI can be used with not just MIDP 2.0, but with any Java ME profile and configuration, provided an implementation... this API What Is Mobile Media API (MMAPI) ? MMAPI is the optional API that developers use to embed advanced multimedia capabilities in any Java- enabled device If you’ve been using the audio capabilities in MIDP 2.0, you’ve already been using a subset of MMAPI This subset is a forward compatible version of MMAPI created for limited-capability devices MMAPI allows you to create applications for Java- enabled... itself This makes MMAPI immensely scalable as new formats are discovered and supported by device manufacturers • Support for basic controls: Although the previous requirement states that MMAPI is protocol and format agnostic, some support for basic controls is guaranteed to be present This creates uniform procedures for managing media, whatever format or protocol it may take For example, all media can be... of multimedia formats and protocols on an array of devices 6390ch01.qxd 3/24/06 12:21 PM Page 3 CHAPTER 1 ■ INTRODUCING MOBILE MEDIA API (MMAPI) How Do I Get MMAPI? If you have used the Java Wireless Toolkit (http:/ /java. sun.com/products/sjwtoolkit/ download-2_3.html ) to develop your MIDlets, you already have MMAPI installed The Toolkit comes with a reference implementation (RI) of this API installed... javax.microedition .media and javax.microedition .media. control packages No other optional package makes an appearance in MIDP 2.0 So if you are developing applications that only require basic audio control, you don’t need the full MMAPI installed or available You would still be using MMAPI, just not the optional and bigger part of it Your 3 12:21 PM Page 4 CHAPTER 1 ■ INTRODUCING MOBILE MEDIA API (MMAPI) ... multiple media types: By defining the core API as a set of interfaces, MMAPI is protocol and format agnostic Device manufactures supply their own implementation of MMAPI and implement interfaces that support the multimedia capabilities of their devices This allows a wide range of protocols and formats to be supported based on the device, without any hard wiring of protocols and formats built-in the API. .. CHAPTER Page 1 1 ■■■ Introducing Mobile Media API (MMAPI) E mbedding multimedia capabilities in a MIDlet is the next step in the evolution of MIDlets Sun recognized early that audio and video are the future and introduced the Mobile Media API (MMAPI) via Java Specification Requests (JSR) 135 (http://www.jcp.org/en/jsr/detail?id=135) The biggest requirement of the MMAPI specification was to ensure compatibility... the protocols and formats that their devices can support This characteristic makes MMAPI a high-level interface and allows it to be compatible with any Java configuration 1 6390ch01.qxd 2 3/24/06 12:21 PM Page 2 CHAPTER 1 ■ INTRODUCING MOBILE MEDIA API (MMAPI) Most devices, however, support some basic protocols and formats; for example, most allow you to access media over HTTP and play the WAV file format... section MMAPI Features and Requirements MMAPI was designed for Java- enabled mobile devices, but the design is intentionally general enough that any Java- enabled device can benefit from it This forced a set of rules on the API designers that they had to adhere to: • Low footprint API: Because the main target of this API is Java- enabled mobile phones, which are severely constrained for available memory, . w0 h0" alt="" Pro Java ME MMAPI Mobile Media API for Java Micro Edition Vikram Goyal 6390ch00FM.qxd 3/24/06 4:13 PM Page i Pro Java ME MMAPI: Mobile Media API for Java Micro Edition Copyright. of devices that support this API. What Is Mobile Media API (MMAPI) ? MMAPI is the optional API that developers use to embed advanced multimedia capabilities in any Java- enabled device. If you’ve. . . . . . . . . . . . . . . 237 ■APPENDIX A Mobile Media API (MMAPI) Reference. . . . . . . . . . . . . . . . . . . . 239 Package javax.microedition .media. . . . . . . . . . . . . . . . . . .

Ngày đăng: 03/06/2014, 01:37

Mục lục

  • Pro Java ME MMAPI: Mobile Media API for Java Micro Edition

    • Contents

    • CHAPTER 1 Introducing Mobile Media API (MMAPI)

    • CHAPTER 2 MMAPI Architecture.

    • CHAPTER 3 Getting Started with MMAPI.

    • CHAPTER 4 Media Player Lifecycle and Events

    • CHAPTER 5 Accessing Media Over the Network

    • CHAPTER 6 Creating and Playing Tones Using ToneControl

    • CHAPTER 7 Managing MIDI Using MIDIControl, TempoControl, and PitchControl

    • CHAPTER 8 Working with Audio and Video.

    • CHAPTER 9 Case Study: Device Blogging

    • APPENDIX A Mobile Media API (MMAPI) Reference

    • APPENDIX B URI Syntax for Media Locators

    • APPENDIX C Advanced Multimedia Supplements—JSR 234

    • INDEX

Tài liệu cùng người dùng

Tài liệu liên quan