BlackBerryForums.com : Your Number One BlackBerry Community      

»Sponsored Links




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

is there an api that can check for network roaming support
whenever you connect to another carrier across
other countries ?
   
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
Skipper_Joe Offline
Talking BlackBerry Encyclopedia
 
Skipper_Joe's Avatar
 
Posts: 237
Join Date: Jan 2007
Location: Kharkov, Ukraine
Model: 8300
Carrier: N/A
Default 03-13-2007, 04:48 AM

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

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 01:30 AM.
   
  (#4 (permalink)) Old
Skipper_Joe Offline
Talking BlackBerry Encyclopedia
 
Skipper_Joe's Avatar
 
Posts: 237
Join Date: Jan 2007
Location: Kharkov, Ukraine
Model: 8300
Carrier: N/A
Default 03-18-2007, 02:23 AM

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.
   
  (#5 (permalink)) Old
New Member
 
Posts: 7
Join Date: Feb 2007
Location: Bonn, Germany
Model: 8100
Carrier: T-Mobile
Default 03-18-2007, 04:41 AM

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
   
  (#6 (permalink)) Old
New Member
 
Posts: 7
Join Date: Feb 2007
Location: Bonn, Germany
Model: 8100
Carrier: T-Mobile
Default 03-18-2007, 04:42 AM

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
   
  (#7 (permalink)) Old
newToThis Offline
Knows Where the Search Button Is
 
Posts: 29
Join Date: Nov 2006
Model: 7250
Carrier: Carrier Has Arrived
Default 03-18-2007, 11:11 PM

okay, i will just check for
RadioInfo.NETWORK_SERVICE_ROAMING

thanks very much for the input
   
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On






Copyright © 2004-2008 BlackBerryNews.com, BlackBerryFAQ.com, BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of Research In Motion Limited.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.1