I'm trying to work on a simple updater for a project I'm working on and for actually downloading the file I'm using Apache's FileUtils.copyURLToFile method. I'm curious on how I can obtain a download percent while the download is happening (eg: 10%, 20%, 100%).
So of cause all I have so far is:
FileUtils.copyURLToFile(new URL(assets), assetsZip);