Skip to content

Commit c2343f0

Browse files
committed
Update README.md
Syntax highlighting.
1 parent 15032ee commit c2343f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Example Code
3131
------------
3232
Basically use `QRScanner` instead of `CodeScanner`.
3333

34-
```
34+
```java
3535
QRScanner.scanQRCode(new ScanResult() {
3636
public void scanCompleted(String contents, String formatName, byte[] rawBytes) {
3737
Dialog.show("Completed", contents, "OK", null);
@@ -51,7 +51,7 @@ Converting an existing app
5151
It should pretty much be a drop in replacement for CodeScanner. If you need to detect if code scanning is supported on the current platform then you need to keep the original check
5252
do not change this line to QRScanner:
5353

54-
```
54+
```java
5555
if (CodeScanner.getInstance() != null) {
5656
QRScanner.scanQRCode(myScanResult);
5757
} else {

0 commit comments

Comments
 (0)