I get the same Cell IDs when I set the phone to 2G only, I still get very large numbers. Any other ideas?
Thanks! On Feb 10, 6:10 am, Ne0 <[email protected]> wrote: > Large ones are more then likely 3G CellId's. Put the phone on 2G only > and see if you get any large numbers. > > On 3 Feb, 04:47, Ahmad <[email protected]> wrote: > > > > > Sorry for bringing up this topic from the past, but I was wondering if > > the OP or anyone else knows the cause or a solution to this problem > > > I'm to get the LAC:CID on the G1 (android 1.6) and it’s always > > returning larger than allowed (ffff is max allowed) numbers (or -1). > > > I get the exact same numbers whether I usegetCid() from > > GsmCellLocation or use onCellLocationChanged() from PhoneStateListener > > >http://developer.android.com/intl/de/reference/android/telephony/gsm/...... > > > Any guidance would be appreciated > > > On Mar 26 2009, 9:17 am, Richard Schilling > > > <[email protected]> wrote: > > > For the most part, when we call GsmCellLocation.getCid, we get normal > > > looking numbers: > > > > public synchronized static int GetCellId() { > > > > GsmCellLocation location = (GsmCellLocation) > > > phoneMan.getCellLocation > > > (); > > > return (location.getCid()); > > > > } > > > > This method often times returns small numbers under 10000 which seem > > > in line with other phones: > > > -1 (unknown, but expected per the documentation > > > 3151 > > > 4252 > > > 8251 > > > > etc ... all these look fine. But, recently we're noticing some rather > > > large numbers come back: > > > > 21267748 > > > 21267756 > > > 27821304 > > > > Has anyone seen this? And, does anyone know what accounts for such a > > > dramatic change in numbers? Do the larger numbers contain other bits > > > about the tower that I need to extract using bitwise flags? > > > > Thanks > > > > Richard Schilling > > > Root Wireless -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

