Hi,
When I tried to use the TrafficStats class of android.net package in
the following way
long sent = TrafficStats.getMobileRxBytes();
I got the below error
04-11 22:12:06.449: ERROR/AndroidRuntime(2916):
java.lang.NoClassDefFoundError: android.net.TrafficStats
04-11 22:12:06.449: ERROR/AndroidRuntime(2916): at
org.gps.History.get3GSentInfo(History.java:150)
04-11 22:12:06.449: ERROR/AndroidRuntime(2916): at org.gps.GPSsens
$6.handleMessage(GPSsens.java:804)
can anyone please tell me why this error occurred. Thanks in advance.
sarath
When I tried to use the TrafficStats class of android.net package in
the following way
long sent = TrafficStats.getMobileRxBytes();
I got the below error
04-11 22:12:06.449: ERROR/AndroidRuntime(2916):
java.lang.NoClassDefFoundError: android.net.TrafficStats
04-11 22:12:06.449: ERROR/AndroidRuntime(2916): at
org.gps.History.get3GSentInfo(History.java:150)
04-11 22:12:06.449: ERROR/AndroidRuntime(2916): at org.gps.GPSsens
$6.handleMessage(GPSsens.java:804)
can anyone please tell me why this error occurred. Thanks in advance.
sarath