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
New Member
Posts: 2
Registered: ‎11-21-2012
My Device: 9870

How can we know when a PDP drop (data transfer cut) occurs?


Hello everybody.

 

The question is easy. We want to get (programatically) when a PDP connection is dropped (an interruption of the data transfer due to a PDP context which drops). We were thinking
on using the method pdpStateChange of the RadioStatusListener class:

 

http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/system/RadioStatusListener.htm... int, int)

 

This class gives us three different states of the PDP: Inactive, Active or Rejected.

 

Can we associate the status inactive with a PDP drop or network fail? if not... how can we know when a PDP drop (data transfer cut) occurs?

 

Looking forward to your answers,

 

Thanks in advance,