BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 09-06-2006, 06:40 PM   #1
drofnas
New Member
 
Join Date: Sep 2006
Model: 7130c
Posts: 6
Question How to get the Cell ID?

Please Login to Remove!

Does anyone know how OR if it's even possible to get the Cell Tower ID using the BlackBerry SDK?

My BlackBerry won't be in until next week so I haven't actually had the time to play around with this. What I'm trying to do is create a simple application that will keep track of the Cell Towers that are in a specific area. That way you can specify the Cell Towers that are near Work, and change the settings on your phone to be work related (like turning the ringer off and vibrate on). I guess you can say it's a GPS application that just deals with changing the settings on your phone and not actually giving you location information.

I don't really care about the specific of the Cell Tower, just a Unique ID that will distinguish it from others.

I'm not sure if it matters or not, but the BlackBerry phone I want to do this on is the 7130c

Last edited by drofnas; 09-06-2006 at 08:03 PM..
Offline  
Old 09-06-2006, 10:42 PM   #2
Texas_Traveler
Thumbs Must Hurt
 
Texas_Traveler's Avatar
 
Join Date: Aug 2005
Model: Bold
Carrier: AT&T
Posts: 117
Default

I think it is possible. Check out this posting.

http://www.blackberryforums.com/afte...o-utility.html

I haven't tried the app yet.

Also see this thread: http://www.blackberryforums.com/gene...strengths.html

Hope that helps. I'd be curious what you figure out.
Offline  
Old 09-07-2006, 12:30 AM   #3
drofnas
New Member
 
Join Date: Sep 2006
Model: 7130c
Posts: 6
Default thanks...

When I get my BlackBerry in next week I will definatly give that app a try. It is too bad the source code isn't provided, but at least I know it's possible now.

If I am able to make a working version of this application I'll definatly be posting the source code and a downloadable executable on SourceForge so that anyone can take the code and do what they please with it.
Offline  
Old 09-07-2006, 12:00 PM   #4
fsa3
Talking BlackBerry Encyclopedia
 
Join Date: Mar 2005
Model: 9000
Carrier: ATT
Posts: 247
Default

Is there any way to translate the cell tower ID to a zip code or location?
__________________
theSUGGESTR.com | BB on Fire
Offline  
Old 09-09-2006, 03:09 AM   #5
ujbandara
Thumbs Must Hurt
 
ujbandara's Avatar
 
Join Date: Aug 2005
Location: Upul Bandara from Colombo Sri Lanka -----------------------------
Model: 7290
Carrier: Dialog
Posts: 153
Default

Here are few info, check weather this is helpful

Integer.toString(GPRSInfo.getCellInfo().getCellId( ));
//Retrieves the current cell ID.

Integer.toString(GPRSInfo.getCellInfo().getLAC());
//Retrieves the Location Area Code.

Integer.toString(GPRSInfo.getCellInfo().getBSIC()) ;
//Base Station Identity Code.
__________________
Did you ever compare Affrican Elephants and Sri Lankan Elephants?
Where are classic Elephants?

Upul
Offline  
Old 09-12-2006, 12:21 AM   #6
drofnas
New Member
 
Join Date: Sep 2006
Model: 7130c
Posts: 6
Default thanks....

That's exactly what I was looking for... Now I just need to find out how I can programmatically change the Profile on my Blackberry
Offline  
Old 09-12-2006, 01:48 AM   #7
ujbandara
Thumbs Must Hurt
 
ujbandara's Avatar
 
Join Date: Aug 2005
Location: Upul Bandara from Colombo Sri Lanka -----------------------------
Model: 7290
Carrier: Dialog
Posts: 153
Default

What u mean by "change the Profile on my Blackberry"
__________________
Did you ever compare Affrican Elephants and Sri Lankan Elephants?
Where are classic Elephants?

Upul
Offline  
Old 09-12-2006, 11:25 AM   #8
drofnas
New Member
 
Join Date: Sep 2006
Model: 7130c
Posts: 6
Default

The profiles, such as Loud, Vibrate, Normal, Quite, etc... That allow you to save different settings you want on your phone for the different sounds, ring tones, and how loud the different sounds are.

Well, I would like to be able to change this thru code. For example if I created a program that looked at what time it was, say 9AM in the morning on a Monday, well there is a good chance I will be at work at that time, so I would like to change to either the Vibrate or Quite Profile.

Make sense?
Offline  
Old 09-12-2006, 10:47 PM   #9
ujbandara
Thumbs Must Hurt
 
ujbandara's Avatar
 
Join Date: Aug 2005
Location: Upul Bandara from Colombo Sri Lanka -----------------------------
Model: 7290
Carrier: Dialog
Posts: 153
Default

Yes,
Concept and theory is good, & it might be use in advanced situations.
__________________
Did you ever compare Affrican Elephants and Sri Lankan Elephants?
Where are classic Elephants?

Upul
Offline  
Old 10-29-2006, 10:31 PM   #10
Katrina Niolet
Thumbs Must Hurt
 
Join Date: Jul 2005
Location: Mississippi
Model: 8100
Carrier: T-Mobile
Posts: 73
Default

Quote:
Originally Posted by fsa3
Is there any way to translate the cell tower ID to a zip code or location?
Hehe, yes and no. If you have a database of the cell tower ID's and the zip code they are or lat-long of the towers, yes. Otherwise no.
Offline  
Old 10-30-2006, 10:33 AM   #11
logan
Thumbs Must Hurt
 
Join Date: Aug 2006
Model: 7520
Carrier: TELUS
Posts: 116
Default

I don't think it is possible to programmitcally change your profile. This idea has been around for a while and not done before. Good luck
__________________
Java Developer
Applications Available Here
Offline  
Old 10-30-2006, 11:22 AM   #12
drofnas
New Member
 
Join Date: Sep 2006
Model: 7130c
Posts: 6
Default

Which is what stopping me right now, I can get the Cell IDs but I can't change the profiles yet, since it seems that BlackBerry decided to not include this with in their SDK.
__________________
Drofnas
Blackberry 7130c (Cingular)
OS v4.1.0.321
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Bissell 3-in-1 Lightweight Corded Stick Vacuum 2030 picture

Bissell 3-in-1 Lightweight Corded Stick Vacuum 2030

$28.88



BISSELL 3-in-1 Turbo Lightweight Stick Vacuum, 2610 (Black) picture

BISSELL 3-in-1 Turbo Lightweight Stick Vacuum, 2610 (Black)

$37.96



Dirt Devil Scorpion Plus Corded Handheld Vacuum Cleaner SD30025VB Red NEW picture

Dirt Devil Scorpion Plus Corded Handheld Vacuum Cleaner SD30025VB Red NEW

$35.00



Shop Vacuum upholstery extractor conversion kit auto vac detail carpet or home.  picture

Shop Vacuum upholstery extractor conversion kit auto vac detail carpet or home.

$192.00



Cordless Vacuum Cleaner Stick Handheld for Carpet Pet Hair & Wood Floor Bagless picture

Cordless Vacuum Cleaner Stick Handheld for Carpet Pet Hair & Wood Floor Bagless

$96.90



VEVOR 5 Gallon Vacuum Chamber with 5CFM Vacuum Pump Kit 1/3HP Single Stage 110V picture

VEVOR 5 Gallon Vacuum Chamber with 5CFM Vacuum Pump Kit 1/3HP Single Stage 110V

$115.98







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