Flutter windows app wanting to detect the NFC reader connected via USB - flutter

Hello everyone I am new to the community (Flutter community) and I want to build an app where basically my Windows app will interact with an NFC tag reader/writer that will get connected to my laptop via USB. So when the NFC reads a tag, the code must get transmitted to my app and vice-versa if I want to write something to a tag I have to be able to do it using the windows app and send the code to the NFC reader writer that will write that data to the tag.
My question is: does anyone implemented something like this or a plug-in or something that allows me to connect the NFC reader to the windows app?
Thank you in advance.

NFC related development SDK.
https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/_nfpdrivers/
Here is a project about NFC Class Extension that you can check out.
https://github.com/microsoft/NFC-Class-Extension-Driver

Related

How to create Host-based card emulation android application

I am trying to create an android HCE application to emulate an NFC tag.
By following https://developer.android.com/guide/topics/connectivity/nfc/hce, I successfully create an app to send and receive APDU command. However, it just worked when we use own reader app. When using other NFC reader app, I found that processCommandApdu(byte[] apdu, Bundle extras) didn't work, so we cannot emulate NFC tag.
So anyone can tell me how to create an HCE app that can be read by other NFC reader. Thanks

How to exchange data and files between two devices by NFC using Flutter?

I am a flutter developer, I want to make an application to exchange messages and files by using NFC technique
I used nfc_in_flutter plugin for reading and writing NFC tags but I don't know how to send and receive data and files between devices by using NFC in flutter.
Could any one help me, please?
Generally you don't try and send data between 2 devices using NFC, there is a standard for it, but most devices don't support it (it has never been supported on iOS and Android has dropped support for it as it was unreliable)
Use Bluetooth or Wifi Direct instead.
Update:
If you have to use NFC then the nfc_in_flutter plugin is no use, you are going to have to call native code for each platform yourself / write your own plugin.
And for 2 iOS devices, then forget it, just not possible because of what the OS supports.
When one device is an Android there is a complicated method that some people have had some success with but it still has it's issue.
The Android device does Host Card Emulation (HCE) and pretends to be a really Type 4 NFC tag, then other devices can read/write to it as if it were a real Tag which both iOS and Android Support. BUT on older Android devices then the deprecated Android Beam might get in the way and you would need to use enableReaderMode to do the read/write on Android.
You will need to put in a lot of error handle in the read/write App as NFC comms is very slow and very prone to loosing the connection, so it would have to handle loosing the connection and restarting where it last successful read from/written to.
All these problems make this extremely difficult to achieve a workable solution and was the main reason Google removed Android Beam for Android to Android sharing (which does use a NFC peer to peer protocol)

Create Samsung Smart TV Offline Application

I've been asked to create a Samsung Smart TV offline App but I really don't know what it means to Offline Application.
The client said me
The app has no GUI. It's not like a regular app. The TV will be
pointed to a URL. That URL has specific Samsung TV instructions to
download the files and when the TV has it, it will open the zip and
display the content as required.
I've setup the development environment and have studied about Samsung AppsFramework and learned how to start an application but really confusing about the offline Application.
Could anybody please make me understand that what the client does exactly want?
Thanks
What the client wants in my opinion is an app that can work on the smart TV without having to connect to the internet.
It would obviously need to connect to obtain the download files, but once the app is installed it will have offline functionality and not need to connect to the internet to run.
Have a look at http://electron.atom.io/ to build cross platform applications like this.
It is really difficult to say what they mean by offline as we dont have a brief. But offline generally refers to an app that has everything in the initial download. Example, a dictionary app will have all of the words and definitions in the download so they are always available even if the device is not connected.
Hope this helps
Samsung API provides interface for reading and writing files so you can download and store something for later offline use.
Alternatively you can use localStorage API.
The app has no GUI
This part is strange. Launched app occupy whole screen. You need some use-case description from client. Find out what problem is your client want to solve with this app.

How to connect to an iphone through Java? Is this even possible?

I am trying to write a program in Java that can connect to an iPhone that is attached to a computer via apple USB cable and view its files. I have not found anything like this online and have been wondering if this is even possible. Any suggestions?
iOS is problematic because of DRM. Android is also moving in that direction making standard file system browsing difficult so I doubt it would be possible to view arbitrary files on the device.
Codename One allows you to build a Java app that will run on the iPhone itself which might allow you to access some data. However, apps running in the device also have restrictions and can't access the full file system only their own.

How to initiate/send SMS from a HTML5 webpage using devices native functions?

I am wondering how can I open the send SMS application by using a web control of a HTML5 page on Android and iPhone. I want to use the device native SMS sending app, with a prepopulated value from the web.
Further to other answers I can confirm that smsto:555:bodytext does not work on an iPhone running iOS5.
What does work (and I've tested it) on Android is the format:
sms:444?body=hello
Example:
Tap to say hello!
On iPhone the ?body=hello will prevent it working at all, and you should use just sms:555 instead.
sms:555
Example
Tap to text us!
I have tested the below and it works:
Using HTML Anchor tag:
Subscribe
Using JavaScript:
window.open('sms:111?body=SUBSCRIBE', '_self');
With Android 3.0 SDK Google has started exposing API in HTML5 for device access. An example is listed here. It may not be enough for what you seek to do.
I dont know enough about iphone to advise either way.