BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-12-2007, 03:28 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Nov 2006
Model: 7250
Carrier: Carrier Has Arrived
Posts: 29
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default checking for roaming support

Please Login to Remove!

is there an api that can check for network roaming support
whenever you connect to another carrier across
other countries ?
Offline  
Old 03-13-2007, 03:48 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Skipper_Joe's Avatar
 
Join Date: Jan 2007
Location: Kharkov, Ukraine
Model: 8300
Carrier: N/A
Posts: 237
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Looks like RadioInfo.getNetworkService() will help you. See javadoc for it.
Offline  
Old 03-18-2007, 12:09 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Nov 2006
Model: 7250
Carrier: Carrier Has Arrived
Posts: 29
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks for the tip Skipper_Joe. I've started reading the api but
i'm still not sure what the networkservices mean so i have a followup
question

1) Is my logic below valid for checking roaming support? I
check for roaming support by evaluating for two requirements
Code:
//in pseudocode
currentServices = RadioInfo.getNetworkService()

if ( (currentServices Doesn't Inlcude NETWORK_SERVICE_IN_HOME_ZONE)  && 
     (currentServices Includes NETWORK_SERVICE_ROAMING) )
{
   // therefore roaming supported
}

Last edited by newToThis : 03-18-2007 at 12:30 AM.
Offline  
Old 03-18-2007, 01:23 AM   #4 (permalink)
Talking BlackBerry Encyclopedia
 
Skipper_Joe's Avatar
 
Join Date: Jan 2007
Location: Kharkov, Ukraine
Model: 8300
Carrier: N/A
Posts: 237
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Frankly speaking, I didn't use this method myself. I just used RadioInfo class and remember that something about roaming was there.

it's not clear too me from javadoc, what NETWORK_SERVICE_IN_HOME_ZONE means (what's is 'home' zone?). So I'd check for NETWORK_SERVICE_ROAMING only.
Offline  
Old 03-18-2007, 03:41 AM   #5 (permalink)
New Member
 
Join Date: Feb 2007
Location: Bonn, Germany
Model: 8100
Carrier: T-Mobile
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

The home zone refers to a service offered by some carriers where they give you special prices when your device is connected to a specific gsm cell tower, usually the one it connects to when you are at home. You don't need that to get the roaming information, RadioInfo.NETWORK_SERVICE_SUPPRESS_ROAMING is enough.

regards,

Marcelo
Offline  
Old 03-18-2007, 03:42 AM   #6 (permalink)
New Member
 
Join Date: Feb 2007
Location: Bonn, Germany
Model: 8100
Carrier: T-Mobile
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

The home zone refers to a service offered by some carriers where they give you special prices when your device is connected to a specific gsm cell tower, usually the one it connects to when you are at home. You don't need that to get the roaming information, RadioInfo.NETWORK_SERVICE_ROAMING is enough.

regards,

Marcelo
Offline  
Old 03-18-2007, 10:11 PM   #7 (permalink)
Knows Where the Search Button Is
 
Join Date: Nov 2006
Model: 7250
Carrier: Carrier Has Arrived
Posts: 29
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

okay, i will just check for
RadioInfo.NETWORK_SERVICE_ROAMING

thanks very much for the input
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.