Android Open Source - BackbeamAndroid Location






From Project

Back to project page BackbeamAndroid.

License

The source code is released under:

Copyright (c) 2012 Level Apps S.L. <http://backbeam.io> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software...

If you think the Android project BackbeamAndroid 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 io.backbeam;
/*from   w w  w . jav a  2s .co  m*/
import java.io.Serializable;

public class Location implements Serializable {
  
  private static final long serialVersionUID = -1857479454606070940L;
  
  private double lat;
  private double lon;
  private double alt;
  private String address;
  
  public Location() {
    
  }
  
  public Location(double lat, double lon, double alt, String address) {
    this.lat = lat;
    this.lon = lon;
    this.alt = alt;
    this.address = address;
  }
  
  public Location(double lat, double lon, String address) {
    this.lat = lat;
    this.lon = lon;
    this.address = address;
  }
  
  public Location(double lat, double lon) {
    this.lat = lat;
    this.lon = lon;
  }
  
  public Location(String address) {
    this.address = address;
  }

  public double getLatitude() {
    return lat;
  }

  public void setLatitude(double lat) {
    this.lat = lat;
  }

  public double getLongitude() {
    return lon;
  }

  public void setLongitude(double lon) {
    this.lon = lon;
  }

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  public double getAltitude() {
    return alt;
  }

  public void setAltitude(double alt) {
    this.alt = alt;
  }

}




Java Source Code List

io.backbeam.BackbeamException.java
io.backbeam.BackbeamObject.java
io.backbeam.Backbeam.java
io.backbeam.Callback.java
io.backbeam.CollectionConstraint.java
io.backbeam.ControllerRequestCallback.java
io.backbeam.FetchCallback.java
io.backbeam.FetchPolicy.java
io.backbeam.FileUpload.java
io.backbeam.GCMBroadcastReceiver.java
io.backbeam.GCMCallback.java
io.backbeam.GCMIntentService.java
io.backbeam.IntentCallback.java
io.backbeam.JoinResult.java
io.backbeam.Json.java
io.backbeam.ListCallback.java
io.backbeam.Location.java
io.backbeam.NearFetchCallback.java
io.backbeam.ObjectCallback.java
io.backbeam.OperationCallback.java
io.backbeam.PushNotification.java
io.backbeam.Query.java
io.backbeam.RealTimeConnectionListener.java
io.backbeam.RealTimeEventListener.java
io.backbeam.RemoveCallback.java
io.backbeam.RequestCallback.java
io.backbeam.RequestDataCallback.java
io.backbeam.SignupCallback.java
io.backbeam.Utils.java