2025 年 3 月 27 日より、AOSP のビルドとコントリビューションには aosp-main
ではなく android-latest-release
を使用することをおすすめします。詳細については、AOSP の変更をご覧ください。
FeliCa のホストカード エミュレーション
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
RFID スマートカード システムの Felicity Card(FeliCa)は、アジア太平洋地域(APAC)の日本や香港などの市場で普及している NFC 規格です。この地域では導入が拡大しており、交通機関や小売、ポイント サービスの分野で活用されています。この地域を対象とした Android デバイスに FeliCa のサポートを追加すれば、利便性が向上します。
実装
HCE FeliCa を使用するには、NFC-F(JIS 6319-4)規格をサポートする NFC ハードウェアが必要です。
FeliCa のホストカード エミュレーション(HCE)は、基本的に Android 上の既存の HCE 実装に並列して実装され、有効な場合は FeliCa の新しいクラスを作成して、可能な限り既存の HCE 実装と統合します。
Android オープンソース プロジェクト(AOSP)には、次の Android コンポーネントが含まれています。
- フレームワーク クラス
- Public HostNfcFService(コンビニエンス サービスクラス)
- @hide NfcFServiceInfo
- コア NFC フレームワークに対する変更
ほとんどの Android プラットフォーム機能と同様に、メーカーは API でハードウェアを動作させるドライバを作成します。
検証
Android 互換性テストスイートを使用して、この機能が意図したとおりに動作することを確認してください。デバイスのこの実装は CTS 検証ツール(NfcTestActivity)によってテストされ、android.hardware.nfc.hcef
機能定数が報告されます。
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2025-03-26 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-03-26 UTC。"],[],[],null,["# Host card emulation of FeliCa\n\nFelicity Card (FeliCa), an RFID smart card system, is the NFC standard in\nJapan, Hong Kong, and other markets in the Asia-Pacific (APAC) region. It has\nbeen expanding in adoption in that region and is well used among transit,\nretail, and loyalty services. Adding support for FeliCa in Android devices\ndestined for that region improves their usefulness.\n\nImplementation\n--------------\n\nHCE FeliCa requires NFC hardware that supports the NFC-F (JIS 6319-4) standard.\n\nHost Card Emulation (HCE) of FeliCa is essentially a parallel implementation to\nthe existing HCE implementation on Android; it creates new classes for FeliCa\nwhere it makes sense and merges with the existing HCE implementation where\npossible.\n\nThe following Android components are included in the Android Open Source Project\n(AOSP):\n\n- Framework classes\n - Public HostNfcFService (convenience service class)\n - @hide NfcFServiceInfo\n- Modifications to core NFC framework\n\nAs with most Android platform features, manufacturers write the drivers to\nmake the hardware work with the API.\n\nValidation\n----------\n\nUse the [Android Compatibility\nTest Suite](/docs/compatibility/cts) to ensure this feature works as intended. CTS Verifier\n(NfcTestActivity) tests this implementation for devices reporting the\n`android.hardware.nfc.hcef` feature constant."]]