Java and Mobile Media API

Embed Size (px)

Citation preview

  • 8/8/2019 Java and Mobile Media API

    1/18

    BySANDESH KUMAR

  • 8/8/2019 Java and Mobile Media API

    2/18

    ` MMAPI is the optional API that developersuse to embed advanced multimediacapabilities in any Java-enabled device.

    ` MMAPI allows you to create applicationsfor Java-enabled devices that candiscover and use the multimediacapabilities of the device that they arerunning on.

  • 8/8/2019 Java and Mobile Media API

    3/18

    ` To encourage device manufactures to usethis API in their Java-enabled devices,MMAPI was designed specifically to be

    protocol and format agnostic.` Different device manufactures implement this API in their own way so that their devices cansupport.

    ` T his characteristic makes MMAPI a high-level interface and allows it to be compatiblewith any Java configuration .

  • 8/8/2019 Java and Mobile Media API

    4/18

    ` MMAPI may mandate some control over the functionality of that format to createcontrol uniformity across different devices.

    ` MMAPI was designed for Java-enabledmobile devices, but the design isintentionally general enough that anyJava-enabled device can benefit from it.

  • 8/8/2019 Java and Mobile Media API

    5/18

    ` Rules for the API designers

    1. Low footprint API: Because the main target of

    this API is Java-enabled mobile phones , whichare severely constrained for available memory,the API must be able to support media playbackin the available memory.

    2. 4.Support for device capabilities discovery: alldevices can be queried to discover their capabilities

  • 8/8/2019 Java and Mobile Media API

    6/18

    3 .Ability to support multiple media types: Bydefining 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 themultimedia capabilities of their devices.

    4.Support for basic controls: Although the

    previous requirement states that MMAPI isprotocol and format agnostic, some support for basic controls is guaranteed to be present.

  • 8/8/2019 Java and Mobile Media API

    7/18

    5 .Support for basic audio and tonegeneration: API mandates support for audio playback but doesnt restrict it to anyparticular format or protocol, in keepingwith the ability to support multiple mediatypes requirement. Device manufacturers

    are free to choose which format or playback they will support.

  • 8/8/2019 Java and Mobile Media API

    8/18

    ` MMAPI is not the only optional package availablefor developing.

    ` applications for the Java ME platform , Other

    prominent optional packages included.` the Web Services API (JSR 172), the Mobile 3D

    Graphics API (JSR 184), and the Location API(JSR 179).

    ` All of these optional packages, like the MMAPIpackage, are applicable to all availableconfigurations.

  • 8/8/2019 Java and Mobile Media API

    9/18

  • 8/8/2019 Java and Mobile Media API

    10/18

  • 8/8/2019 Java and Mobile Media API

    11/18

    ` MMAPI defines Control objects that provide fine-grained control over the functionality of a Player.

    ` MMAPI defines some standard controls in the

    javax.microedition.media.control package,but youare free to create your own controls byimplementing the Control interface.

  • 8/8/2019 Java and Mobile Media API

    12/18

    ` T he Control interface in javax.microedition.mediapackage is used to abstract this concept.

    ` T he controls in the

    javax.microedition.media.control package are alldefined as interfaces, and it is left for actualMMAPI implementations to provide concreteclasses for them.

  • 8/8/2019 Java and Mobile Media API

    13/18

    C ontrolInterface

    Description

    F ramePositioningControl

    A control for video data that allows access to individualframes.

    GUIControl A control for data that requires a display, such as video.

    MetaDataContr ol

    Used to determine the metadata information stored withinamediastream, such as title, copyright, author, and so on.

    MIDIC ontrol A fully functional control that enables access to a devicesMIDI player.

  • 8/8/2019 Java and Mobile Media API

    14/18

    Pitch C ontrol Used to control the pitch (frequency) of audio data.

    Rate C ontrol Used to control the playback rate of a Player

    Record C ontrol Allows you to control the recording of data from acapture device,such as video from a camera or audiofrom a sound recorder.

    Stop T imeControl A control that allows you to set a preset time when youwant the Player to stop playing.

    TempoControl Similar to RateControl, this control allows you to changethe tempo (speed) of playback for an audio Player,typically, a MIDI Player.

    ToneControl A fully functional control that allows you to play monotonictone sequences

    VideoControl Extends GUIControl and controls the display of video.

  • 8/8/2019 Java and Mobile Media API

    15/18

    ` All devices that support MIDP 2.0 automaticallysupport the scaled-down version of MMAPI.

    ` T he specification for MMAPI was developed using the

    Java Community Process (JCP).` Sun released a reference implementation of this API

    and a technology compatibility kit ( T CK) that can beused to certify that an implementation of this API iscompatible with the specification.

    ` Java ME Wireless Toolkit supplied by Sun.` Different device manufacturers supply their own

    implementations compatible with the T CK.

  • 8/8/2019 Java and Mobile Media API

    16/18

    DeviceManufacturer

    Supported Devices Wireless Toolkit

    Alcatel One Touch 756 http://www.my-onetouch.com

    BenQ AX75 (MIDP 1.0), C70, C75, C F 75/76,CL75, CX70/EMO TY ,CX75, M75, S75,SL75, SXG75

    http://www.benq.com/devel oper

    Motorola C975, E1000, A1000, A630, A780,A845, C380, C650,E398, E680,SLVR, T 725, V180, V220, V3,V300,V303,V360,V400,V500,V525,V550,V551,V600,V620,V635, V8,V80,V980, i730

    http://www.motocoder.com

    Nokia All Series 40, Series 60, and Series 80based devices

    http://forum.nokia.com/mai n.html

    Samsung E310, E380, E710, D400, P705, D410,176X192 Series, E810, E310

    http://uk.samsungmobile.com/club/

    Sony-Ericsson W900,Z600, T 610, T 616, T 618, V600,W800, K608,W550, W600,z520,D750,Z800,K600, K750, K300,

    K500, K700,J300, V800, Z500, S700,Z1010

    http://developer.sonyericsson.com

  • 8/8/2019 Java and Mobile Media API

    17/18

    ` You can play different formats of audio and videofiles from the network, a record store, or a Java

    Archive (JAR) file.

    ` Advanced control over the playback of these filescapture audio and video and take snapshots.` MIDI files generate play back tones stream radio

    over the network.

  • 8/8/2019 Java and Mobile Media API

    18/18

    Thank You !!!