Broadcast intent for Data Tx and Rx for an App in Android device
<p>I would like to know:</p>

<p>1) If there a way android sends broadcast as and when App does Tx and Rx of data packets.</p>

<p>2) If so, how can I register for that broadcast.</p>

<p>Reason: The TrafficStats, Api google provides is not helpful for me, I want to display graph of Tx and Rx of every App with respect to time in X-Axis , which means I need to get accurate time at which Tx and Rx happens. </p>

<p>TrafficStats Api will not help me, because a) it is not accurate, the total Tx and individual UID tx doesn't match. b) There is no way I can get Tx and Rx with respect to time. </p>

<p>I would really appreciate if someone could give me some pointers. 
Thank you very much. </p>
