X-Git-Url: http://www.average.org/gitweb/?p=YkNeoCR.git;a=blobdiff_plain;f=src%2Forg%2Faverage%2Fnfcauthcr%2FCheck.java;h=27a3d7161acfc7fe444c10564acb6d16ebf9d736;hp=eaf804d25a25353345e535ab5aeda8672830bae3;hb=7382b20863e60aad30b9320f133773b71205f2d7;hpb=604d2e2d726b0af2d9581bb3161e0de13156caba;ds=sidebyside diff --git a/src/org/average/nfcauthcr/Check.java b/src/org/average/nfcauthcr/Check.java index eaf804d..27a3d71 100644 --- a/src/org/average/nfcauthcr/Check.java +++ b/src/org/average/nfcauthcr/Check.java @@ -84,6 +84,40 @@ public class Check extends Service { finish(); } + private AlertDialog makeDialog() { + AlertDialog.Builder builder = new AlertDialog.Builder(this); + builder.setTitle(R.string.challenging); + builder.setMessage(R.string.swipe); + builder.setOnCancelListener( + new DialogInterface.OnCancelListener() { + public void onCancel(DialogInterface dialog) { + finish(); + } + }); + return builder.create(); + } + +/* + + + + + + + + + + + + android.nfc.tech.IsoDep + + + +*/ + private void enableDispatch(int slot) { Intent intent = getIntent(); intent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);