Thread
:
[Announce] [N900,N950,N9] Xbmcremote
View Single Post
mzanetti
2012-06-04 , 13:44
Posts: 203 | Thanked: 375 times | Joined on Nov 2009
#
205
Originally Posted by
wout.martens
Well the way you're doing this.
How is that tag looking like (nfc sticker info) ?
Ah ok... what I do is to write an NDEF URI record containing the following URI: xbmc://hostip:port/hostname/macaddress. For example something like this:
xbmc://192.168.0.5:8080/My XBMC/123ab456cd78
Then I register Xbmcremote as the application to handle urls of type xbmc://
This is however not the recommended way to do it. It doesn't work on Symbian for example because there is already a handler registered for all urls.
The correct way would be to define a own NDEF record type (google for "NDEF specification") and then register your application as the handler for that NDEF record type. That would work on all platforms. Here's the doc with examples:
http://doc.qt.nokia.com/qtmobility/q...ldmanager.html
Quote & Reply
|
mzanetti
View Public Profile
Send a private message to mzanetti
Find all posts by mzanetti