// forcing your data to disk

FileOutputStream fos = new FileOutputStream( someFile, false /* no append */ );
fos.write( aByte );
fos.flush();
fos.getFD().sync();
// ...
fos.close();