Android Open Source - android-project Coordinate






From Project

Back to project page android-project.

License

The source code is released under:

GNU General Public License

If you think the Android project android-project 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 pl.wroc.pwr.patryk;
//from   ww w.jav a  2s .c  o m
public class Coordinate {
  private long id;
  private double altitude;
  private double latitude;
  private double longitude;
  
  public long getId() {
    return id;
  }
  public void setId(long id) {
    this.id = id;
  }
  public double getAltitude() {
    return altitude;
  }
  public void setAltitude(double altitude) {
    this.altitude = altitude;
  }
  public double getLatitude() {
    return latitude;
  }
  public void setLatitude(double latitude) {
    this.latitude = latitude;
  }
  public double getLongitude() {
    return longitude;
  }
  public void setLongitude(double longitude) {
    this.longitude = longitude;
  }

  // Will be used by the ArrayAdapter in the ListView
  @Override
  public String toString() {
    return   "Coordinate [id=" + id + ", altitude=" + altitude + 
        ", latitude=" + latitude + ", longitude=" + longitude + "]";
  }
}




Java Source Code List

pl.wroc.pwr.patryk.Coordinate.java
pl.wroc.pwr.patryk.CoordinatesDataSource.java
pl.wroc.pwr.patryk.MainActivity.java
pl.wroc.pwr.patryk.MyArrayAdapter.java
pl.wroc.pwr.patryk.MyLocationListener.java
pl.wroc.pwr.patryk.MySQLiteHelper.java
pl.wroc.pwr.patryk.RunningChangeEvent.java
pl.wroc.pwr.patryk.RunningListenerImpl.java
pl.wroc.pwr.patryk.RunningListener.java