View Single Post
  (#3 (permalink)) Old
misty83 Offline
Thumbs Must Hurt
 
Posts: 73
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Default 07-03-2009, 01:34 PM

i must check if user:

-opens a browser (couse that means ofcourse that he is using internet)
-opens an application that (for example) download or send some files using internet

what i must to do is a log-every day i must write into a file for how long user was using internet, how many data did he received/sent. for receiving/sending data i know that there is RadioInfo.getNumberOfPacketsSent/Received but as i checked-it always returns something even if i do not run any application that connects to the internet and the browser is closed..

so i was wondering if there is any method that will tell me that (par example) the user has started/finished using a browser or an application (that connects to the internet).-cause having such methods i could simply count for how long the internet was used and also-when disconnected-i can get the packets sent/received.

can You please suggst me anything? cause i'm trying to solve it from yesterday and have no more ideas..
   
Reply With Quote