09-15-2011 02:21 PM
I am looking for some listener to check the following:
1. when the phone is connected a mobile network from not connected
2. when the phone is connected to a different mobile network (other carrier or wifi) from current network
3. the current mobile network connection is dropped.
I initailly found that ConnectionAttemptLIstener (http://www.blackberry.com/developers/docs/5.0.0api
Did some search and I could not find any related info.
So is there a way for me to achive what I said initially?
Solved! Go to Solution.
09-20-2011 02:10 PM
You can use a combination CoverageStatusListener and RadioStatusListener to get access to these events.
CoverageStatusListener will let you know what kind of network access you have access to based on your coverage (network connectivity via cellular, WLAN etc and which network transports are available).
RadioStatusListener will let you know when changes to the cellular network occur such as signal changes, base station changes etc.
The RadioInfo class can also be used to receive information on the current mobile network too.