IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Qt NFC Overview

Provides access to NFC enabled devices.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Qt NFC Overview

With the Qt NFC API typical use cases are:

  • Detecting NFC tags.

  • Reading and writing NDEF messages.

  • Registering NDEF message handlers.

  • Sharing files and messages.

The following sections describe how to use Qt NFC C++ classes and QML types for the above use cases.

On Android, the detection of new NFC tags only works in foreground applications. Android services do not support this because of API limitations on the Android side. The only way to use a Tag in a service is to provide an AIDL interface accepting the Tag and forward it to Qt as shown in the following example.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+