From 7d3abc8896cea4050c57ec4fbece029e44666eb3 Mon Sep 17 00:00:00 2001 From: srowen Date: Thu, 6 Mar 2008 16:05:56 +0000 Subject: [PATCH] Add support for Android Intent URIs encoded in a barcode git-svn-id: https://zxing.googlecode.com/svn/trunk@251 59b500cc-1b3d-0410-9834-0bbf25fbcc57 --- core/src/com/google/zxing/client/result/ParsedReaderResult.java | 2 +- .../com/google/zxing/client/result/ParsedReaderResultType.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/com/google/zxing/client/result/ParsedReaderResult.java b/core/src/com/google/zxing/client/result/ParsedReaderResult.java index f1e8e5ce4..69cd954db 100644 --- a/core/src/com/google/zxing/client/result/ParsedReaderResult.java +++ b/core/src/com/google/zxing/client/result/ParsedReaderResult.java @@ -31,7 +31,7 @@ public abstract class ParsedReaderResult { private final ParsedReaderResultType type; - ParsedReaderResult(ParsedReaderResultType type) { + public ParsedReaderResult(ParsedReaderResultType type) { this.type = type; } diff --git a/core/src/com/google/zxing/client/result/ParsedReaderResultType.java b/core/src/com/google/zxing/client/result/ParsedReaderResultType.java index 712e95540..3e4031381 100644 --- a/core/src/com/google/zxing/client/result/ParsedReaderResultType.java +++ b/core/src/com/google/zxing/client/result/ParsedReaderResultType.java @@ -33,6 +33,7 @@ public final class ParsedReaderResultType { public static final ParsedReaderResultType UPC = new ParsedReaderResultType("UPC"); public static final ParsedReaderResultType URI = new ParsedReaderResultType("URI"); public static final ParsedReaderResultType TEXT = new ParsedReaderResultType("TEXT"); + public static final ParsedReaderResultType ANDROID_INTENT = new ParsedReaderResultType("ANDROID_INTENT"); private final String name;