title: Android - converting File or Byte array into a Blob
body: <p>I've been searching a lot but i couldn't find an answer for this simple question.</p>
  
  <p>I would like to implement one of the following functions:</p>
  
  <pre><code>public Blob getBlob(Byte[] imageByteArray){
  
  }
  
  public Blob getBlob(File imageFile){
  
  }
  </code></pre>
  
  <p>please note that these functions are being called from the android client.
  thanks!</p>