Tag Archives: setAudioEncoder

Using Different Media Libraries in Android

By | February 5, 2017

Android provides two main API’s for playing sounds. SoundPool MediaPlayer SoundPool SoundPool can be used for small audio clips. It can repeat sounds and play several sounds simultaneously. The sound files played with SoundPool should not exceed 1 MB. SoundPool does load the file asynchronously. As of Android API8 it is possible to check if the loading is… Read More »

How to record an audio in android and email it as attachment?

By | August 4, 2011

This example shows how to record an audio in android and save it in your path and send it as an email attachment. This example is taken from the developers website. Note : You should run this on the device otherwise it will not work. This example will open up an email client after recording and attach it… Read More »