blob: 8320ba65e1f0033dc963c7db4402594b533b2f9f [file] [log] [blame]
Clay Murphy4c62bc92016-07-07 00:27:01 -07001page.title=Host Card Emulation of FeliCa
2@jd:body
3
4<!--
5 Copyright 2016 The Android Open Source Project
6
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18-->
19<div id="qv-wrapper">
20 <div id="qv">
21 <h2>In this document</h2>
22 <ol id="auto-toc">
23 </ol>
24 </div>
25</div>
26
27<p>Felicity Card, or FeliCa, an RFID smart card system, is the NFC standard in
28Japan, Hong Kong and other markets in the Asia-Pacific (APAC) region. It has
29been expanding in adoption in that region and is well used among transit,
30retail, and loyalty services. Adding support for FeliCa in Android devices
31destined for that region improves their usefulness.</p>
32
33<h2 id="implementation">Implementation</h2>
34
35<p>HCE FeliCa requires NFC hardware that supports the NFC-F (JIS 6319-4) standard.</p>
36
37<img src="images/host_card.png" width="800" alt="HCE of FeliCa" id="HCE of FeliCa architecture" />
38<p class="img-caption">
39 <strong>Figure 1.</strong> HCE of FeliCa architecture
40 </p>
41
42<p>Host Card Emulation (HCE) of FeliCa is essentially a parallel implementation to
43the existing HCE implementation on Android; it creates new classes for FeliCa
44where it makes sense and merges with the existing HCE implementation where
45possible.</p>
46
47<p>The following Android components are included in the Android Open Source Project
48(AOSP):</p>
49
50<ul>
51 <li>Framework classes
52 <ul>
53 <li>Public HostNfcFService (convenience service class)
54 <li>@hide NfcFServiceInfo
55 </ul>
56 <li>Modifications to core NFC framework</li></ul>
57 </li>
58</ul>
59
60<p>As with most Android platform features, manufacturers write the drivers to
61make the hardware work with the API.</p>
62
63<h2 id="validation">Validation</h2>
64
65<p>Use the <a href="{@docRoot}compatibility/cts/index.html">Android Compatibility
66Test Suite</a> to ensure this feature works as intended. CTS Verifier
67(NfcTestActivity) tests this implementation for devices reporting the
68<code>android.hardware.nfc.hcef</code> feature constant.</p>