As I already told you several times, this Android code is not really intendend for real use: https://github.com/mozilla/DeepSpeech/blob/master/native_client/java/app/src/main/java/org/mozilla/deepspeech/DeepSpeechActivity.java#L68-L102
We read the WAVE content very simply. Any malformed file will fail. Badly.