© 2009 Research In Motion Limited Advanced Java Application Development for the BlackBerry Smartphone Trainer name Date.

Slides:



Advertisements
Similar presentations
BrightAuthor v3.7 software and BrightSign XD v4.7 firmware
Advertisements

Using Audacity Audacity is a free, easy-to- use audio editor and recorder for a variety of operating systems.
Chapter 11 Media and Interactivity Basics Key Concepts
4.2 Multimedia Elements Audio 1. Learning Outcomes: At the end of the lesson, students should be: a) describe the purpose of using audio in multimedia.
Lesson 01: The Digital Experience  Transition from traditional devices to multipurpose digital devices. Wired phones move to cell phones and now smart.
It provides a framework for embedded multimedia facilities in java enabled mobile devices.
Digital Living Network Alliance: Building out the Digital Network Bob Taylor Member, DLNA Board of Directors March 2006.
4.01 How Web Pages Work.
© 2014 Microsoft Corporation. All rights reserved.
© 2008 Verizon. All Rights Reserved. PTEXXXXX XX/08 GLOBAL CAPABILITY. PERSONAL ACCOUNTABILITY. Customized Net Conference New Features in Microsoft Office.
Sounds, Images & Other Objects Website Production.
V0.1 Inclusive and Accessible Application Design June 21, 2012.
Introduction to push technology © 2009 Research In Motion Limited.
UNDERSTANDING JAVA APIS FOR MOBILE DEVICES v0.01.
© 2009 Research In Motion Limited Advanced Java Application Development for the BlackBerry Smartphone Trainer name Date.
V0.01 © 2009 Research In Motion Limited Introduction to Java Application Development for the BlackBerry Smartphone Trainer name Date.
© 2009 Research In Motion Limited Methods of application development for mobile devices.
© 2009 Research In Motion Limited BlackBerry themes and animated graphics.
Internet video sub-titling cases Henning Schulzrinne
V0.01 © 2009 Research In Motion Limited Introduction to Java Application Development for the BlackBerry Smartphone Trainer name Date.
V0.01 © 2009 Research In Motion Limited Introduction to Java Application Development for the BlackBerry Smartphone Trainer name Date.
V0.01 © 2009 Research In Motion Limited Introduction to Java Application Development for the BlackBerry Smartphone Trainer name Date.
V0.01 © 2009 Research In Motion Limited Understanding Java APIs for Mobile Devices Trainer name Date.
Cosc 4730 Phone Programming in Java An Introduction.
V1.00 © 2009 Research In Motion Limited Introduction to Mobile Device Web Development Trainer name Date.
V0.01 © 2009 Research In Motion Limited Push technology for Java applications Trainer name Date.
Internet Basics 1 Internet Basic includes two lessons:  Lesson 1: The Internet  Lesson 2: The World Wide Web.
Touchdevelop api api: home script your digital media Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.
Windows Media DRM Device Ecosystem For Windows Vista Milan Gada – Program Manager Kevin Lau – Program Manager Windows Media (Content Access Technologies)
AUDIO 101 with Adrian What is an audio file format? An audio file format is a file format for storing digital audio data on a computer system. Universal.
Skill Area 212 Introduction to Multimedia Internet and MultiMedia for SC 2.
PicturesMusicVideos Recorded TV Extenders for Media Center Windows Home Server Xbox 360 DLNA Media Servers, Renderers, and Controllers.
V0.1 BlackBerry HTML5/WebWorks Applications for the BlackBerry ® PlayBook™ Tablet BlackBerry Academic Program Module 1 - Overview.
1 CMSCD1011 Introduction to Computer Audio Lecture 10: Streaming audio for Internet transmission Dr David England School of Computing and Mathematical.
CHAPTER 18 INTEGRATING AUDIO AND VIDEO. LEARNING OBJECTIVES How the HTML 5 and tag pair can be used to include a video file within a webpage How video.
CHAPTER 2 Communications, Networks, the Internet, and the World Wide Web.
INF Web Design Using Multimedia on the Web Sound - Part 2.
Sem 1 v2 Chapter 14: Layer 6 - The Presentation layer.
Discovering Computers 2010 Chapter 2 The Internet and World Wide Web.
© 2009 Research In Motion Limited Advanced Java Application Development for the BlackBerry Smartphone Trainer name Date.
Institute of Technology Sligo - Dept of Computing Sem 1 Chapter 14: Layer 6 - The Presentation layer.
CIS 102Introduction to Hardware and Software Chapter 2 Input and Output part 3 output devices.
Computing in the Modern World BCS-CMW-7: Data Representation Wayne Summers Marion County October 25, 2011.
1 Lecture 12: Multimedia Not in Web 101 Text  Important Multimedia Issues  Audio  Movies and Video  Multimedia and HTML Documents.
Input Devices.  Identify audio and video input devices  List the function of the respective devices.
An Overview of MPEG-21 Cory McKay. Introduction Built on top of MPEG-4 and MPEG-7 standards Much more than just an audiovisual standard Meant to be a.
The Internet and World Wide Web By: Shilpa Phanse 10/8/2008.
V0.1 BlackBerry HTML5/WebWorks Applications for the BlackBerry ® PlayBook™ Tablet BlackBerry Academic Program Module 5 - Writing HTML5/WebWorks API Extensions.
ScreenPlay Director Training By Erik Collett
© 2009 Research In Motion Limited Advanced Java Application Development for the BlackBerry Smartphone Trainer name Date.
© 2009 Research In Motion Limited Advanced Java Application Development for the BlackBerry Smartphone Trainer name Date.
Outline Overview Video Format Conversion Connection with An authentication Streaming media Transferring media.
Discovering Computers Fundamentals, Third Edition CGS 1000 Introduction to Computers and Technology Spring 2007.
Patricia Cooper EDT 660 National University. .AVI.
Storage Device Design Pattern JEFF MEISSNER; KEN HARDY Windows Program Management.
© 2011 The McGraw-Hill Companies, Inc. All rights reserved Chapter 4: Sound.
© 2009 Research In Motion Limited Advanced Java Application Development for the BlackBerry Smartphone Trainer name Date.
Lesson 2: The World Wide Web Objectives After completing this lesson, you will be able to:  Define WWW and its relation to the Internet.  Explain how.
Layer 6 Presentation Layer. Overview Now that you have learned about Layer 5 of the OSI model, it is time to look at Layer 6, the presentation layer.
© 2008 Verizon. All Rights Reserved. PTEXXXXX XX/08 GLOBAL CAPABILITY. PERSONAL ACCOUNTABILITY. Reserved Net Conference New Features in Microsoft Office.
© 2011 The McGraw-Hill Companies, Inc. All rights reserved Chapter 4: Sound.
From Source Code to Packages and even whole distributions By Cool Person From openSUSE.
Section 9.1 Section 9.2 YOU WILL LEARN TO…
2N IP Intercoms Advanced Settings 2017.
Reserved Net Conference
Parallelspace PowerPoint Template for ArchiMate® 2.1 version 1.1
Parallelspace PowerPoint Template for ArchiMate® 2.1 version 2.0
Introduction to mobile app development Module 2 – Getting started with apps and App Studio Lance McCarthy.
An Overview of MPEG-21 Cory McKay.
Presentation transcript:

© 2009 Research In Motion Limited Advanced Java Application Development for the BlackBerry Smartphone Trainer name Date

© 2009 Research In Motion Limited Agenda In this course, you will cover the following topics: –Introduction to advanced mobile application development for the BlackBerry ® smartphone –Application control for mobile devices –Optimization for mobile application development –Advanced BlackBerry user interface –Introduction to multimedia application development for the BlackBerry smartphone –Understanding push technology

© 2009 Research In Motion Limited Agenda In this course, you will cover the following topics: –Understanding client/server push –Introduction to developing Bluetooth ® applications for mobile devices –Developing secure applications

Advanced Java Application Development for the BlackBerry Smartphone Objectives: –Explain the importance of playing media within a media application –Create a media application –Play media in a BlackBerry smartphone application –Discuss the use of media events –Send and receive media events –Discuss audio routing © 2009 Research In Motion Limited

Advanced Java Application Development for the BlackBerry Smartphone Objectives: –Create an application that records audio –Identify supported audio and video formats –Identify optimal settings for audio and video on BlackBerry smartphones © 2009 Research In Motion Limited

Introduction to multimedia application development for the BlackBerry smartphone

Playing media You can choose to play media in your BlackBerry smartphone applications in several ways: –Create a media application that can play a variety of media types and formats –Play media using the BlackBerry Browser –Play media using the BlackBerry smartphone media application © 2009 Research In Motion Limited

Playing media –You can create a media application by using the API items in the javax.microedition.media (JSR 135) package that : –plays a sequence of tones –plays media from a web address –plays media from an input stream –plays streaming media –displays a video in a field –displays an image from the camera viewFinder © 2009 Research In Motion Limited

Playing media using the BlackBerry Browser –Your BlackBerry application can play media in the BlackBerry Browser by using the methods of the Browser class and BrowserSession class © 2009 Research In Motion Limited

Playing media within a media application –Use the media application to play media that is: –stored on a local device –streamed from a remote device –both local and streamed media. © 2009 Research In Motion Limited

Playing media using the BlackBerry Browser © 2009 Research In Motion Limited

Playing media using the BlackBerry Browser –Use the methods of the Browser class and BrowserSession to play media: Playing audio Playing video © 2009 Research In Motion Limited

Playing media in the BlackBerry smartphone Media application © 2009 Research In Motion Limited

Playing media in the BlackBerry smartphone Media application –Start the Media application with or without content –Streaming data from a remote source to the Media application © 2009 Research In Motion Limited

Playing media within your Media application © 2009 Research In Motion Limited

Playing media within your Media application Accessing stored media –Accessing media on a BlackBerry smartphone –Accessing media on a microSD card © 2009 Research In Motion Limited

Playing media within your Media application Streaming media in a BlackBerry device application –Buffer and play streamed media create a custom class that extends javax.microedition.media.protocol.DataSource to customize how data is read DataSource provides a SourceStream implementation © 2009 Research In Motion Limited

Creating a media player © 2009 Research In Motion Limited

Creating a media player –Use javax.microedition.media (JSR 135) package to play audio –A media application must be created first and then have functionality added. © 2009 Research In Motion Limited

Playing media in a BlackBerry smartphone application © 2009 Research In Motion Limited

Playing media in a BlackBerry smartphone application –Use javax.microedition.media (JSR 135) package to play audio –Provides methods to manage media application and control the playback © 2009 Research In Motion Limited

Playing media in a BlackBerry smartphone application –An object of a class that implements the Player interface can be in one of five states: UNREALIZED REALIZED PREFETCHED STARTED CLOSED © 2009 Research In Motion Limited

Playing media in a BlackBerry smartphone application –Changing the state of a Player –Playing media in a BlackBerry application © 2009 Research In Motion Limited

Receiving and sending media events © 2009 Research In Motion Limited

Receiving and sending media events –Use javax.microedition.media (JSR 135) package to listen for and send media application events: Listen for changes to the state of the media application Send the media application event to the registered PlayerListener © 2009 Research In Motion Limited

Routing audio © 2009 Research In Motion Limited

Routing audio –Use the AudioPathControl API to play back and record audio –Supported audio paths: Bluetooth--AUDIO_PATH_BLUETOOTH A2DP--AUDIO_PATH_BLUETOOTH_A2DP Handset--AUDIO_PATH_HANDSET © 2009 Research In Motion Limited

Routing audio –Supported audio paths: Handsfree--AUDIO_PATH_HANDSFREE Headset--AUDIO_PATH_HEADSET Headset Handsfree-- AUDIO_PATH_HEADSET_HANDSFREE © 2009 Research In Motion Limited

Recording audio © 2009 Research In Motion Limited

Recording audio –Two formats for recording audio: AMR (Default) 8 kHz mono-16-bit PCM © 2009 Research In Motion Limited AMR Adaptive Multi-Rate PCM pulse code modulation

Supported audio and video formats © 2009 Research In Motion Limited

Supported audio and video formats –The BlackBerry smartphone Media application can open the following types of media files: Videos Ring tones Pictures Music files © 2009 Research In Motion Limited

Supported audio and video formats BlackBerry Browser audio and video support Support for web feeds BlackBerry ® Device Software version 4.2 or later: –RSS 0.9, 1.0, and 2.0 –Atom ™ BlackBerry Device Software version or later: –RSS enclosures © 2009 Research In Motion Limited RSSreally simple syndication

Supported audio and video formats BlackBerry browser audio and video support Support for web feeds BlackBerry browser displays media file based on their type Steamed content is not stored © 2009 Research In Motion Limited

Supported audio and video formats BlackBerry browser audio and video support Support for media streaming BlackBerry Device Software supports a wide variety of formats, including the following (version 4.3 or later): –Video: WMV, h.263 –Audio: MIDI, MP3, MP4, WAV © 2009 Research In Motion Limited WMVWindows Media VideoMIDImusical instrument digital interface WAVWave

Supported audio and video formats BlackBerry browser audio and video support Support for media streaming Media streaming over HTTP or RTSP protocols Network gateway can limit streaming file size No file size limitations over Wi-Fi ® © 2009 Research In Motion Limited HTTPhypertext transfer protocol RTSPreal time streaming protocol

Supported audio and video formats BlackBerry smartphone audio and video support –There are specific codecs for audio and video for each BlackBerry smartphone type. –Some formats support RTSP –Streaming requires BlackBerry Device Software 4.3 or later © 2009 Research In Motion Limited

Summary © 2009 Research In Motion Limited

Summary –You can create an application that: Plays media in the BlackBerry Browser Plays media in the Media application –You can also create an application that: Can play audio, video, and binary SVG content Record audio and video Send audio to a Bluetooth enabled headset © 2009 Research In Motion Limited

Legal Disclaimer The following trademarks and/or registered trademarks of Research In Motion are referred to in this presentation: –BlackBerry® © 2009 Research In Motion Limited

Legal Disclaimer © 2009 Research In Motion Limited. All rights reserved. BlackBerry®, RIM®, Research In Motion®, SurePress™ SureType® and related trademarks, names and logos are the property of Research In Motion Limited and are registered and/or used in the U.S. and countries around the world. All other trademarks are the property of their respective owners. This documentation is provided "AS IS" and without condition, endorsement, guarantee, representation or warranty, or liability of any kind by Research In Motion Limited and its affiliated companies, all of which are expressly disclaimed to the maximum extent permitted by applicable law in your jurisdiction.

© 2009 Research In Motion Limited Revision history Document versionDateUpdated byDescription of revision