diff --git a/build.gradle b/build.gradle index 87c0247..d21a4ef 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:3.5.3' + classpath 'com.android.tools.build:gradle:3.6.0' } } diff --git a/examples/hostCardEmulationClient/src/main/java/com/github/skjolber/nfc/external/hceclient/HceInvokerActivity.java b/examples/hostCardEmulationClient/src/main/java/com/github/skjolber/nfc/external/hceclient/HceInvokerActivity.java index a0c0587..748473b 100644 --- a/examples/hostCardEmulationClient/src/main/java/com/github/skjolber/nfc/external/hceclient/HceInvokerActivity.java +++ b/examples/hostCardEmulationClient/src/main/java/com/github/skjolber/nfc/external/hceclient/HceInvokerActivity.java @@ -15,6 +15,7 @@ import android.widget.TextView; import java.io.IOException; +import java.util.Arrays; /** @@ -106,6 +107,7 @@ public void onTagDiscovered(Tag tag) { if(isoDep.getHiLayerResponse() != null) { Log.d(TAG, "HiLayer bytes were '" + Utils.convertBinToASCII(isoDep.getHiLayerResponse()) + "'"); } + Log.d(TAG, "Technologies were " + Arrays.asList(tag.getTechList()) + ", id was " + Utils.convertBinToASCII(tag.getId())); try { try { // https://stackoverflow.com/questions/44967567/ioexception-with-host-based-card-emulation @@ -116,12 +118,6 @@ public void onTagDiscovered(Tag tag) { Log.i(TAG, " -> " + Utils.convertBinToASCII(command)); - Log.d(TAG, "Historical bytes were '" + Utils.convertBinToASCII(isoDep.getHistoricalBytes()) + "'"); - if(isoDep.getHiLayerResponse() != null) { - Log.d(TAG, "HiLayer bytes were '" + Utils.convertBinToASCII(isoDep.getHiLayerResponse()) + "'"); - } - - // 6A 82: file not found runOnUiThread(new Runnable() { diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 3f12648..ae106ca 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Thu Oct 03 23:25:54 CEST 2019 +#Wed Mar 11 10:23:46 CET 2020 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip