I am working on a mobile application that will transfer data to a server but in order to calculate the cost for the transfer ie. Network data charge, I need to know the complete amount of data transfered including header, body content and response etc.
How can this be done?
Using: Java in NetBeans 5.5.1 with Apache 5.5.17
Thanks for your help