Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
33
gaia/dev_apps/nfc-api-test/tests_html/nfc_dispatch.html
Executable file
33
gaia/dev_apps/nfc-api-test/tests_html/nfc_dispatch.html
Executable file
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>NFC test</title>
|
||||
<script defer src="../../js/ndef_helper.js"></script>
|
||||
<script defer src="../../js/nfc_dispatch.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../style/API.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
|
||||
<div>
|
||||
<h2>Test Description</h2>
|
||||
<h5>
|
||||
Tap an NFC tag, the app will show 'Default Prevented' if the content
|
||||
of the tag starts with "https://www.mozilla.org", otherwise the tag will be
|
||||
re-dispatched to System app and this app will show
|
||||
'Default Action Executed'.
|
||||
</h5>
|
||||
</div>
|
||||
|
||||
<h4 id="global-message" class="error"></h4>
|
||||
|
||||
<div data-type="tag-container">
|
||||
<div><b>URI: </b><span data-type="tag-uri"/> </div>
|
||||
<div><span data-type="dispatch-result" style="font-weight:bold"></span> </div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
29
gaia/dev_apps/nfc-api-test/tests_html/nfc_format_tag.html
Executable file
29
gaia/dev_apps/nfc-api-test/tests_html/nfc_format_tag.html
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>NFC test</title>
|
||||
<script defer src="../../js/nfc_format_tag.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../style/API.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
|
||||
<div>
|
||||
<h2>Test Description</h2>
|
||||
<h5>
|
||||
Tap an NFC tag, then this app will try to format the tag as NDEF.
|
||||
</h5>
|
||||
</div>
|
||||
|
||||
<h4 id="global-message" class="error"></h4>
|
||||
|
||||
<div data-type="tag-container">
|
||||
<div><b>Formatable: </b><span data-type="formatable"/> </div>
|
||||
<div><span data-type="format-result" style="font-weight:bold"></span> </div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
56
gaia/dev_apps/nfc-api-test/tests_html/nfc_read_tag.html
Executable file
56
gaia/dev_apps/nfc-api-test/tests_html/nfc_read_tag.html
Executable file
|
|
@ -0,0 +1,56 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>NFC test</title>
|
||||
<script defer src="../../js/ndef_helper.js"></script>
|
||||
<script defer src="../../js/nfc_read_tag.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../style/API.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
<div>
|
||||
<h2>Test Description</h2>
|
||||
<h5>
|
||||
Tap an NFC tag, then this app will show the information of that tag, and
|
||||
display the NDEF Records contained within this tag. If the tag is not
|
||||
compliant with NFC Forum Tag, or is not formated as NDEF, some information
|
||||
will be null.
|
||||
</h5>
|
||||
</div>
|
||||
<div>
|
||||
<h2>NFC Tag Info</h2>
|
||||
</div>
|
||||
<h4 id="success-message" class="success"></h4>
|
||||
<h4 id="error-message" class="error"></h4>
|
||||
|
||||
<div id="tag-container">
|
||||
<ul>
|
||||
<li><b>Supported Technology List: </b><span data-type="tech-list"/> </li>
|
||||
<li><b>Tag ID: </b><span data-type="tag-id"/> </li>
|
||||
<li><b>Tag Type: </b><span data-type="tag-type"/> </li>
|
||||
<li><b>Max NDEF size: </b><span data-type="max-ndef-size"/> </li>
|
||||
<li><b>Read-Only: </b><span data-type="read-only"/> </li>
|
||||
<li><b>Formatable: </b><span data-type="formatable"/> </li>
|
||||
<li><b>Can be made Read-Only: </b><span data-type="can-be-made-read-only"/> </li>
|
||||
<li><b>is Lost: </b><span data-type="is-lost"/> </li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="ndef-msg-container">
|
||||
<ul>
|
||||
<li><b>Number of NDEF Records: </b><span data-type="record-count"/> </li>
|
||||
<div id="ndef-template">
|
||||
<ul>
|
||||
<li><b> tnf: </b> <span data-type="ndef-tnf"/> </li>
|
||||
<li><b> Type: </b> <span data-type="ndef-type"/> </li>
|
||||
<li><b> Id: </b> <span data-type="ndef-id"/> </li>
|
||||
<li><b> Payload: </b> <span data-type="ndef-payload"/> </li>
|
||||
</ul>
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
39
gaia/dev_apps/nfc-api-test/tests_html/nfc_send_ndef.html
Executable file
39
gaia/dev_apps/nfc-api-test/tests_html/nfc_send_ndef.html
Executable file
|
|
@ -0,0 +1,39 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>NFC test</title>
|
||||
<script defer src="../../js/ndef_helper.js"></script>
|
||||
<script defer src="../../js/nfc_send_ndef.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../style/API.css">
|
||||
</head>
|
||||
<body>
|
||||
<fieldset>
|
||||
<legend>URL to be written</legend>
|
||||
<section>
|
||||
<select id="urlOptions">
|
||||
<option value="https://www.mozilla.org">Mozilla</option>
|
||||
<option value="https://www.mozilla.org/en-US/firefox/os/">FirefoxOS</option>
|
||||
<option value="https://www.mozilla.org/en-US/firefox/">Firefox</option>
|
||||
<option value="https://www.yahoo.com/">Yahoo</option>
|
||||
</select>
|
||||
</section>
|
||||
</fieldset>
|
||||
|
||||
<div id="content">
|
||||
<div>
|
||||
<h2>Test Description</h2>
|
||||
<h5>
|
||||
Tap an NFC device, then this app will try to send URL to that device.
|
||||
</h5>
|
||||
</div>
|
||||
|
||||
<h4 id="global-message" class="error"></h4>
|
||||
<div data-type="tag-container">
|
||||
<div><span data-type="send-result" style="font-weight:bold"></span> </div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
74
gaia/dev_apps/nfc-api-test/tests_html/nfc_tech.html
Executable file
74
gaia/dev_apps/nfc-api-test/tests_html/nfc_tech.html
Executable file
|
|
@ -0,0 +1,74 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>NFC test</title>
|
||||
<script defer src="../../js/ndef_helper.js"></script>
|
||||
<script defer src="../../js/nfc_tech.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../style/API.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="content">
|
||||
<div>
|
||||
<h2>Test Description</h2>
|
||||
<h5>
|
||||
Tap an NFC tag, then this app will send some raw command to that tag.
|
||||
</h5>
|
||||
</div>
|
||||
<div>
|
||||
<h2>NFC Tag Info</h2>
|
||||
</div>
|
||||
<h4 id="success-message" class="success"></h4>
|
||||
<h4 id="error-message" class="error"></h4>
|
||||
|
||||
<div id="tag-container">
|
||||
<ul>
|
||||
<li><b>Supported Technology List: </b><span data-type="tech-list"/> </li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="isoDep-container">
|
||||
<ul>
|
||||
<li><b>Hardware Vendor ID: </b><span data-type="hw-vendor-id"/> </li>
|
||||
<li><b>Hardware Type: </b><span data-type="hw-type"/> </li>
|
||||
<li><b>Hardware Version: </b><span data-type="hw-version"/> </li>
|
||||
<li><b>Hardware Storage Size: </b><span data-type="hw-storage"/> </li>
|
||||
<li><b>Hardware Protocol: </b><span data-type="hw-protocol"/> </li>
|
||||
<li><b>Software Vendor ID: </b><span data-type="sw-vendor-id"/> </li>
|
||||
<li><b>Software Type: </b><span data-type="sw-type"/> </li>
|
||||
<li><b>Software Version: </b><span data-type="sw-version"/> </li>
|
||||
<li><b>Software Storage Size: </b><span data-type="sw-storage"/> </li>
|
||||
<li><b>Software Protocol: </b><span data-type="sw-protocol"/> </li>
|
||||
<li><b>UID: </b><span data-type="uid"/> </li>
|
||||
<li><b>Batch Number: </b><span data-type="batch-num"/> </li>
|
||||
<li><b>Production Date: </b><span data-type="production-date"/> </li>
|
||||
<li><b>Key Settings: </b><span data-type="key-settings"/> </li>
|
||||
<li><b>Max number of keys: </b><span data-type="max-keys"/> </li>
|
||||
<li><b>Key Version: </b><span data-type="key-version"/> </li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="nfcA-container">
|
||||
<div id="type1-container">
|
||||
<ul>
|
||||
<li><b>Tag type: </b><span data-type="tag-type"/> </li>
|
||||
<li><b>HR0 </b><span data-type="hr0" /> </li>
|
||||
<li><b>HR1 </b><span data-type="hr1" /> </li>
|
||||
<li><b>UID0 </b><span data-type="uid0"/> </li>
|
||||
<li><b>UID1 </b><span data-type="uid1"/> </li>
|
||||
<li><b>UID2 </b><span data-type="uid2"/> </li>
|
||||
<li><b>UID3 </b><span data-type="uid3"/> </li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="type2-container">
|
||||
<ul>
|
||||
<li><b>Tag type: </b><span data-type="tag-type"/> </li>
|
||||
<li><b>Write to block 5 </b><span data-type="write"/> </li>
|
||||
<li><b>Read blocks 5~8 </b><span data-type="read"/> </li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
39
gaia/dev_apps/nfc-api-test/tests_html/nfc_write_tag.html
Executable file
39
gaia/dev_apps/nfc-api-test/tests_html/nfc_write_tag.html
Executable file
|
|
@ -0,0 +1,39 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>NFC test</title>
|
||||
<script defer src="../../js/ndef_helper.js"></script>
|
||||
<script defer src="../../js/nfc_write_tag.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="../style/API.css">
|
||||
</head>
|
||||
<body>
|
||||
<fieldset>
|
||||
<legend>URL to be written</legend>
|
||||
<section>
|
||||
<select id="urlOptions">
|
||||
<option value="https://www.mozilla.org">Mozilla</option>
|
||||
<option value="https://www.mozilla.org/en-US/firefox/os/">FirefoxOS</option>
|
||||
<option value="https://www.mozilla.org/en-US/firefox/">Firefox</option>
|
||||
<option value="https://www.yahoo.com/">Yahoo</option>
|
||||
</select>
|
||||
</section>
|
||||
</fieldset>
|
||||
|
||||
<div id="content">
|
||||
<div>
|
||||
<h2>Test Description</h2>
|
||||
<h5>
|
||||
Tap an NFC tag, then this app will try to write URL to that tag.
|
||||
</h5>
|
||||
</div>
|
||||
|
||||
<h4 id="global-message" class="error"></h4>
|
||||
<div data-type="tag-container">
|
||||
<div><span data-type="write-result" style="font-weight:bold"></span> </div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in a new issue