Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
BlackBerry Development Advisor
Posts: 15,140
Registered: ‎07-09-2008
My Device: BlackBerry Passport
My Carrier: Bell

Blackberry phone information

Quote from the previous forum:


Guest: indranil
Blackberry phone information
Posted: Jul 23, 2008 7:59 AM
 
how will i get this following value from the black berry phone:

cell:network (name of your cellular carrier, usually).
cell:mcc (your mobile country code)
cell:mnc (your carrier's code)
cell:lac (the location area code)
cell:cellid (the cell tower ID).


You can get this information by using the RadioInfo, GPRSInfo, GPRSInfo.GPRSCellInfo and Phone classes.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 445
Registered: ‎07-15-2008
My Device: Not Specified

Re: Blackberry phone information

[ Edited ]

Network Name:

 

RadioInfo.getCurrentNetworkName();

 

 

Mobile Country Code:

 

//index - The network index, from 0 to getNumberOfNetworks() - 1.
RadioInfo.getMCC(int index);

 

 

Mobile Network Code:

 

//index - the network index from 0 to getNumberOfNetworks() - 1.
RadioInfo.getMNC(int index);

 

 

Local Area Code:

 

GPRSInfo.GPRSCellInfo.getLAC();

 

 

Cell ID:

 

GPRSInfo.GPRSCellInfo.getCellId();

 

 

 

 

 

 

 

Message Edited by javec on 07-24-2008 12:35 AM
If your question was answered, please accept it as a sollution and / or give Kudos ;-)
______________________________
Use the Search Field first! Maybe the question you want to ask already exists!
Developer
Posts: 205
Registered: ‎07-14-2008
My Device: 7230, 8700, 8820, 9000

Re: Blackberry phone information

When will the API include the ability to sample all of the cell tower IDs within range of the device?

 

Earl 

Earl Oliver
New Developer
Posts: 7
Registered: ‎09-06-2008
My Device: Not Specified

Re: Blackberry phone information

Is there an interface to get to the neighbor list and other lower-level information that is sent on the BCCH?
Developer
Posts: 205
Registered: ‎07-14-2008
My Device: 7230, 8700, 8820, 9000

Re: Blackberry phone information

The BlackBerry is totally closed from that respect.  All you can do is sample the current information.

 

Earl 

Earl Oliver
New Developer
Posts: 7
Registered: ‎09-06-2008
My Device: Not Specified

Re: Blackberry phone information

All I want to do is sample that (i.e. the neighbor list, strengths, etc) information...  Is there an indirect way to get to that info?  Or, does anyone produce a tool that can provide that info on a blackberry?

 

Thanks!

Developer
Posts: 205
Registered: ‎07-14-2008
My Device: 7230, 8700, 8820, 9000

Re: Blackberry phone information

I've requested this feature at several levels of the company.  They won't do it.  I cannot think of a good reason why.  This functionality is not available on Android either.

 

You can get this information on Windows Mobile and iPhone. 

Earl Oliver
New Developer
Posts: 2
Registered: ‎10-09-2009
My Device: Not Specified

Re: Blackberry phone information

It is possible to get that on android

see http://developer.android.com/reference/android/telephony/TelephonyManager.html#getNeighboringCellInf...

 
public List<NeighboringCellInfo> getNeighboringCellInfo ()

Returns the neighboring cell information of the device.

Returns
  • List of NeighboringCellInfo or null if info unavailable.

    Requires Permission: (@link android.Manifest.permission#ACCESS_COARSE_UPDATES}

 

New Developer
Posts: 28
Registered: ‎11-04-2009
My Device: Not Specified

Re: Blackberry phone information

[ Edited ]

It's a shame that RIM does not include that functionality to the API (Especially when Android, Windows Mobile and iPhone implement it)
If we were many people that require this feature, may be RIM would include it.
How did you requested this feature?

I tried to change the world, but I couldn't find the source code
BlackBerry Development Advisor
Posts: 15,140
Registered: ‎07-09-2008
My Device: BlackBerry Passport
My Carrier: Bell

Re: Blackberry phone information

You can request it using the Developer Issue Tracker.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker