移动媒体API外文翻译
《移动媒体API外文翻译》由会员分享,可在线阅读,更多相关《移动媒体API外文翻译(11页珍藏版)》请在毕设资料网上搜索。
1、 外文: Embedding multimedia capabilities in aMIDlet 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
2、 of the MMAPI specification was to ensure compatibility with small footprint devices while creating a specification that would be scalable for future possiblymore capable devices. To this end, MMAPI has succeeded tremendously.This chapter introduces you to MMAPI and explains several factors that mak
3、e it a successful specification. You ll learn how this API fits in the overall scheme for MIDlet creation with theMobile Information Device Profile (MIDP) 2.0. The chapter concludes with information on the current list of devices that support this API. What Is Mobile Media API (MMAPI)? MMAPI is the
4、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. MM
5、API allows you to create applications for Java-enabled devices that can discover and use the multimedia capabilities of the device that they are running on. You can play different formats of audio and video files from the network, a record store, or a Java Archive (JAR) file; have advanced control o
6、ver the playback of these files; capture audio and video and take snapshots; play MIDI files; generate and play back tones; stream radio over the network; and do a whole lot more. To encourage device manufactures to use this API in their Java-enabled devices, MMAPI was designed specifically to be pr
7、otocol and format agnostic. In other words, this API does not come with assumptions about the supported protocol for accessing multimedia content, nor does it makes assumptions about the formats that it would be able to play. Thus, different device manufactures implement this API in their own way an
8、d make it available with 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. Most devices, however, support some basic protocols and formats; for example, most allow you to access
9、 media over HTTP and play the WAV file format for audio and MP3 for video. If a device supports a particular media format, MMAPI may mandate some control over the functionality of that format to create control uniformity across different devices. Other formats may require entirely different controls
10、 that may or may not be mandatory. Chapter 2 provides more information about mandatory controls for different formats in the “ Feature Sets Implementations” section. MMAPI Features and Requirements MMAPI was designed for Java-enabled mobile devices, but the design is intentionally general enough tha
11、t 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, the API must be able to support media
12、playback in the available memory. Typically, because the Java-enabled mobile phones run on the Connected Limited Device Configuration (CLDC), the memory available ranges between 128KB and 512KB. This is the memory available for the virtual machine, the core libraries, your MIDlets, and MMAPI. MMAPI
13、s place with MIDP is covered in the “ How Does MMAPI Fit with MIDP 2.0?” section later in this chapter. Ability to support 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 im
14、plement 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 itself. This makes MMAPI immensely scalable as new formats are discov
15、ered 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
16、 may take. For example, all media can be played, started, or stopped. Support for device capabilities discovery: Similar to the previous requirement, all devices can be queried to discover their capabilities. This allows you to find out which protocols or formats the device supports. Support for bas
17、ic audio and tone generation: Because MMAPI uses CLDC as the base minimum supported configuration, it requires some support for audio playback and tone generation. Note that the API mandates support for audio playback but doesn t restrict it to any particular format or protocol, in keeping with the
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中设计图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 移动 挪动 媒体 api 外文 翻译
