public void saveFingerprintAsFile(byte[] fingerprint,String filename){
  FileOutputStream fileOutputStream;
  try {
    fileOutputStream=new FileOutputStream(filename);
    fileOutputStream.write(fingerprint);
    fileOutputStream.close();
  }
 catch (  FileNotFoundException e1) {
    e1.printStackTrace();
  }
catch (  IOException e) {
    e.printStackTrace();
  }
}

public void saveFingerprintAsFile ( byte [ ] fingerprint , String filename ) { FileOutputStream fileOutputStream ; try { fileOutputStream = new FileOutputStream ( filename ) ; fileOutputStream . write ( fingerprint ) ; fileOutputStream . close ( ) ; } catch ( FileNotFoundException e1 ) { e1 . printStackTrace ( ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } }
save fingerprint to a file
