Thread
:
NFC APIs to control hardware functions
View Single Post
WhitP
2012-04-14 , 19:45
Posts: 90 | Thanked: 35 times | Joined on Jan 2012
#
13
OK, I've had a chance to fiddle with this for a while. All that we want to do is possible but it needs someone with a bit of coding experience (not me) to sort out some details. The easy way within the NDEF standard to autostart an application is with a URI with a 'file://' prefix. To toggle bluetooth on/off if ToggleBT is installed should be easy..... If someone knows how to modify ext:nokia.com:bt so it doesn't shut off BT after a few seconds without an active pairing it's even easier...
Unfortunately there might be a glitch in the N9's handling of URI as it doesn't recognize 'file://' as in the NDEF standard. The hex form '0x1D' is recognized but without adding the application to the NDEF handler (
http://doc.qt.nokia.com/qtmobility/q...ldmanager.html
)it assumes it should be opened as a web document. NFCInteractor got added to the NDEF handler on installation so it's possible for someone who knows what they're doing - i.e. not me.....
Quote & Reply
|
The Following 2 Users Say Thank You to WhitP For This Useful Post:
Ckris
,
Kozzi
WhitP
View Public Profile
Send a private message to WhitP
Find all posts by WhitP