Answer the question
In order to leave comments, you need to log in
How to read ISODep NFC tag on Android?
Good evening
Tell me how to do this please
Activity with IntentFilter is registered in the manifest
<activity
android:theme="@style/NoA"
android:noHistory="true"
android:excludeFromRecents="true"
android:showWhenLocked="true"
android:turnScreenOn="true"
android:name=".NFCDetectActivity">
<intent-filter>
<action android:name="android.nfc.action.TECH_DISCOVERED"/>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<meta-data
android:name="android.nfc.action.TECH_DISCOVERED"
android:resource="@xml/nfc_filter"/>
</activity>
<?xml version="1.0" encoding="utf-8"?>
<!-- This file is used as part of the filter for incoming NFC TECH_DISCOVERED intents. -->
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<tech-list>
<tech>android.nfc.tech.IsoDep</tech>
</tech-list>
</resources>
onNewIntent
onlyonCreate
Answer the question
In order to leave comments, you need to log in
https://github.com/nadam/nfc-reader/blob/master/sr...
https://github.com/pro100svitlo/Credit-Card-NFC-Reader
https://habr.com/en/post /367229/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question