diff --git a/UNCCScavenger/src/edu/uncc/scavenger/rest/Location.java b/UNCCScavenger/src/edu/uncc/scavenger/rest/Location.java index 2276ba7..00968d7 100644 --- a/UNCCScavenger/src/edu/uncc/scavenger/rest/Location.java +++ b/UNCCScavenger/src/edu/uncc/scavenger/rest/Location.java @@ -38,4 +38,11 @@ public class Location { public void setLocationLat(double locationLat) { this.locationLat = locationLat; } + + public android.location.Location getAndroidLocation() { + android.location.Location mLocation = new android.location.Location("NinerFinderServer"); + mLocation.setLatitude(getLocationLat()); + mLocation.setLongitude(getLocationLong()); + return mLocation; + } }