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

Java Development

Reply
Highlighted
Contributor
Posts: 17
Registered: ‎12-20-2011
My Device: Bold 9780
My Carrier: Vodafone

Radio Connection Listener when "Data Services" status changes

 

Hi, 

 

I'm developing application in RIM OS > 5 where I communicate with server once device comes in data network range. 

 

In order to achieve this I have written a class which implements RadioStatusListener. 

 

It is giving me callbacks when I check/uncheck "Mobile Network" under Manage connection. 

 

When I turn OFF->ON "Data Services" under Mobile Network, it is calls pdpStateChange() with state = 0 and cause = 0.

 

My querries are ::

1. How to catch Data Services ON->OFF events ?

2. Under what conditions pdpStateChange() gets called ?

3. Why state = 0 even though I have switched ON "Data Services" ?

 

Many thanks in advanced. 

 

Regards,

Hrushikesh

Developer
Posts: 16,987
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Radio Connection Listener when "Data Services" status changes

use http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/system/CoverageStatusListener.... instead
----------------------------------------------------------
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