Package net.rim.device.api.gps

Examples of net.rim.device.api.gps.SatelliteInfo


        StringBuffer buffer = new StringBuffer();
        Enumeration satEnum = location.getSatelliteInfo();
        if(satEnum!=null && satEnum.hasMoreElements()){
          buffer.append("ID\tAzimuth\tElevation\tSignal\n");
          while(satEnum.hasMoreElements()){
            SatelliteInfo satInfo = (SatelliteInfo)satEnum.nextElement();   
            if(satInfo!=null && satInfo.isValid()){
              buffer.append(satInfo.getId() + "\t" + satInfo.getAzimuth() + "\t" + satInfo.getElevation() + "\t" + satInfo.getSignalQuality() + "\n");
            }
          }
          satField.setText(buffer.toString());
        } else{
          buffer.append("No satellite information available for current location fix");
View Full Code Here

TOP

Related Classes of net.rim.device.api.gps.SatelliteInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.