CdmaCellLocation getBaseStationLongitude - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for CdmaCellLocation getBaseStationLongitude method.

This code example shows how to use the following methods:getBaseStationId, getBaseStationLatitude, getBaseStationLongitude, getNetworkId, getSystemId
This code example shows how to use the following methods:getBaseStationId, getBaseStationLatitude, getBaseStationLongitude, getNetworkId, getSystemId
This code example shows how to use the following methods:getBaseStationLatitude, getBaseStationLongitude
 
		// ÅжÏCellLocationÀàÐÍ£¬ÊÇgsm»òcdma 
		if (cellLocation != null && cellLocation instanceof CdmaCellLocation) {
			Double[] rls = new Double[2];
				CdmaCellLocation cdmaCellLocation = (CdmaCellLocation) cellLocation;
				double lat = (double) cdmaCellLocation.getBaseStationLatitude() / 14400;
				double lon = (double) cdmaCellLocation
						.getBaseStationLongitude() / 14400;
				rls[0] = lat;
				rls[1] = lon;
				return rls;
			} 
 
		return null ; 
		 
	} 
	 
	/** 
	 * ¶¨Î»¼¯ºÏ 
	 * */ 
4
CodeRank
getBaseStationLongitude Method Overview
Longitude is a decimal number as specified in 3GPP2 C.S0005-A v6.0.
See Code Examples for other Android CdmaCellLocation Methods: