Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Prevent FileNotFoundException when downloading audio recording to be peer reviewed #29

Open
@nya-elimu

Description

@nya-elimu
2021-05-21 10:25:46.997 29826-29826/ai.elimu.crowdsource.debug I/PeerReviewAudioActivity: initializeAudioRecordingPeerReview
2021-05-21 10:25:46.998 29826-29826/ai.elimu.crowdsource.debug I/SharedPreferencesHelper: getLanguage
2021-05-21 10:25:46.998 29826-29826/ai.elimu.crowdsource.debug I/PeerReviewAudioActivity: audioBytesUrl: http://hin.test.elimu.ai/audio/1_r1.mp3
2021-05-21 10:25:47.001 29826-29826/ai.elimu.crowdsource.debug W/MediaPlayer: Couldn't open http://hin.test.elimu.ai/audio/1_r1.mp3: java.io.FileNotFoundException: No content provider: http://hin.test.elimu.ai/audio/1_r1.mp3
2021-05-21 10:25:47.001 29826-29826/ai.elimu.crowdsource.debug I/MediaPlayer: setDataSource(http://hin.test.elimu.ai/audio/1_r1.mp3)
2021-05-21 10:25:47.093 29826-29826/ai.elimu.crowdsource.debug I/MediaPlayer: [HSM] stayAwake true uid: 1010026, pid: 29826
2021-05-21 10:25:47.093 29826-29826/ai.elimu.crowdsource.debug I/MediaPlayer: Pid:29826 MediaPlayer::start
2021-05-21 10:25:48.242 29826-29826/ai.elimu.crowdsource.debug I/MediaPlayer: [HSM] stayAwake false uid: 1010026, pid: 29826

For context, see Slack thread: https://elimu-ai.slack.com/archives/C0LDBLX3J/p1621582804003400?thread_ts=1621447726.007900&cid=C0LDBLX3J

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions