I want to measure the data consumed by my APP through mobile data[not Wifi] on each session launch. The amount of data consumed on each session = amount of data consumed [at the end of session] - amount of data consumed [at the start of session]. But how can i get the amount of data consumed by my App on mobile data only. API getUidRxBytes gets the number of bytes received across all the n/w interfaces, But i need for mobile data only.
Is there a way i can achieve this...