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
Highlighted
New Developer
Posts: 28
Registered: ‎11-04-2009
My Device: Not Specified

Retrieve ALL cell tower infos in range

 

Hello everyone,

 

According BlackBerry Api we have:

 

static GPRSInfo.GPRSCellInfo getCellInfo() 

          Retrieves information on the current cell.

 

But I would like to get ALL cell tower infos in range of the device.

 

Is there any way to do this?

If there isn't, is there any way to force device to change to another cell tower?

 

thanks in advance.

 

I tried to change the world, but I couldn't find the source code
New Member
Posts: 1
Registered: ‎03-29-2010
My Device: 8520
My Carrier: MTN

Re: Retrieve ALL cell tower infos in range

I know its an old thread, but the question still remains. Has this been answered somewhere else or does nobody know?
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Retrieve ALL cell tower infos in range

As far as I know this is not possible.  The supplied API will only give you the active tower.

New Contributor
Posts: 6
Registered: ‎05-28-2012
My Device: BB Curve 8520
My Carrier: Vodacom

Re: Retrieve ALL cell tower infos in range

I know this is an old post, but I find myself in a similar situation.

 

Has no one been able to retrieve all cell tower Ids within range?

 

 

 

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Retrieve ALL cell tower infos in range

Welcome to the forums.

 

Still the same AFAIK sorry.

New Contributor
Posts: 6
Registered: ‎05-28-2012
My Device: BB Curve 8520
My Carrier: Vodacom

Re: Retrieve ALL cell tower infos in range

@ Peter, I was able to find an application that can do this.

I guess the confusion here was that I didnt really want the entire info of the cell sites in range, but I wanted to retrieve the "number of cellsites" in range. Smiley Wink
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Retrieve ALL cell tower infos in range

"I was able to find an application that can do this"

 

Really? Which?

New Contributor
Posts: 4
Registered: ‎08-22-2013
My Device: 9700
My Carrier: MegaFon

Re: Retrieve ALL cell tower infos in range

You can recieve MCC and MNC of another cell towers like that:

 


amount = RadioInfo.getNumberOfNetworks();

code = RadioInfo.getCurrentNetworkIndex();

mcc = RadioInfo.getMCC(code);
mnc = RadioInfo.getMNC(code); //current  Network

 

if (amount > 1) {
code2 = 0;
if (code2==code) code2++;
mcc = RadioInfo.getMCC(code2);
mnc = RadioInfo.getMNC(code2); //second Network

}

 

etc.


 

but how to get Signal Level of the second Network and LAC?

 

Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Retrieve ALL cell tower infos in range

Have you ever actually got more than one?  I didn't think it was possible to. 

New Contributor
Posts: 4
Registered: ‎08-22-2013
My Device: 9700
My Carrier: MegaFon

Re: Retrieve ALL cell tower infos in range

yes, like this:

 


 

if (amount > 2) {
code3 = 0;
while (code3==code || code3==code2) code3++;
mcc = RadioInfo.getMCC(code3);
mnc = RadioInfo.getMNC(code3);

} 


 

etc.