Code example for GsmCellLocation

Methods: getCidgetLac

0
				} 
				//��ͨ��2G������� China Unicom   1 NETWORK_TYPE_GPRS 
				else if(type == TelephonyManager.NETWORK_TYPE_GPRS)
				{ 
					GsmCellLocation location = (GsmCellLocation)tm.getCellLocation();  
					int cellIDs = location.getCid();  
					int lac = location.getLac(); 
					CellIDInfo info = new CellIDInfo();
                    info.cellId = cellIDs;
                    info.locationAreaCode = lac;
 
                    info.radioType = "gsm";
                    CellID.add(info);
				} 
				else 
				{ 
//					tv.setText("Current Not Support This Type."); 
					return null; 
				} 
				 
Stop searching for code, let great code find you!  Add Codota to your java IDE