O'Reilly logo

Professional Tizen Application Development by HoJun Jaygarl, Eunyoung Choi, YoonSoo Kim, Jon Lansdell, Cheng Luo, Kevin Bradwick

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6Multimedia

  • Discovering multimedia content
  • Accessing the device’s camera
  • HTML5 multimedia features

The wrox.com code downloads for this chapter are found at www.wrox.com/go/professionaltizen on the Download Code tab. The code is in the Chapter 6 download. After decompressing the downloaded Zip files, you will have two project folders containing the full code for the Content Manager and Camera applications.

In this chapter you will discover the multimedia capabilities available to you in the Tizen Web Runtime. You will first take a look at discovering content using the Tizen Content Manager API, then you will look at a simple three-page application that lists media directories, the contents of a selected directory, and then an overview and preview page for a single piece of content. This covers the majority of cases you are likely to encounter when developing your own applications.

From there you will take a look at using the HTML5 Media Capture API to control a device’s camera, including how to take a still image from a camera stream and save it to the file system. Along the way you’ll learn about the HTML5 audio and video elements and get to know the creative possibilities those APIs provide.

DISCOVERING MULTIMEDIA CONTENT

Retrieving information about media files from the device’s file system is achieved through using the ContentManager. In order to do this function, the application needs the correct ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required