Corical

Results 2 issues of Corical

From API 23 there is support for these callbacks and it helps a great deal to present the user with a meaningful message should such an error occur.

Important bit is the release of MediaPlayer in getSoundDuration() Wrapped loadAndPlay() in a try/catch Added LOG_TAG for output