BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 08-28-2006, 12:43 PM   #1 (permalink)
Knows Where the Search Button Is
Join Date: Feb 2005
Model: 7290
Carrier: Rogers
Posts: 42
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default The Data Usage Project

Please Login to Remove!

There have been various requests for a data usage tracker/monitor. I have been looking into this for the past month, and I have tried using getNumberOfPacketsSent and getNumberOfPacketsReceived method from the net.rim.device.api.system.radioinfo class.

Here's what I have learned. These two methods do result in what appears to be valid data. It also appears that a 'packet' for these methods is one byte of data.

I monitored this data for part of one billing cycle. Every day, I would record the amount of data sent and received. Here are the results:
First Column is my results. Second Column is my bill. (all numbers KB)

Day 1- 62- 183
Day 2- 85- 105
Day 3- 88- 88
Day 4- 650- 1238
Day 5- 119- 134
Day 6- 64- 54
Day 7- 346- 589
Day 8- 57- 58
Day 9- 187- 195
Day 10- 22- 22
Day 11- 21- 22
Day 12- 33- 33
Day 13- 49- 51
Day 14- 738- 747

Some days match, but most days my bill shows higher usage (some significantly). And one day, my bill shows lower use (Day 6).

I tried testing various scenarios: email, attachments, browsing, and as a laptop modem.
One thing I did notice is that when tethered as a modem for my laptop, the SentPackets did not increase at all.

Is there anybody out there who help further this along? Is there any other way to go about this?
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

APPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD
APPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD   picture

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.