Hello, I work as a Android apps developer on my company.
I am developing an application in Android basing on the Host-based Card Emulation method that uses the NFC functionality. I downloaded the sample program on this web site: http://developer.android.com/intl/es/samples/CardEmulation/index.html. I've tested and works well.
The problem I have is related to the NFC. I know that when you turn off your mobile screen, NFC stops working. And when turning on the screen, the NFC is enabled again. But in my case, after a short period of inactivity, when I turn on the screen, NFC is not working. Sometimes takes about 5 seconds and sometimes it does not work directly. This problem is solved by deactivating and reactivating the NFC option from the settings window.
The application needs to use the NFC always without manually deactivate and reactivate, and this is a problem I can not solve. I tried to use other phones that are not Samsung and the NFC work well with them. The problem is repeated with other devices Galaxy S4 and S4 Mini.
Can anyone help me with this? It is a problem of NFC chip or operating system? I can find some kind of solution?
Thank you very much in advance.
I am developing an application in Android basing on the Host-based Card Emulation method that uses the NFC functionality. I downloaded the sample program on this web site: http://developer.android.com/intl/es/samples/CardEmulation/index.html. I've tested and works well.
The problem I have is related to the NFC. I know that when you turn off your mobile screen, NFC stops working. And when turning on the screen, the NFC is enabled again. But in my case, after a short period of inactivity, when I turn on the screen, NFC is not working. Sometimes takes about 5 seconds and sometimes it does not work directly. This problem is solved by deactivating and reactivating the NFC option from the settings window.
The application needs to use the NFC always without manually deactivate and reactivate, and this is a problem I can not solve. I tried to use other phones that are not Samsung and the NFC work well with them. The problem is repeated with other devices Galaxy S4 and S4 Mini.
Can anyone help me with this? It is a problem of NFC chip or operating system? I can find some kind of solution?
Thank you very much in advance.