Skip to content
MP3 recording support in Codename One simulator
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
native/javase
nbproject
src/com/codename1/media
.gitignore
README.adoc
build.xml
codenameone_library_appended.properties
codenameone_library_required.properties
manifest.mf
manifest.properties

README.adoc

Codename One MP3 Encoder

This library adds support for MP3 audio recording in the simulator. This only affects the simulator/JavaSE port of Codename One.

Installation

Install the "CN1MP3Encoder" cn1lib via Codename One settings.

Usage

The presence of this library affect the following two APIs in com.codename1.media.MediaManager:

  1. getAvailableRecordingMimeTypes() - This should now include "audio/mp3" as one of the supported recording mimetypes.

  2. createMediaRecorder() - This will now accept "audio/mp3" as the mimetype, and will encode the audio in MP3 format.

Credits

You can’t perform that action at this time.