Android Open Source - AU-Shuttle-Tracker-App Bus






From Project

Back to project page AU-Shuttle-Tracker-App.

License

The source code is released under:

GNU General Public License

If you think the Android project AU-Shuttle-Tracker-App 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

package edu.american.student;
/* w w  w.  j  a v  a 2s  .  com*/
import edu.american.student.util.LatLonPoint;

/**
 * This is an class which holds bus status. Its not quite used much
 * @author Cam Cook
 *
 */
public class Bus 
{

  public LatLonPoint location;
  public int speed= -1;
  public String status="Unknown";
  public String nearestAddress="Unknown";
  public int busNumber =-1;
  
  public Bus()
  {
    
  }
  public LatLonPoint getLocation()
  {
    return location;
  }
  public String getStatus()
  {
    return status;
  }
  public String getNearestAddress()
  {
    return nearestAddress;
  }
  public int busNumber()
  {
    return busNumber;
  }
  public void setLocation(LatLonPoint busLocation) {
    // TODO Auto-generated method stub
    
  }
  public void setNearestAddress(String address) {
    // TODO Auto-generated method stub
    
  }
  public void setStatus(String status2) {
    // TODO Auto-generated method stub
    
  }
  public void setSpeed(String speed2) {
    // TODO Auto-generated method stub
    
  }
  public void setBusNumber(int parseInt) {
    // TODO Auto-generated method stub
    
  }
}




Java Source Code List

edu.american.student.AUBusTrackerActivity.java
edu.american.student.BlueRoute.java
edu.american.student.Bus.java
edu.american.student.DotMapOverlay.java
edu.american.student.RedRoute.java
edu.american.student.RouteOverlay.java
edu.american.student.ShareRoute.java
edu.american.student.util.GPSQueue.java
edu.american.student.util.HTTPObject.java
edu.american.student.util.LatLonPair.java
edu.american.student.util.LatLonPoint.java