Ian,
The reason Corona currently only supports the 3GP audio format is because that is what Google recommended in their documentation back in the Android 2.3 days. If you see their documentation via the link below, note that Android only supported 3GP, RAW, and MPEG4 before API Level 10 (which is Android 3.0).
http://developer.android.com/reference/android/media/MediaRecorder.OutputFormat.html
http://developer.android.com/reference/android/media/MediaRecorder.html#setOutputFormat(int)
Based on our past testing, recording to MPEG4 and RAW was not supported by all Android devices. 3GP was the only reliable recording format that worked on all devices we’ve tested with… up until this Nabi 2 device (if in fact that is the actual issue). So, bottom line, just because Google provides an Android API for that audio recording format doesn’t mean the device will support it. Case in point, the Nabi 2. That’s the biggest problem with Android. Getting all of its APIs to work reliably/consistently between all of the different Android devices and OS versions. Particularly forked OS versions which don’t quite follow Google’s documentation. This is also why Google Play offers you the option to not support particular Android devices.
Also note that based on the above links, AAC is only supported by API Level 16 (Android 4.1). This audio format is not available on Android 4.0 and older devices. Even then, there is the possibility that even an Android 4.1 device might not support it either.
We’ve put some thought into this before, and we’re thinking that the only reliable solution is to override Android’s audio recording class and add the ability to record to an uncompressed WAV file. That may be the only reliable way to handle audio recording across all Android devices and OS versions.
That said, your only option at the moment is to exclude support for the Nabi 2. At least until we can find a solution to this problem.
[import]uid: 32256 topic_id: 35481 reply_id: 142660[/import]