Open gilse opened 10 years ago
if(cellLocation instanceof GsmCellLocation) { gsmCellLocation = (GsmCellLocation)cellLocation; cellId = gsmCellLocation.getCid(); } else if(cellLocation instanceof CdmaCellLocation) { cdmaCellLocation = (CdmaCellLocation)cellLocation; cellId = cdmaCellLocation.getBaseStationId(); }
"_id" : NumberLong(100), "user_id" : NumberLong(73), "exeptionTime" : "2014-10-20 12:33:37", "exeptionData" : "VersionCode=19 +++++++ java.lang.ClassCastException: android.telephony.cdma.CdmaCellLocation cannot be cast to android.telephony.gsm.GsmCellLocation\n at com.lazooz.lbm.businessClasses.TelephonyDataTracker.checkEveryPeriod(TelephonyDataTracker.java:65)\n at com.lazooz.lbm.businessClasses.TelephonyDataTracker$2.run(TelephonyDataTracker.java:54)\n at java.util.Timer$TimerImpl.run(Timer.java:284)\n ", "db_insert_time" : ISODate("2014-10-20T12:33:38.54Z")