I\'ve written a nice little Android app to check data usage, unfortunately it relies heavily on android.net.TrafficStats which was introduced with Froyo (Android 2.2).
Changing it to a RandomAccessFile instead of File worked.
Edit: See IBoS's answer for working code. Changing the accepted answer to his.