concept medium in category android

appears as: media, The media, media
Android in Action, Third Edition

This is an excerpt from Manning's book Android in Action, Third Edition.

As of Android 2.0, Google decided to phase out the OpenCORE system for Android’s multimedia needs and move to a new multimedia system called Stagefright. As of Android 2.3, Stagefright has subsumed OpenCORE and become its replacement. That being said, most of Android’s interaction with media is abstracted through the MediaPlayer API, hiding the specific implementation of Stagefright, versus OpenCORE in older versions of Android. What this means to you is that by considering which core media formats you wish to support and by carefully developing your application, it’s possible to create applications that will work on Android 2.3 and up as well as older versions of Android that use OpenCORE.

10.4. Capturing media

Using your cell phone to take pictures, record memos, film short videos, and so on, are features that are expected of any such device. In this section, we’ll look at how to capture media from the microphone and camera, and also how to write these files to the SD card.

Android in Practice

This is an excerpt from Manning's book Android in Practice.

Knowing what’s available, both in terms of standard and third-party libraries, will save you a lot of time when building Android applications. Beyond these basic Java libraries, Android also provides a rich set of APIs for accessing Android specific parts of the platform. This includes device hardware, media, graphics, location, local data, and more. We’ll learn more about these APIs when we focus on the SDK in section 1.6. Another key aspect of Android Java is understanding the virtual machine it provides, Dalvik.

You need to find and load media for your application. The media may be part of your application, or it might be external to it on the SD card. Either way, you need to find a handle to it and use it in combination with Android’s media playback APIs to present the media to the user.