Jump to content

reading nfc Android


markokas

Recommended Posts

23 hours ago, markokas said:

Hi all,

Any idea how to read NFC tag on Android with Unigui app?

Br, Marko

If you can read NFC in a web browser (Chrome), then with Android + WebView you can too.

https://web.dev/nfc/

https://googlechrome.github.io/samples/web-nfc/

 

You can send from Android app to Webview some variables or perform functions :

https://stackoverflow.com/questions/11752052/passing-data-from-java-class-to-web-view-html

https://www.quora.com/How-do-you-pass-data-to-WebView-in-Android

https://medium.com/@sreeharikv112/communication-from-webview-to-native-ios-android-app-6d842cefe02d

  • Upvote 1
Link to comment
Share on other sites

  • 5 months later...
On 1/15/2023 at 6:57 PM, markokas said:

Thanks, I have checked Chrome reading NFC tags on Android works.

How to get nfc ID info to Unigui app (without Android app)?

Use HtmlFrame and AjaxCall to unigui?

Br, Marko

This is exactly how it works, but don't forget that you need SSL connection for testing, i.e. HTTPS, otherwise you have no access to the reader and only get error messages. 

Kind regards, Kattes

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...