Home » Android » core » media

media

Android MediaPlayer Example

The Android multimedia framework includes support for playing variety of common media types, so that you can easily integrate audio, video and images into your applications using MediaPlayer APIs. Android MediaPlayer class can be used to control playback of audio/video files and streams. So, in this example, we will make a Media Player Activity that can play an mp3 audio ...

Read More »

Android VideoView Example

When we want to create an Android application that has an Android Activity inside of which we are planning to play a video file, we should consider in the first place Android VideoView class. The VideoView class manages and displays a video file for applications and can load images from various sources (such as resources or content providers), taking care ...

Read More »

Android Audio Capture Example

Android devices are equipped with hardware input devices such as microphone, camera etc, from which we can capture audio or video in our applications. The most common class that is used is MediaRecorder, which records audio and video. In this example, we are going to capture audio from the device’s microphone, store it to the device and then play it ...

Read More »

Android Audio Manager Example

Android system provides us control access to our ringer profile. We can include in our applications volume and ringer mode control by using AudioManager class. In this example, we will find out how to change the ringer mode (loud, vibrate, silent) and the ringer volume of the device via our application.           For this tutorial, we ...

Read More »