Android Question NFC in background and send the code to another app

August Jimenez

Member
Licensed User
Hi,

I need to develop an APP to read a NFC card in backgroung and to paste the code to the active application. The behavior should be like the barcode reader. For example, I have a form in Chrome and the cursor in a text field. I need to read a NFC card and see the NFC ID in this field.

The code to read a NFC card is clear for me, but my problem is how to paste into the form field (like explained in the example before).

Thanks
 

August Jimenez

Member
Licensed User
Thanks Jamie,

It is not exactly what I need. Imagine you have anything app opened, for example the "notes". What I need is to read a NFC card and see the ID in the note. The real need is to use a form in Chrome, but the behavior would be the same; paste the ID in the app opened.

Regards
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
What I need is to read a NFC card and see the ID in the note.
The feature to read the NFC Code must be in the Notesapp then. You do not have any control over other apps.

The real need is to use a form in Chrome
Learn javascript, add a javascriptinterface to the page viewed and inject javascript-code to change any Dom-Element.
 
Upvote 0
Top