<oembed><type>rich</type><version>1.0</version><author_name>npub17ty4mumkv43w8wtt0xsz2jypck0gvw0j8xrcg6tpea25z2nh7meqf4qgyd</author_name><author_url>https://nostr.ae/npub17ty4mumkv43w8wtt0xsz2jypck0gvw0j8xrcg6tpea25z2nh7meqf4qgyd</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2014-03-07&#xA;📝 Original message:HCE is a bit scary. It&#39;s like the card companies tried the secure element&#xA;thing, decided the security was too hard and were like &#34;screw it, let&#39;s&#xA;just use regular apps after all&#34;. Not that we&#39;re any better :)&#xA;&#xA;At any rate, Bitcoin doesn&#39;t have any need to emulate smartcards as we&#xA;don&#39;t have any pre-existing infrastructure. We can just use a regular&#xA;non-smarcard-emulation ISO-DEP protocol. The new UI in Android 4.4 provides&#xA;some way to choose the default payment app, but I think it&#39;s only intended&#xA;to disambiguate between credit card providers. Everything else gets dumped&#xA;into CATEGORY_OTHER and I dunno what happens if you have multiple Bitcoin&#xA;wallet apps doing the same thing. Worst case, we can add some&#xA;disambiguation code on top, inside the apps themselves.&#xA;&#xA;&#xA;&#xA;On Fri, Mar 7, 2014 at 10:26 AM, Johannes Zweng &lt;johannes at zweng.at&gt; wrote:&#xA;&#xA;&gt;&#xA;&gt; 2014-03-06 12:26 GMT+01:00 Andreas Schildbach &lt;andreas at schildbach.de&gt;:&#xA;&gt;&#xA;&gt;&#xA;&gt;&#xA;&gt;&gt; In current phone implementations, the screen must be on already for NFC&#xA;&gt;&gt; to be active. Also it must be unlocked, although I certainly hope future&#xA;&gt;&gt; OSes will allow payment apps on the lock screen, just like they allow&#xA;&gt;&gt; music players.&#xA;&gt;&#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 a&#xA;&gt; Smartcard would do) only works when the display is on, but even when the&#xA;&gt; screen is locked (can be changed with &#34;android:requireDeviceUnlock&#34; in&#xA;&gt; Manifest). See here for detailled specification:&#xA;&gt; 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 the&#xA;&gt; Manifest automatically shows up in Adroid&#39;s system settings under &#34;Tap &amp;&#xA;&gt; Pay&#34; (where a user would expect payment applications).&#xA;&gt;&#xA;&gt;&#xA;&gt;&#xA;&gt;&#xA;&gt; ------------------------------------------------------------------------------&#xA;&gt; Subversion Kills Productivity. Get off Subversion &amp; Make the Move to&#xA;&gt; Perforce.&#xA;&gt; With Perforce, you get hassle-free workflows. Merge that actually works.&#xA;&gt; Faster operations. Version large binaries.  Built-in WAN optimization and&#xA;&gt; the&#xA;&gt; freedom to use Git, Perforce or both. Make the move to Perforce.&#xA;&gt;&#xA;&gt; http://pubads.g.doubleclick.net/gampad/clk?id=122218951&amp;iu=/4140/ostg.clktrk&#xA;&gt; _______________________________________________&#xA;&gt; Bitcoin-development mailing list&#xA;&gt; Bitcoin-development at lists.sourceforge.net&#xA;&gt; https://lists.sourceforge.net/lists/listinfo/bitcoin-development&#xA;&gt;&#xA;&gt;&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20140307/49ed8d6b/attachment.html&gt;</html></oembed>