TrafficStats in Android
<p>Can you explain to me following,
1) getMobileTxPackets is static method in TrafficStats  class, I would like to know the time frame at which this data is captured, when I call this function, it returns me the value, how and when is this value calculated. What if I would like to get the Tx Packet value as and when transmission happens or what if I want to register an listener for every transmission that happens from App, the API is very limited can you please help me on this. </p>

<p>Thank you very much. </p>
