How to get total data usage of an android device programmatically?

Viewed 2559

In the settings menu on my android smartphone, I can see the total data usage of the current and past cycles. Can I somehow retrieve that information programmatically in my app?

Thanks in advance.

1 Answers
Related