I'm using traffic stats to get the data consumption in Android, but the byte value transformed into Mb has a lot lower than it should be used value. then I would like to know how to get the consumption data in a set period. example 01.03.2016 until 31.03.2016. I use this code to get the bytes:
getTotalTxBytes() and getTotalRxBytes() -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/ae30db3a-c04c-4559-903b-14846efbc68b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

