1
0
mirror of https://github.com/bspeice/itcs4180 synced 2024-11-08 16:38:14 -05:00

Add a location image to the RestLocation

This commit is contained in:
Bradlee Speice 2014-04-19 13:34:39 -04:00
parent 2813af334c
commit 9df7d34430

View File

@ -18,6 +18,7 @@ public class RestLocation implements Serializable{
private String riddle;
private double locationLong;
private double locationLat;
private String locationImageURL;
private String key;
public int getId() {
@ -57,6 +58,12 @@ public class RestLocation implements Serializable{
this.key = key;
}
public String getLocationImageURL() {
return locationImageURL;
}
public void setLocationImageURL(String locationImageURL) {
this.locationImageURL = locationImageURL;
}
public Location getLocation() {
android.location.Location mLocation = new android.location.Location("NinerFinderServer");
mLocation.setLatitude(getLocationLat());