Hi everyone,
I have had a customer contact me saying they have a problem with one of my apps on the Nabi 2 tablet for kids. It runs Android 4.
My app allows the recording of audio by the user using the internal mic. It works fine on iOS and all the Android devices I’ve tested it on.
If the device is an Android one I am recording in .raw format. My code is taken originally from the simple audio recorder example and then tweaked to use raw instead of 3gp as the quality seems better and I read both these formats can be used for Android. The file is being recorded and saved with that extension but I just can’t play it back.
On the Nabi 2 device I get the following error when debugging when I try to play back audio that has been recorded:
D/AwesomePlayer( 115): Failed to open file, all profile flags have to set through setprop method.
I/NuCachedSource2( 115): ERROR_END_OF_STREAM
D/AwesomePlayer( 115): Failed to open file, all profile flags have to set through setprop method.
I/MPEG4Extractor( 115): NON-QT MODE DECIDED
E/MediaPlayer( 6001): error (1, -2147483648)
Does anyone have any ideas? Should I use the 3gp format? I’m using media.playSound to play back the audio as I’m aware that audio.play won’t work for recorded audio.
Thanks,
Ian [import]uid: 123492 topic_id: 35481 reply_id: 335481[/import]