How to trigger reading NFC tags from screens
I’m trying to write code so my android app could read/write NFC tags from a screen. I use Kotlin and Jetpack Compose. I have one MainActivity.kt
and two screens: HomeScreen.kt
and NFCReader.kt
. A button on HomeScreen.kt
will open NFCReader.kt
and a button on NFCReader.kt
will start the read/write process.