Media - Recorder
Introduction
This sample shows how to use audio recording and playback of the media service.
Usage
-
Start the sample app, touch the Record button at the bottom of the home screen to start recording. During the recording, you can touch the Pause button in the lower right corner to pause the recording, and touch the Back button at the top or the red Stop button to stop recording and return to the home screen. The recorded audio file is displayed on the home screen.
-
Touch an audio file to play it. On the audio playback page, you can touch the corresponding button to pause or resume the playback.
-
Touch and hold an audio file, and then you can select multiple audio files. After selecting one of them, you can touch the corresponding button at the bottom to rename or delete it.
-
Swipe left on an audio file to display the Rename and Delete buttons. Touch the corresponding button to rename or delete the audio file.
Constraints
This sample can only be run on standard-system devices.