mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Fixed a bug in geo coordinate display, where we were always tacking on "deg N" and "deg E", which doesn't make sense. Really, N/S/E/W needs to be determined by sign, and the sign removed for W and S. However, since none of that can be translated easily, I removed it, and we now just print lat, long which is an acceptable standard.
I also bumped the Android client to v2.4 final. git-svn-id: https://zxing.googlecode.com/svn/trunk@776 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
e63f1c843c
commit
3ef2b0b618
|
@ -20,8 +20,8 @@ version to be published. The next versionCode will be 7, regardless of whether t
|
|||
versionName is 2.31, 2.4, or 3.0. -->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.google.zxing.client.android"
|
||||
android:versionName="2.4b2"
|
||||
android:versionCode="8">
|
||||
android:versionName="2.4"
|
||||
android:versionCode="9">
|
||||
<application android:icon="@drawable/launcher_icon"
|
||||
android:label="@string/app_name">
|
||||
<activity android:name=".CaptureActivity"
|
||||
|
|
|
@ -62,9 +62,8 @@ public final class GeoParsedResult extends ParsedResult {
|
|||
public String getDisplayResult() {
|
||||
StringBuffer result = new StringBuffer(50);
|
||||
result.append(latitude);
|
||||
result.append(" deg N, ");
|
||||
result.append(", ");
|
||||
result.append(longitude);
|
||||
result.append(" deg E");
|
||||
if (altitude > 0.0f) {
|
||||
result.append(", ");
|
||||
result.append(altitude);
|
||||
|
|
Loading…
Reference in a new issue