Audio & Voice recorder for android, which uses background / foreground service, that extends MediaBrowserService. Interaction between UI Activity and Service is performed using MediaSession, its callbacks, controllers, and other subsidiary classes. While in foreground, service shows notification with media buttons. Recording is performed using MediaRecorder, playback is performed using MediaPlayer. Recorded audio files are stored on SD card and listed in Activity to be accessible for playing and managment. App uses Visualizer class to receive WaveForm and Fft (Fast Fourier Transform) data during playback, writes it to XML and JSON files on device. From received data are decoded frequency, amplitude, magnitude and spectral density, and then displayed on the chart in one of several modes. To build real-time chart is used custom View element, which draws itself on the Canvas.
Main features are:
- foreground service
- audio recording
- saving audio to SD
- audio playback
- showing notification with media controls
- writing visualization data to XML and JSON
- displaying various charts in custom View element on Canvas
Screenshots