BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 07-10-2009, 08:38 PM   #21
jasonwatson
New Member
 
Join Date: Jul 2009
Model: 7100T
PIN: N/A
Carrier: verison
Posts: 11
Default

Please Login to Remove!

what jre are you using?
Offline  
Old 07-10-2009, 09:19 PM   #22
hrbuckley
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Default

Well that is interesting. From a quick check it appears that wording first appears in 4.6.1 and continues in 4.7.0. I suspect that the original use of the word Packet was a mistake in the original method name (cause as misty83 points out, how big would the packets be?) that has been corrected in the documentation.

In any case my use of the function gives results that make sense IAW the 4.6.1 documentation, even on devices running earlier OSs.
__________________
My other Blackberry is a PlayBook.
Offline  
Old 07-11-2009, 02:45 AM   #23
misty83
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Posts: 73
Default

i'm using jde 4.6... please take a look here: BlackBerry JDE 4.6.0 API Reference

it is clearly written:

Number of packets received by the radio, or -1 if this feature is not supported.

but now, when You've said this i've checked the 4.6.1 api and it is written:

Number of bytes received by the radio, or -1 if this feature is not supported.

so, i understand, You suggest to take what is written in 4.6.0 (also in 4.5.0) is a word mistake?
i'll try test it a little and check if that make sense.
Offline  
Old 08-29-2009, 11:11 AM   #24
ChromeInfo
New Member
 
Join Date: Aug 2009
Model: 8110
PIN: N/A
Carrier: Airtel
Posts: 1
Default Can i get total number of bytes used in BB??

Have you got any luck with your internet data collection logger?
I am also trying to get the the total number of bytes recieved/sent by different network interfaces. By using RadioStatusListener's interfaces, I am able to get the type of active network interface and the number of bytes recieved. But for that we need to create a connection everytime by providing a URL.
as we want to create a background application we can't just create a connection with the URL everytime user is trying to surf anything.

So I decided to move back to RadioInfo. RadioInfo.GetNumberOfPacketsRecieved() just returns me the same 9 digit number (for example 268040972) everytime even if I download the data of size around 200kb by TCP connection. Is there any specific way to use it. Have you seen that 9 digit number returned by GetNumberOfPacketsRecieved() changing on different call intervals? My development environment is eclipse plug-in with jde 4.5.0.

Last edited by ChromeInfo; 08-29-2009 at 12:30 PM.. Reason: mentioning jde version
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


BLACKBERRY MEAD Advertising Vinyl Banner Flag Sign Many Sizes MEDIEVAL picture

BLACKBERRY MEAD Advertising Vinyl Banner Flag Sign Many Sizes MEDIEVAL

$147.47



BLACKBERRY MEAD Advertising Vinyl Banner Flag Sign Many Sizes MEDIEVAL V2 picture

BLACKBERRY MEAD Advertising Vinyl Banner Flag Sign Many Sizes MEDIEVAL V2

$96.93



Blackberries Advertising Vinyl Banner Flag Sign Many Sizes Available USA picture

Blackberries Advertising Vinyl Banner Flag Sign Many Sizes Available USA

$174.84



FARM FRESH BLACKBERRIES CLEARANCE BANNER Advertising Vinyl Flag Sign AAA picture

FARM FRESH BLACKBERRIES CLEARANCE BANNER Advertising Vinyl Flag Sign AAA

$174.84



Blackberry Advertising Banner Vinyl Mesh Sign Fruit Vegetable Berry Farm Fresh picture

Blackberry Advertising Banner Vinyl Mesh Sign Fruit Vegetable Berry Farm Fresh

$219.95



BLACKBERRY MEAD Advertising Vinyl Banner Flag Sign Many Sizes MEDIEVAL picture

BLACKBERRY MEAD Advertising Vinyl Banner Flag Sign Many Sizes MEDIEVAL

$125.58







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