mirror of
https://github.com/zxing/zxing.git
synced 2025-02-02 05:41:08 -08:00
git-svn-id: https://zxing.googlecode.com/svn/trunk@812 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
3fc5820213
commit
0e253bbad1
|
@ -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.
|
||||
|
|
|
@ -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)));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue