Skip to content

Display.getInstance().execute(AudioFile.wav) Fails to open .wav, .mp3, .mp4 files with Android player #2183

@mab1423

Description

@mab1423

Android OS 7, Samsung S8+
I download a .wav file from my server and pass that to Display.getInstance().execute(File Here)

AndroidAudioDotWavWontPlay_2.jpg shows the full path file being passed to Display.getInstance().execute(AudioFile.wav)
androidaudiodotwavwontplay_1
androidaudiodotwavwontplay_2

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.

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();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions