Just to prove out the integrity of the .wav file downloaded,
I processed the Audio File with this code and it plays perfectly

                    media = MediaManager.createMedia(AudioFile, false);
                    media.play();

Of course I would prefer the native player as it provides controls that the 
above does not. (I understand the above have all the methods for me to 
implement a control friendly player)



On Wednesday, August 16, 2017 at 9:17:23 AM UTC-4, [email protected] 
wrote:

> I download a .wav file from my server and pass that 
> to Display.getInstance().execute(AudioFile.wav)
>
> AndroidAudioDotWavWontPlay_2.jpg shows the full path file being passed 
> to Display.getInstance().execute(AudioFile.wav)
> AndroidAudioDotWavWontPlay_1.jpg shows the OS Complaint 
> after Display.getInstance().execute(AudioFile.wav) is executed
>
> Note the OS complains of invalid format, however this same file plays on 
> my PC and IOS using the same method of download and play.
>
> Thoughts?
>
> On Wednesday, August 16, 2017 at 1:07:08 AM UTC-4, Shai Almog wrote:
>
>> Opening media should generally invoke the right intent did you use an MP3 
>> extension?
>>
>

-- 
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/f3d4221a-042f-486c-a85e-9616fdcf692e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to