title: JAVA using google speech recognition API
body: <p>I'm trying to use google speech recognition API. Here's the code i've written:</p>
  
  <p><a href="http://pastebin.com/zJEhnJ74" rel="noreferrer">http://pastebin.com/zJEhnJ74</a></p>
  
  <p>It works. I get an answer from the server:</p>
  
  <pre><code>{"status":5,"id":"8803471b14a2310dfcf917754e8bd4a7-1","hypotheses":[]}
  </code></pre>
  
  <p>Now the problem is "status:5". Infact, here's status code:</p>
  
  <pre><code>status: 0 – correct , status: 4 – missing audio file,  status: 5 – incorrect audio file.
  </code></pre>
  
  <p>My problem is "incorrect audio file". I don't understand if it is a .flac file error (you can download my test .flac file here: <a href="http://www21.zippyshare.com/v/61888405/file.html" rel="noreferrer">http://www21.zippyshare.com/v/61888405/file.html</a>) or how i read the file (in a byte array then convert it into string)</p>
  
  <p>Thanks for help! and sorry for my bad english</p>