1 page.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 28 Japan, Hong Kong and other markets in the Asia-Pacific (APAC) region. It has 29 been expanding in adoption in that region and is well used among transit, 30 retail, and loyalty services. Adding support for FeliCa in Android devices 31 destined 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 <p>Host Card Emulation (HCE) of FeliCa is essentially a parallel implementation to 38 the existing HCE implementation on Android; it creates new classes for FeliCa 39 where it makes sense and merges with the existing HCE implementation where 40 possible.</p> 41 42 <p>The following Android components are included in the Android Open Source Project 43 (AOSP):</p> 44 45 <ul> 46 <li>Framework classes 47 <ul> 48 <li>Public HostNfcFService (convenience service class) 49 <li>@hide NfcFServiceInfo 50 </ul> 51 <li>Modifications to core NFC framework</li></ul> 52 </li> 53 </ul> 54 55 <p>As with most Android platform features, manufacturers write the drivers to 56 make the hardware work with the API.</p> 57 58 <h2 id="validation">Validation</h2> 59 60 <p>Use the <a href="{@docRoot}compatibility/cts/index.html">Android Compatibility 61 Test Suite</a> to ensure this feature works as intended. CTS Verifier 62 (NfcTestActivity) tests this implementation for devices reporting the 63 <code>android.hardware.nfc.hcef</code> feature constant.</p> 64