Skip to content Skip to sidebar Skip to footer

Android Nfc Writing Doesn't Work With 2 Activities But Works With 1

I found a tutorial on how to read and write a NDEF NFC tag via a Toggle Button. I wanted 2 separate buttons and after several days and some help (I am a newbie on Android), I have

Solution 1:

OK, I found it. In my WriteActivite3.java, inside the private void enableForegroundDispatchSystem() {} I call for MainActivity and not for WriteActivity3. All working now.


Post a Comment for "Android Nfc Writing Doesn't Work With 2 Activities But Works With 1"