×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2007
    Posts
    53

    Question Reading tag UID with just QML?

    Hi,
    is it possible to read just the tag UID using QML?

    http://doc.qt.nokia.com/qtmobility/qml-nearfield.html
    doesn't seem to say anything about reading the UID, just the NDEF record on the tag. Since I'm not symbian dev, it would be nice to be able to do this with just QML.

    However, if there is some easy solution where I can just copy paste correct symbian code classes and use it from QML I'll take it if you give clear instuctions what to do

  2. #2
    Nokia Developer Expert
    Join Date
    Sep 2011
    Posts
    382

    Re: Reading tag UID with just QML?

    Even with other QML elements in Qt Mobility Connectivity plugin UID does not seems to be a priority to focus on.

    However there is a ready made solution!

    Now how do they do it? Take the ENFCReadUID case from CNFCTagReadingAppUi::HandleCommandL(). These are a bit of Active Objects though such things are easy to mix with Qt.

    The other route could be to use NFC Info and get the relevant part and logic from NfcInfo::analyzeTarget().

    /0

Similar Threads

  1. Reading XML
    By Anne80 in forum [Archived] Beginning Qt
    Replies: 8
    Last Post: 2011-02-09, 19:54
  2. RAM reading
    By mouse_321 in forum Symbian C++
    Replies: 1
    Last Post: 2010-04-22, 12:38
  3. Reading of XML.HELP!!
    By nick_santa83 in forum Python
    Replies: 1
    Last Post: 2008-02-07, 22:45
  4. reading SMS
    By vickey in forum Symbian C++
    Replies: 3
    Last Post: 2008-01-05, 10:23
  5. SMS reading
    By mariam_khalifa in forum PC Suite API and PC Connectivity SDK
    Replies: 0
    Last Post: 2004-03-28, 07:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •