Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Contributor
jonathanng1989
Posts: 4
Registered: ‎04-18-2013
My Device: Z10
Accepted Solution

Cannot get the API to return the correct value

Hi,

 

Can you anyone help me?

 

I use the below API to check amount of data receive and sent by bb10 but it failed to return anything.

 

QNetworkConfigurationManager:: DataStatistics return 0

 

Best Regards,

Jonathan

Developer
simon_hain
Posts: 16,282
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: Cannot get the API to return the correct value

welcome to the support forums.

we did some digging last week, and finally found a solution.
see
http://supportforums.blackberry.com/t5/Native-Development/Network-traffic/td-p/2287487
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter