Android Open Source - Andriod-PC-GPSApplication Print Manager






From Project

Back to project page Andriod-PC-GPSApplication.

License

The source code is released under:

MIT License

If you think the Android project Andriod-PC-GPSApplication listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/**
 * //w  ww  .ja  v a  2  s.  c o m
 */
package com.dev.appxpress.gps.android_pc.util;

/**
 * @author NThusitha
 *
 */
public class PrintManager {

  
  public static boolean PRINT_HEADER = true;
  
  /**
   * Print columns if not printed (happens once).
   * 
   * @return
   */
  public static void printHeader() {
    if (PRINT_HEADER) {
    /*  System.out.printf("%1$s                 %2$s     %3$s    %4$s      %5$s\n",
          "Time", "Latitude", "Longitude",
          "Average Number of SVs per Reading",
          "Average Number of Fixes Reachable");
      PRINT_HEADER = true;*/
      
      System.out.printf("%1$8s %2$22s %3$15s %4$20s %5$15s %6$15s %7$15s\n",
          "Time(UTC)", 
          "Latitude", 
          "Longitude",
          "Elevation",
          "Accuracy(m)",
          "Bearing",
          "Speed");
      PRINT_HEADER = false;
    }
  }
  
}




Java Source Code List

com.dev.appxpress.gps.android_pc.AndroidDataReader.java
com.dev.appxpress.gps.android_pc.AndroidPCClientLauncher.java
com.dev.appxpress.gps.android_pc.data.handler.GPSDataHandler.java
com.dev.appxpress.gps.android_pc.domain.GPSAware.java
com.dev.appxpress.gps.android_pc.domain.GPSWayPoint.java
com.dev.appxpress.gps.android_pc.runtime.exec.PortForwarder.java
com.dev.appxpress.gps.android_pc.util.DateTimeUtil.java
com.dev.appxpress.gps.android_pc.util.PrintManager.java
com.example.appxgpsmodule.Globals.java
com.example.appxgpsmodule.Loaded.java
com.example.appxgpsmodule.Start.java
com.example.appxgpsmodule.storage.ExternalStorageReader.java