diff --git a/android/res/values-sk/strings.xml b/android/res/values-sk/strings.xml
index 464dc465f..6042ed4ff 100644
--- a/android/res/values-sk/strings.xml
+++ b/android/res/values-sk/strings.xml
@@ -95,7 +95,7 @@
Skenovať a ukladať veľa čiarových kódov bez prerušenia
Hromadný režim skenovania
Kopírovať do schránky
- Použitie %s ako zástupný symbol pre ID produktu, a %f pre formát
+ Použitie %s ako zástupný symbol pre ID produktu, a %f pre formát
Vlastné vyhľadávanie URL
1D čiarové kódy
Dáta Matrix
diff --git a/android/src/com/google/zxing/client/android/book/SearchBookContentsActivity.java b/android/src/com/google/zxing/client/android/book/SearchBookContentsActivity.java
index 8033ea250..9704e5dd1 100644
--- a/android/src/com/google/zxing/client/android/book/SearchBookContentsActivity.java
+++ b/android/src/com/google/zxing/client/android/book/SearchBookContentsActivity.java
@@ -126,6 +126,7 @@ public final class SearchBookContentsActivity extends Activity {
}
isbn = intent.getStringExtra(Intents.SearchBookContents.ISBN);
+ // FIXME(dswitkin): Should not hardcode Books URL. Also does not handle books.google.ca etc.
if (isbn.startsWith("http://google.com/books?id=")) {
setTitle(getString(R.string.sbc_name));
} else {
diff --git a/android/src/com/google/zxing/client/android/result/ResultHandler.java b/android/src/com/google/zxing/client/android/result/ResultHandler.java
index 022e1ac78..4f538d6d8 100644
--- a/android/src/com/google/zxing/client/android/result/ResultHandler.java
+++ b/android/src/com/google/zxing/client/android/result/ResultHandler.java
@@ -364,10 +364,10 @@ public abstract class ResultHandler {
launchIntent(new Intent(Intent.ACTION_VIEW, uri));
}
- final void searchBookContents(String isbn) {
+ final void searchBookContents(String isbnOrUrl) {
Intent intent = new Intent(Intents.SearchBookContents.ACTION);
intent.setClassName(activity, SearchBookContentsActivity.class.getName());
- putExtra(intent, Intents.SearchBookContents.ISBN, isbn);
+ putExtra(intent, Intents.SearchBookContents.ISBN, isbnOrUrl);
launchIntent(intent);
}
diff --git a/android/src/com/google/zxing/client/android/result/URIResultHandler.java b/android/src/com/google/zxing/client/android/result/URIResultHandler.java
index 1f1442585..67608b278 100644
--- a/android/src/com/google/zxing/client/android/result/URIResultHandler.java
+++ b/android/src/com/google/zxing/client/android/result/URIResultHandler.java
@@ -76,6 +76,7 @@ public final class URIResultHandler extends ResultHandler {
}
private boolean isGoogleBooksURI() {
+ // FIXME(dswitkin): Should not hardcode Books URL. Also does not handle books.google.ca etc.
return ((URIParsedResult) getResult()).getURI().startsWith("http://google.com/books?id=");
}