diff --git a/LocationLib/AndroidManifest.xml b/LocationLib/AndroidManifest.xml index 3fda38b..10821b5 100644 --- a/LocationLib/AndroidManifest.xml +++ b/LocationLib/AndroidManifest.xml @@ -15,23 +15,21 @@ + + - - - - - + diff --git a/LocationLib/bin/locationlib.jar b/LocationLib/bin/locationlib.jar index ca2cbd3..3cd8212 100644 Binary files a/LocationLib/bin/locationlib.jar and b/LocationLib/bin/locationlib.jar differ diff --git a/LocationLib/res/layout/powered_by_skyhook.xml b/LocationLib/res/layout/powered_by_skyhook.xml index 216e9aa..035bcc1 100644 --- a/LocationLib/res/layout/powered_by_skyhook.xml +++ b/LocationLib/res/layout/powered_by_skyhook.xml @@ -1,40 +1,36 @@ - - - - - - - - - - + android:layout_height="fill_parent" + android:background="#ffffff" + tools:ignore="ContentDescription" > + + + + + + + \ No newline at end of file diff --git a/LocationLib/res/values/strings.xml b/LocationLib/res/values/strings.xml index 5dc31fc..4472b8a 100644 --- a/LocationLib/res/values/strings.xml +++ b/LocationLib/res/values/strings.xml @@ -1,6 +1,9 @@ + SkyHookLib GPS Fix We are having issues finding your location. Please be patient as we continue to try in the background. - + Powered By: + + \ No newline at end of file diff --git a/LocationLib/src/com/TwentyCodes/android/location/CompassSensor.java b/LocationLib/src/com/TwentyCodes/android/location/CompassSensor.java index 8c4fd2c..7ffd163 100644 --- a/LocationLib/src/com/TwentyCodes/android/location/CompassSensor.java +++ b/LocationLib/src/com/TwentyCodes/android/location/CompassSensor.java @@ -222,9 +222,9 @@ public class CompassSensor{ */ public void setDeclination(final Location location){ if (location != null) { - final GeomagneticField geomagneticField = new GeomagneticField(new Double(location.getLatitude()).floatValue(), - new Double(location.getLongitude()).floatValue(), - new Double(location.getAltitude()).floatValue(), + final GeomagneticField geomagneticField = new GeomagneticField(Double.valueOf(location.getLatitude()).floatValue(), + Double.valueOf(location.getLongitude()).floatValue(), + Double.valueOf(location.getAltitude()).floatValue(), System.currentTimeMillis()); mDelination = geomagneticField.getDeclination(); } else {