Code example for CdmaCellLocation

Methods: getBaseStationId, getBaseStationLatitude, getBaseStationLongitude, getNetworkId, getSystemId

0
                    String updateMsg = "cid=" + cellLocation.getCid() + 
                            ", lac=" + cellLocation.getLac(); 
                    Log.d("lzj", updateMsg); 
                } else if (location instanceof CdmaCellLocation) { 
                    CdmaCellLocation cellLocation = (CdmaCellLocation)location; 
                    String updateMsg = "BID=" + cellLocation.getBaseStationId() + 
                            ", SID=" + cellLocation.getSystemId() + 
                            ", NID=" + cellLocation.getNetworkId() + 
                            ", lat=" + cellLocation.getBaseStationLatitude() + 
                            ", long=" + cellLocation.getBaseStationLongitude() + 
                            ", SID=" + cellLocation.getSystemId() + 
                            ", NID=" + cellLocation.getNetworkId(); 
                    Log.d("lzj", updateMsg); 
                } 
            } catch (Exception e) { 
                Log.e("lzj", "Exception in CellStateHandler.handleMessage:", e); 
            } 
        } 
    }; 
 
    private String createName(long dateTaken) {