Multimedia Network Communications Subject:T0934 / Multimedia Programming Foundation Session:13...

Preview:

Citation preview

Multimedia Network Communications

Subject : T0934 / Multimedia Programming FoundationSession : 13Tahun : 2009Versi : 1/0

Bina Nusantara

Learning Outcomes

In the end of this session, students must be able to: – Understand the overview of

multimedia network communication and mobile multimedia

– Understand the basic principal of Java 2 Micro Edition

Outline

• Multimedia Network Communication• Mobile Multimedia• Java 2 Micro Edition (J2ME)

Bina Nusantara

Multimedia Network Communication

• Similar to computer network communication where both deal with data communication

• The different is multimedia data is known as continuous media, which is :– Voluminous– Real-Time and interactive– Sometimes bursty

Bina Nusantara

Quality of Service (QoS)

a collective effect of service performances that determined the degree of satisfaction of that service’s user

• QoS for multimedia data transmission depends on many parameters such as :– Data Rate– Latency (maximum frame/packet delay)– Packet loss or error– Jitter (delay jitter)– Sync Skew

Bina Nusantara

Mobile Multimedia

multimedia information exchange over wireless networks or wireless Internet.

• Increase in usage and development because :– popularity and evolution of mobile computing devices – fast, affordable mobile network

• Common programming language for mobile multimedia application Java 2 Micro Edition (J2ME)

Bina Nusantara

Java 2 Micro Edition (J2ME)

• originally created in order to deal with the constraints associated with building applications for small devices

• a collection of technologies and specifications that can be combined to construct a complete Java runtime environment specifically to fit the requirements of a particular device or market

Bina Nusantara

J2ME elements

Bina Nusantara

provides the most basic set of libraries and virtual machine capabilities for a broad range of devices

a set of APIs that support a narrower range of devices

a set of technology-specific APIs

J2ME Configurations

• Divided into two base configurations :– Connected Limited Device Configuration

(CLDC) , for small mobile devices – Connected Device Profile (CDC) for more

capable mobile devices like smart-phones and set top boxes.

Bina Nusantara

J2ME Profiles

• Personal Profile– suitable for products that require full AWT compatibility

and applet support (high end PDAS and embedded web browsers)

• Foundation Profile – support resource-constrained devices without a

standards-based GUI system (network printers, routers, residential gateways, enterprise-class server applications)

• Mobile Information Device Profile (MIDP)– A profile, when combined with CLDC, provides a standard

Java runtime environment for today's most popular mobile information device for mobile information devices (cellular phones and two-way pagers, and PDAs)Bina Nusantara

Java Platform

Bina Nusantara

Sample Code

Bina Nusantara

Show Picture

Result

Sample Code

Bina Nusantara

Play Sound In J2ME

Sample Code

Bina Nusantara

Play Video In J2ME

Sample Code

Bina Nusantara

Result

References

• What's J2ME?. 2009. http://onjava.com/pub/a/onjava/2001/03/08/J2ME.html

• Java ME Technology. 2009. http://java.sun.com/javame/technology/index.jsp

• A Brief Look at Java 2 Micro Edition. 2009. http://www.wirelessdevnet.com/channels/java/features/j2me.html

• Using Mobile Media API (MMAPI). 2008. http://today.java.net/pub/a/today/2005/09/27/j2me4.html?page=2

Bina Nusantara