Nfc Interactor
http://www.nfcinteractor.com
-------------------------------------------------------------------------------
View low level information about NFC tags and their contents, and write your own tags with a dynamic NDEF message editor UI.
Touch an NFC tag to analyze its format and its contents. Nfc Interactor parses and shows many different NDEF messages and extends the offering of Qt through reusable convenience classes for handling additional record types: Smart Poster, Mime/Image, vCard, SMS, Social Networks, Geo-Tags, Smart URI, Windows LaunchApp, Android Application Record and custom records.
Compose your own NDEF messages by combining one or more NDEF records using the dynamic editor interface. Various templates assist you, allowing you to concentrate on the content instead of the format. While editing, Nfc Interactor will always show you the current size. Once your message is finalized, write it to as many tags as you like.
Send and receive NDEF messages through a peer-to-peer connection between devices, either using standardized SNEP or a raw LLCP connection with freely defined settings.
Nfc Interactor is written in Qt and works on Nokia Anna / Belle as well as on MeeGo Harmattan (Nokia N9). As an open source example project, it also showcases the use of Qt Quick Components, as well as the integration of C++ with QML.
Note: this version of Nfc Interactor replaces the previous Java ME-based NFCinteractor. The new Qt-version is more powerful and introduces a wealth of new features, plus improved reading support. The Java ME-based project is still useful as a code example and has therefore been renamed to Nfc Creator and is available here: https://projects.developer.nokia.com/nfccreator . This Qt-based Nfc Interactor also succeeds the "Nfc Info" project, which was only capable of reading tags.
FEATURES
-------------------------------------------------------------------------------
Tag reading:
- Tag type (NFC Forum Tag Type 1, 2, 3, 4 and Mifare)
- Tag UID
- Tag version
- Tag memory size, static vs. dynamic memory (for tag types 1 + 2**)
- Lock bits and Capability Container access level (for static memory tag types 1 + 2**)
- NDEF message size
- List of all individual NDEF records
- Parses Smart Poster, URI, text, image and business card (vCard) records
- App is automatically launched for custom record with external RTD: "nokia.com:nfcinteractor"
- Stores parsed URI or text to the clipboard
- Automatically saves all collected NDEF messages to the phone's memory card for later reuse (if activated)
Tag writing:
- Dynamic UI to create a message consisting of multiple NDEF records, and to add information to each record
- Clone tag contents (tap on blue NDEF message contents after reading a tag -> clone)
- Save own composed tags to the file system on the phone
- Option to write empty message before real message, to better format factory-empty tags
- Open previously collected or saved NDEF message in compose mode for editing and writing again (tap on blue NDEF message contents after reading a tag -> edit, or load from compose view)
- Help for all supported message types
- NDEF message size calculation
- Specialized editors for each message type:
- Social Network record: enter the username and choose the network to create a link to follow you. Creates a URI or Smart Poster, depending on if you add an optional title.
- Business card record: select the data to include from a wealth of available fields, and create your own business card based on the universal vCard standard. Integrates with the Qt Mobility Contacts APIs. Note: usually large tag size requirements.
- Geo record: enter coordinates and select the Geo Tag type. Supports Geo URI (RFC 5870), Nokia Maps links and a generic redirection script that enables Geo tags on Symbian and MeeGo, hosted at nfcinteractor.com*. Integrates with the Qt Mobility Location APIs for the coordinates. Creates a URI or Smart Poster, depending on if you add an optional title.
- Image record: write an image from the file system of your mobile phone to the tag.
- LaunchApp record: used on the Windows platform to directly launch an app through its ID.
- Android Application Record (AAR): launch an app on Android through its package name.
- App Store record: generate a download link to an app store. Creates a direct store link if one ID is specified, or a generic link using a platform detection script at nfcinteractor.com* if more app ids are specified. For Nokia, either specify a generic Nokia Store ID if it's the same for all platforms, or instead specify an own ID for Symbian, MeeGo Harmattan and if needed Series 40. Creates a URI or Smart Poster, depending on if you add an optional title.
- SMS record: enter number and body to create a working SMS link, useful for example to request information services or for payment via SMS. Creates a URI or Smart Poster, depending on if you add an optional title.
- Smart Posters: has to contain at least a URI, optionally an unlimited amount of titles in different languages, a recommended action and information about the linked content (size and MIME type).
- URI records: automatically shortens URIs according to the specification to save tag space (e.g., won't save "http://www.", but encode that in a single byte).
- Text records: set text and language.
- Custom records: Choose the type name format and optionally add a type name and payload. Also useful for application autostart tags.
Peer to peer:
- SNEP support (Simple NDEF Exchange Protocol)
- Send and receive NDEF messages and raw data
- Connection-oriented and connection-less mode supported
- Define URI for connection-oriented mode or port for connection-less mode
- Connection-oriented: connect server and/or client socket, choose which socket to use for sending messages
Easily reusable code for developers including:
- NDEF record classes for: Smart Poster, Mime/vCard (Business Cards), Mime/Image, Geo coordinates, App Store links, Social Networks (Twitter, LinkedIn, Facebook, Xing, vKontakte, Foursquare), SMS, Smart URI (depending on content requirements uses Smart Poster or URI to create the smallest possible message)
- Tag-specifc access to read the tag size and lock status (for Tag Types 1 + 2**)
Ideas for future updates:
- Write a contact from the address book
- Write vCalendar records
- Skype call / add contact tag: http://www.skype.com/intl/en/tell-a-friend/wizard/
- Bluetooth pairing records
- Lock tags (type 1, 2**)
- Check composed record contents for errors according to specifications
- Use current location for geo tags (asynchronously updated UI)
- Birthday support for contacts (date picker UI)
- Geocoding (enter address, write coordinates to the tag - interactive UI)
- Splash screen for Symbian
- Turn NFC on from the app on Symbian: http://www.developer.nokia.com/Community/Wiki/How_to_put_NFC_ON_and_OFF_with_Qt
- Support for writing AAR records (Android Application Record): http://stackoverflow.com/questions/9016944/android-application-record-compatibility-with-pre-ics
* Disclaimer: The services hosted on nfcinteractor.com (e.g., the generic geo-tag redirection script) have no service or uptime guarantee. They are intended for testing purposes only and could be removed at any point. You should host the required server-side scripts on your own webserver for real-world deployment.
** MeeGo Harmattan currently does not allow tag type specific access through Qt APIs; therefore, it's not possible to access functionality not offered by Qt classes, such as getting tag specific information or locking tags.
SECURITY
--------------------------------------------------------------------------------
Symbian: The application can be self-signed.
Harmattan: No special aegis manifest is required.
KNOWN ISSUES
-------------------------------------------------------------------------------
General: the Tag Image Cache stores all images in memory. Images found in tags
are usually ve
没有合适的资源?快使用搜索试试~ 我知道了~
nfc.zip_PHP nfc_js开发nfc_uri_www_39458.com_web端写入nfc号
共336个文件
html:111个
cpp:52个
png:37个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 163 浏览量
2022-09-24
19:54:46
上传
评论
收藏 1.1MB ZIP 举报
温馨提示
实现简单的NFC读写功能,包含标签信息的读取和写入。
资源推荐
资源详情
资源评论
收起资源包目录
nfc.zip_PHP nfc_js开发nfc_uri_www_39458.com_web端写入nfc号 (336个子文件)
manifest.aegis 2KB
_switchToUnlimited.bat 439B
_switchToNormal.bat 431B
_cleanup.bat 375B
.make.cache 428B
changelog 2KB
changelog_normal 2KB
changelog_unlimited 2KB
compat 2B
control 9KB
control_normal 9KB
control_unlimited 9KB
copyright 5KB
nfcinfo.cpp 44KB
nfcrecordmodel.cpp 36KB
nfcmodeltondef.cpp 32KB
nfcndefparser.cpp 30KB
nfctargetanalyzer.cpp 22KB
nfcpeertopeer.cpp 21KB
ndefnfcsprecord.cpp 19KB
iapmanager.cpp 13KB
moc_nfcinfo.cpp 13KB
nfcrecorddefaults.cpp 11KB
main.cpp 10KB
nfcrecorditem.cpp 10KB
ndefnfcmimeimagerecord.cpp 9KB
moc_nfcrecordmodel.cpp 9KB
moc_nfcpeertopeer.cpp 8KB
ndefnfclaunchapprecord.cpp 8KB
ndefnfcmimevcardrecord.cpp 7KB
moc_nfctypes.cpp 7KB
nfcsettings_symbian_p.cpp 7KB
moc_iapmanager.cpp 6KB
moc_appsettings.cpp 6KB
ndefnfcstorelinkrecord.cpp 6KB
moc_nfcsettings.cpp 6KB
requestqueue.cpp 6KB
appsettings.cpp 6KB
snepmanager.cpp 5KB
qmlapplicationviewer.cpp 5KB
ndefnfcsmarturirecord.cpp 5KB
nfcstats.cpp 5KB
moc_adinterface.cpp 4KB
ndefnfcgeorecord.cpp 4KB
adinterface.cpp 4KB
moc_nfcrecorditem.cpp 4KB
moc_requestqueue.cpp 3KB
nearfieldtargetinfo.cpp 3KB
moc_nfcndefparser.cpp 3KB
ndefnfcsocialrecord.cpp 3KB
moc_snepmanager.cpp 2KB
moc_nfcstats.cpp 2KB
moc_qmlapplicationviewer.cpp 2KB
snepmanagermeego.cpp 2KB
tagimagecache.cpp 2KB
moc_nfcrecorddefaults.cpp 2KB
moc_nfctargetanalyzer.cpp 2KB
moc_nfcmodeltondef.cpp 2KB
ndefnfcsmsrecord.cpp 2KB
moc_iapproduct.cpp 2KB
iapproduct.cpp 1KB
inneractiveplugin.cpp 1KB
ndefnfcandroidapprecord.cpp 1KB
nfcsettings.cpp 1KB
nfcsettings_p.cpp 1KB
doxygen.css 15KB
search.css 4KB
tabs.css 1KB
nfcinteractorunlimited.desktop 451B
nfcinteractor.desktop 406B
Doxyfile-NfcInteractor 75KB
webutils.dso 2KB
webutils{000a0000}.dso 2KB
minimal.gif 48B
.gitignore 146B
nfcsettings.h 21KB
nfcinfo.h 10KB
nfcsettings_symbian_p.h 10KB
ndefnfcsprecord.h 9KB
sysversioninfo.h 8KB
nfcrecordmodel.h 6KB
nfctypes.h 6KB
nfcpeertopeer.h 5KB
nfcrecorditem.h 4KB
nfcndefparser.h 4KB
nfcsettings_p.h 4KB
ndefnfcgeorecord.h 4KB
ndefnfcmimeimagerecord.h 4KB
cuseragent.h 4KB
appsettings.h 4KB
ndefnfcstorelinkrecord.h 4KB
nfcmodeltondef.h 4KB
ndefnfclaunchapprecord.h 3KB
nfctargetanalyzer.h 3KB
ndefnfcsmarturirecord.h 3KB
iapmanager.h 3KB
ndefnfcmimevcardrecord.h 2KB
ndefnfcsmsrecord.h 2KB
ndefnfcsocialrecord.h 2KB
snepmanager.h 2KB
共 336 条
- 1
- 2
- 3
- 4
资源评论
weixin_42651887
- 粉丝: 75
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功