I am saving audio files to a DB table on a server in a common format .wav 
using ffmpeg to do the conversion.
However on Android, I get Error message using Display.execute(). on a .wav 
file.

Is this what I should expect and enforce the file format be saved in .3gpp?

Regards

On Wednesday, April 19, 2017 at 5:51:10 AM UTC-4, Ivan wrote:

> yes, with extension .3gpp it works for me again, thanks
>
> On Wed, Apr 19, 2017 at 1:39 AM, Steve Hannah <[email protected] 
> <javascript:>> wrote:
>
>> Capture.captureAudio() uses 3gpp format.  When you copy the file to file 
>> system storage, add the .3gpp extension and then it should work with 
>> Display.execute().
>>
>> I'm experimenting a little with the mimetypes and extensions right now in 
>> the android port to see if I can improve things for mimetype detection.  I 
>> will likely be changing the temp file produced by captureAudio() to use the 
>> .3gpp extension anyways.  
>>
>> Notice that you shouldn't pass the path that you get back from 
>> captureAudio() directly to Display.execute().  You should first copy it to 
>> file system storage, then pass the copy to execute().
>>
>> Steve
>>
>> On Tue, Apr 18, 2017 at 1:01 AM, Ivan Ilavsky <[email protected] 
>> <javascript:>> wrote:
>>
>>> May be it's changed for longer time. One of the users discovered it now 
>>> after last libs update ... the extension is missing and the application is 
>>> not able to play the audio file on Android 
>>> using Display.getInstance().execute(path); (this worked for me previously)
>>> How can I fInd out what encoding/mime type is used (AAC, AMR, ..) ?
>>>
>>>
>>> On Tue, Apr 18, 2017 at 7:30 AM, Shai Almog <[email protected] 
>>> <javascript:>> wrote:
>>>
>>>> Hi,
>>>> are you sure?
>>>> Looking at the history from the past 3 weeks: 
>>>> https://github.com/codenameone/CodenameOne/commits/master
>>>> I can't see anything that should impact this. The only thing remotely 
>>>> close is 
>>>> https://github.com/codenameone/CodenameOne/commit/75a54f9ea89470bb4c3e67ac836dd85a9814052a
>>>>  
>>>> and it's a trivial change.
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to a topic in the 
>>>> Google Groups "CodenameOne Discussions" group.
>>>> To unsubscribe from this topic, visit 
>>>> https://groups.google.com/d/topic/codenameone-discussions/KffK7T0UUn8/unsubscribe
>>>> .
>>>> To unsubscribe from this group and all its topics, send an email to 
>>>> [email protected] <javascript:>.
>>>> Visit this group at 
>>>> https://groups.google.com/group/codenameone-discussions.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/codenameone-discussions/6d09bf30-4dd1-46d8-8d60-05bfe13be190%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/codenameone-discussions/6d09bf30-4dd1-46d8-8d60-05bfe13be190%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> -- 
>>> Ivan Ilavský
>>>
>>> Tamebytes s.r.o.
>>> [email protected] <javascript:>
>>> +421 905 664177
>>> http://www.tamebytes.sk
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "CodenameOne Discussions" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected] 
>>> <javascript:>.
>>> Visit this group at 
>>> https://groups.google.com/group/codenameone-discussions.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/codenameone-discussions/CA%2BysJ8xM21oT0_6saV3BbuhQ1dAW8sUmjyDHn4RqjXtxvThwXA%40mail.gmail.com
>>>  
>>> <https://groups.google.com/d/msgid/codenameone-discussions/CA%2BysJ8xM21oT0_6saV3BbuhQ1dAW8sUmjyDHn4RqjXtxvThwXA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>> Steve Hannah
>> Software Developer
>> Codename One
>> http://www.codenameone.com
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "CodenameOne Discussions" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/codenameone-discussions/KffK7T0UUn8/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected] <javascript:>.
>> Visit this group at 
>> https://groups.google.com/group/codenameone-discussions.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKXhb35vAOMJZBhtd69YfCjfRdhBS1GCaNxEOmThe-kz9w%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKXhb35vAOMJZBhtd69YfCjfRdhBS1GCaNxEOmThe-kz9w%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Ivan Ilavský
>
> Tamebytes s.r.o.
> [email protected] <javascript:>
> +421 905 664177
> http://www.tamebytes.sk
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f6dfe8a8-7bc0-496f-9457-e98e2afa5820%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to