Hi,
I am trying to launch an App with an NFC tag.
I started with the NFC lib and added this into the Manisfest editor :
I have then successfully launched my app when I approach the NFC card.
But whenever my phone is locked, the App doesn't start.
Does it mean that when screen off, the NFC hardware is disabled or do I miss something ?
Thanks
I am trying to launch an App with an NFC tag.
I started with the NFC lib and added this into the Manisfest editor :
B4X:
AddActivityText(Main,
<intent-filter>
<action android:name="android.nfc.action.TECH_DISCOVERED"/>
</intent-filter>
<meta-data android:name="android.nfc.action.TECH_DISCOVERED"
android:resource="@xml/nfc_tech_filter" />)
CreateResource(xml, nfc_tech_filter.xml,
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<tech-list>
<tech>android.nfc.tech.NfcA</tech>
</tech-list>
</resources>)
I have then successfully launched my app when I approach the NFC card.
But whenever my phone is locked, the App doesn't start.
Does it mean that when screen off, the NFC hardware is disabled or do I miss something ?
Thanks