git-svn-id: http://zxing.googlecode.com/svn/trunk@812 59b500cc-1b3d-0410-9834-0bbf25f...
authorsrowen <srowen@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Sat, 3 Jan 2009 14:25:49 +0000 (14:25 +0000)
committersrowen <srowen@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Sat, 3 Jan 2009 14:25:49 +0000 (14:25 +0000)
android/src/com/google/zxing/client/android/result/AddressBookResultHandler.java
android/src/com/google/zxing/client/android/result/ResultHandler.java

index 37a96f6..3fb8332 100644 (file)
@@ -35,7 +35,7 @@ public final class AddressBookResultHandler extends ResultHandler {
   private static final DateFormat DATE_FORMAT = new SimpleDateFormat("yyyyMMdd");
 
   private final boolean[] mFields;
-  private final int mButtonCount;
+  private int mButtonCount;
 
   // This takes all the work out of figuring out which buttons/actions should be in which
   // positions, based on which fields are present in this barcode.
index af0ab9c..277fa6d 100644 (file)
@@ -242,7 +242,7 @@ public abstract class ResultHandler {
     launchIntent(new Intent(Intent.ACTION_VIEW, Uri.parse("geo:0,0?q=" + Uri.encode(query))));
   }
 
-  public final void getDirections(float latitude, float longitude) {
+  public final void getDirections(double latitude, double longitude) {
     launchIntent(new Intent(Intent.ACTION_VIEW, Uri.parse("http://maps.google." +
         LocaleManager.getCountryTLD() + "/maps?f=d&daddr=" + latitude + ',' + longitude)));
   }