summaryrefslogtreecommitdiffstats
path: root/examples/nfc/corkboard/bar-descriptor.xml
diff options
context:
space:
mode:
authorFabian Bumberger <fbumberger@rim.com>2014-01-26 17:43:16 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-03 09:33:16 +0100
commit38753878180acda596664c92b8b45f5cbdec7e48 (patch)
treec0992822e686c2e3d2e58aa89268682175b40d47 /examples/nfc/corkboard/bar-descriptor.xml
parent0f700c166e7369230763a4c6dbc10e86944669a1 (diff)
Add the nfc corkboard example
[ChangeLog][QtNfc][General] Added a new corkboard example displaying the content of NDEF text records. Change-Id: Ic60ef8a67abaf45b5f34378e822f3d89ca7e26a2 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'examples/nfc/corkboard/bar-descriptor.xml')
-rw-r--r--examples/nfc/corkboard/bar-descriptor.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/examples/nfc/corkboard/bar-descriptor.xml b/examples/nfc/corkboard/bar-descriptor.xml
new file mode 100644
index 00000000..f46eb355
--- /dev/null
+++ b/examples/nfc/corkboard/bar-descriptor.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<qnx >
+ <id>com.qt-project.cork</id>
+ <filename>corkboard</filename>
+ <name>NFC Corkboard</name>
+ <versionNumber>1.0.0</versionNumber>
+
+ <!-- adding the invoke target for a nfc Text element -->
+ <invoke-target id="com.fabian.cork">
+ <type>APPLICATION</type>
+ <filter>
+ <action>bb.action.OPEN</action>
+ <mime-type>application/vnd.rim.nfc.ndef</mime-type>
+ <property var="uris" value="ndef://1/T"/>
+ </filter>
+ </invoke-target>
+
+ <initialWindow>
+ <systemChrome>none</systemChrome>
+ <transparent>false</transparent>
+ <autoOrients>true</autoOrients>
+ <aspectRatio>portrait</aspectRatio>
+ </initialWindow>
+
+ <permission system="true">run_native</permission>
+
+ <asset entry="true" path="qml_corkboard" type="Qnx/Elf">qml_corkboard</asset>
+ <asset path="icon.png">icon.png</asset>
+ <icon>
+ <image>icon.png</image>
+ </icon>
+ </qnx>