Commit 5babb645 authored by Nastuzzi Samy's avatar Nastuzzi Samy
Browse files

Merge branch 'release/v0.10.1'

parents fb7e115c d80c5c91
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="fr.utc.simde.jessy"
android:versionCode="30"
android:versionName="0.10.0">
android:versionCode="31"
android:versionName="0.10.1">
<uses-permission android:name="android.permission.NFC" />
<uses-permission android:name="android.permission.INTERNET" />
......
......@@ -52,4 +52,15 @@ public class QRCodeReaderActivity extends BaseActivity {
this.scannerView.setResultHandler(this.cameraHandler);
this.scannerView.startCamera(CAMERA_FACING_BACK);
}
@Override
public void onIdentification(final String badgeId) {
this.scannerView.stopCamera();
dialog.infoDialog(QRCodeReaderActivity.this, getString(R.string.badge_read), "Badge: " + badgeId, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
scannerView.startCamera(CAMERA_FACING_BACK);
}
});
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment