I want to get the mobile data consumption for a given range of date (1, 2, 5, 10 or 15 minutes) with the querySummaryForDevice method of NetworkStatsManager.
This is my code:
public static long getTotalTrafficInRange(Context context, Date fromDate, Date toDate) throws...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.