BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-01-2009, 01:58 PM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2009
Model: 9300
PIN: N/A
Carrier: Simulator
Posts: 19
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to determine a device's carrier

Please Login to Remove!

Hi Folks,
I've seen lots of lists to set the APN for specific carriers, but none that tell me how my code can determine which apn to use.

For example, how can my Blackberry code know whether the device is on Verizon, or T-mobile or ATT so that my code can select the proper apn=xxxxxx ?
Offline  
Old 07-01-2009, 02:54 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Try this:

String name = RadioInfo.getCurrentNetworkName()
Offline  
Old 07-01-2009, 03:12 PM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2009
Model: 9300
PIN: N/A
Carrier: Simulator
Posts: 19
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Excellent! Thanks!
Ken
Offline  
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

NOS Motorola HEP S5025 Silicon NPN High Voltage Transistor EPMOTRN
$8.5
NOS Motorola HEP S5025 Silicon NPN High Voltage Transistor EPMOTRN pictureMIXED LOT of 5 Radio Shack 276-2016 2017 2018 NPN Silicon Transistors MPS 3904..
$8.99
MIXED LOT of 5 Radio Shack 276-2016 2017 2018 NPN Silicon Transistors MPS 3904.. pictureHot Mega328 Transistor Tester Diode Triode Capacitance ESR Meter PNP NPN L/C/R
$10.58
Hot Mega328 Transistor Tester Diode Triode Capacitance ESR Meter PNP NPN L/C/R pictureMIXED LOT of 2 NOS GE 288 289 NPN PNP Silicon Transistor Replaces SK343 SK3122
$7.99
MIXED LOT of 2 NOS GE 288 289 NPN PNP Silicon Transistor Replaces SK343 SK3122 pictureFUJI 2D175Z-120 Transistor Darlington Module
$30.0
FUJI 2D175Z-120 Transistor Darlington Module  picture






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