com.google.zxing.client.android.FinishListener Java Examples

The following examples show how to use com.google.zxing.client.android.FinishListener. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: EncodeActivity.java    From ZXing-Standalone-library with Apache License 2.0 5 votes vote down vote up
private void showErrorMessage(int message) {
  AlertDialog.Builder builder = new AlertDialog.Builder(this);
  builder.setMessage(message);
  builder.setPositiveButton(R.string.button_ok, new FinishListener(this));
  builder.setOnCancelListener(new FinishListener(this));
  builder.show();
}
 
Example #2
Source File: EncodeActivity.java    From ZXing-Orient with Apache License 2.0 5 votes vote down vote up
private void showErrorMessage(int message) {
  AlertDialog.Builder builder = new AlertDialog.Builder(this);
  builder.setMessage(message);
  builder.setPositiveButton(R.string.button_ok, new FinishListener(this));
  builder.setOnCancelListener(new FinishListener(this));
  builder.show();
}
 
Example #3
Source File: EncodeActivity.java    From analyzer-of-android-for-Apache-Weex with Apache License 2.0 5 votes vote down vote up
private void showErrorMessage(int message) {
  AlertDialog.Builder builder = new AlertDialog.Builder(this);
  builder.setMessage(message);
  builder.setPositiveButton(R.string.button_ok, new FinishListener(this));
  builder.setOnCancelListener(new FinishListener(this));
  builder.show();
}
 
Example #4
Source File: EncodeActivity.java    From weex with Apache License 2.0 5 votes vote down vote up
private void showErrorMessage(int message) {
  AlertDialog.Builder builder = new AlertDialog.Builder(this);
  builder.setMessage(message);
  builder.setPositiveButton(R.string.button_ok, new FinishListener(this));
  builder.setOnCancelListener(new FinishListener(this));
  builder.show();
}
 
Example #5
Source File: EncodeActivity.java    From Study_Android_Demo with Apache License 2.0 5 votes vote down vote up
private void showErrorMessage(int message) {
  AlertDialog.Builder builder = new AlertDialog.Builder(this);
  builder.setMessage(message);
  builder.setPositiveButton(R.string.button_ok, new FinishListener(this));
  builder.setOnCancelListener(new FinishListener(this));
  builder.show();
}
 
Example #6
Source File: EncodeActivity.java    From barcodescanner-lib-aar with MIT License 5 votes vote down vote up
private void showErrorMessage(int message) {
  AlertDialog.Builder builder = new AlertDialog.Builder(this);
  builder.setMessage(message);
  builder.setPositiveButton(R.string.button_ok, new FinishListener(this));
  builder.setOnCancelListener(new FinishListener(this));
  builder.show();
}
 
Example #7
Source File: EncodeActivity.java    From reacteu-app with MIT License 5 votes vote down vote up
private void showErrorMessage(int message) {
  AlertDialog.Builder builder = new AlertDialog.Builder(this);
  builder.setMessage(message);
  builder.setPositiveButton(fakeR.getId("string", "button_ok"), new FinishListener(this));
  builder.setOnCancelListener(new FinishListener(this));
  builder.show();
}
 
Example #8
Source File: EncodeActivity.java    From android-apps with MIT License 5 votes vote down vote up
private void showErrorMessage(int message) {
  AlertDialog.Builder builder = new AlertDialog.Builder(this);
  builder.setMessage(message);
  builder.setPositiveButton(R.string.button_ok, new FinishListener(this));
  builder.setOnCancelListener(new FinishListener(this));
  builder.show();
}
 
Example #9
Source File: EncodeActivity.java    From zxingfragmentlib with Apache License 2.0 5 votes vote down vote up
private void showErrorMessage(int message) {
  AlertDialog.Builder builder = new AlertDialog.Builder(this);
  builder.setMessage(message);
  builder.setPositiveButton(R.string.button_ok, new FinishListener(this));
  builder.setOnCancelListener(new FinishListener(this));
  builder.show();
}