<oembed><type>rich</type><version>1.0</version><author_name>npub1xg2m84malu0cfm4444r0kysx4rgk27e75aj6sz6538kw8fcz627qeadsv7</author_name><author_url>https://nostr.ae/npub1xg2m84malu0cfm4444r0kysx4rgk27e75aj6sz6538kw8fcz627qeadsv7</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2014-03-07&#xA;📝 Original message:On 03/07/2014 10:26 AM, Johannes Zweng wrote:&#xA;&#xA;&gt;     In current phone implementations, the screen must be on already for NFC&#xA;&gt;     to be active. Also it must be unlocked, although I certainly hope future&#xA;&gt;     OSes will allow payment apps on the lock screen, just like they allow&#xA;&gt;     music players.&#xA;&gt; &#xA;&gt; Just a small input to this point:&#xA;&gt; On Android 4.4 the new host card emulation (HCE) feature (aka: the phone&#xA;&gt; emulates a ISO-DEP Smartcard and processes ISO7816-4 APDU commands like&#xA;&gt; a Smartcard would do) only works when the display is on, but even when&#xA;&gt; the screen is locked (can be changed with &#34;android:requireDeviceUnlock&#34;&#xA;&gt; in Manifest). See here for detailled&#xA;&gt; specification: http://developer.android.com/guide/topics/connectivity/nfc/hce.html&#xA;&gt; &#xA;&gt; Using the HCE API on Android 4.4 also has the beauty that any app that&#xA;&gt; registers itself for HCE and sets its category to CATEGORY_PAYMENT in&#xA;&gt; the Manifest automatically shows up in Adroid&#39;s system settings under&#xA;&gt; &#34;Tap &amp; Pay&#34; (where a user would expect payment applications).&#xA;&#xA;Thanks for the pointer! Good to hear there is finally a decent&#xA;documentation for HCE.&#xA;&#xA;Good news: HCE offers the required dispatch ability -- they call it AID&#xA;(Application ID).&#xA;&#xA;Bad news: It seems - at least CATEGORY_PAYMENT - very credit card centric.&#xA;&#xA;HCE seems to cover only the payer side. I wonder if there is also an API&#xA;for &#34;reader emulation&#34; which we would need for apps to support the payee&#xA;side.&#xA;&#xA;Since Android 4.4 market penetration is quite far off, I suggest we&#xA;focus on the already established NFC payment protocol(s) for now, it&#xA;works pretty well. I will investigate into IsoDep and HCE and see if we&#xA;can make it enhance usability.&#xA;&#xA;Interesting side note: They recommend messages transmitted via NFC to&#xA;not exceed 1 KB in order for a snappy experience. This (again) questions&#xA;usage of bulky X.509 certificates in our payment request messages.&#xA;Bitcoin Wallet currently does not sign payment requests, so I could not&#xA;try how it would feel.</html></oembed>