Android\'s ProgressDialog allows you to set the current progress and maximum value as integers. These values are shown in the dialog like this:
3401/1
Starting from API 11, you can call the following function to achieve your purpose.
mProgressDialog.setProgressNumberFormat("%1d/%2d kB")