Android Question How to not swap applications when reading a NFC card?

mmanso

Active Member
Licensed User
Longtime User
Hi everyone,

I am running a remote acess to a linux machine using the nomachine. I need also to read NFC cards on my android device.
My app read an nfc card, and then send using sockets the data read to the other computer running linux.
My app is working fine, the problem is: When I have the nomachine running on my device screen, I read the nfc card and my app jump to the front. I need to press back to bring the nomachine againg to the front.
So, what I am looking for, after search a lot here in the forum and on other places is a way so I can read the nfc and my app stay still in the back keeping the nomachine in the front.
I am using some code Erel posted to read the nfc cards.
Any help?
Thanks in advance

Mmanso.
 
Last edited:
Top