09-25-2008 10:07 AM
Note that there are multiple types of browser available on the BlackBerry (you can choose your default under Options, Advanced Options, Browser).
1. BlackBerry Browser - Communicates using a BlackBerry Enterprise Server. The CoverageInfo.COVERAGE_MDS constant applies to this route.
2. Internet Browser - Makes use of the BlackBerry Internet Service. The CoverageInfo.COVERAGE_BIS_B constant applies to this route.
3. WAP Browser - Communicates using the carrier's WAP Gateway. The CoverageInfo.COVERAGE_DIRECT partially covers this route.
The CoverageInfo.COVERAGE_DIRECT (previously CoverageInfo.COVERAGE_CARRIER) applies to the following routes.
CoverageInfo.COVERAGE_DIRECT does not relate to the wireless signal level. You can use the RadioInfo class to get this "lower level" information.
09-24-2008 08:14 AM
09-24-2008 08:34 AM - edited 09-24-2008 08:36 AM
Thanks for the Reply mweitzel ! :-)
While the phone is showing 4 out of 5 bars as coverage and a small "edge" instead of capital, here is what the API is returning:
CoverageInfo.isCoverageSufficient(CoverageInfo.COVERAGE_CARRIER) ===> true.
CoverageInfo.isCoverageSufficient(CoverageInfo.COVERAGE_MDS) ===> false
RadioInfo.isDataServiceOperational() ===> true
RadioInfo.isDataServiceSuspended() ===> false
RadioInfo.getNetworkService() ===> NETWORK_SERVICE_DATA, NETWORK_SERVICE_EDGE and NETWORK_SERVICE_VOICE.
The blackberry browser is displaying an error message "There is insufficient network coverage to process your request. Please try again later." when trying to open a URL: www.google.com.
This gives an indication that actually there is no Data coverage, that the Blackberry browser has detected, but we are getting confused due to the response from API.
Is there any way to correctly conclude on above ?
09-24-2008 08:54 AM
So maybe a bit of background that hopefully will clear up the 'confusion'. When the device (or rather the radion part) powers up it will go through different states which can be observed on the radio indicator from OFF > X (> SOS) > GSM > grps or edge or 3g > GRPS or EDGE or 3G. These different statuses indicate different coverage (and here we mean not the signal strength coverage, hence a lot of the confusion).
So this should explain why you receive COVERAGE_CARRIER == true but COVARGE_MDS == false. It basically means that you can use the network's local data services (DirectTCP communication and WAP Gateway [if the WAP service book is on the device]) but you cannot use BlackBerry communication through a BlackBerry Enterprise Server.
Typically you can get this problem when you use a live BlackBerry device with a SIM card that doesn't have the BlackBerry service provisioned by the carrier that issued the SIM card.
09-24-2008 09:21 AM
I agree with all that you explained.
The question is how to Detect that the Data services are not accessible, that same way "Blackberry Browser" is detecting ?
09-24-2008 09:27 AM
09-24-2008 10:26 AM
But COVERAGE_MDS will return true only, when the device is Enterprise Activated. Otherwise no matter if the coverage indicator show "edge" or "EDGE", and the BlackBerry Browser is successfully opening Web pages, the COVERAGE_MDS will return false.
Can't we detect status of Data connection, irrespective of MDS ? What if one is using BIS instead of BES connection ?
09-24-2008 10:55 AM
OR better to ask conceptually-
When we use the term "Data Connection" does it implicitly or by defination refers to an MDS connectivity ? Or it can be any Data connection including the one created by the browser ? Can the device create a Data Connection while on GPRS or an EDGE is a must for it ?
09-24-2008 11:11 AM
EDGE and 3G are wireless network technologies that relate to the RF and usage there of,
MDS is a BB "thing" on the network that you could presumably hit just like a DNS server or myspace.
Does BB somehow determine how much BW or the connection technology before allowing access