Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71178f02 authored by Rich Sloager's avatar Rich Sloager Committed by Android Git Automerger
Browse files

am 29dfe902: Merge "docs: studio 1.3 fingerprint support" into mnc-preview-docs

* commit '29dfe902':
  docs: studio 1.3 fingerprint support
parents 57cdc011 29dfe902
Loading
Loading
Loading
Loading
+63.1 KiB
Loading image diff...
+27 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ page.tags=studio, features
      <li><a href="#git-samples">Android Code Samples on GitHub</a></li>
      <li><a href="#template-support">Expanded Template and Form Factor Support</a></li>
      <li><a href="#project-settings">Android Studio and Project Settings</a></li>
      <li><a href="#finger-print">Fingerprint Support</a></li>
      <li><a href="#support-apis">Editor Support for the Latest Android APIs</a></li>
    </ol>

@@ -112,6 +113,32 @@ behavior, such a UI themes, system settings, and version control. </p>



<h2 id="finger-print">Fingerprint Support</h2>
<p>Android Studio provides the {@code finger} command, allowing you to simulate, and thus validate,
fingerprint authentication for your app. After you set up your app to accept
<a href="https://developer.android.com/preview/api-overview.html#authentication">fingerprint
authentication</a>, your emulator or device should display the fingerprint authentication screen,
as shown below. </p>

    <p><img src="{@docRoot}images/tools/studio-fingerprint.png" /></p>
    <p class="img-caption"><strong>Figure 6</strong> Fingerprint authentication.</p>

<p>Open a terminal session, and telnet to the emulator. For example:</p>
<pre>
{@code telnet localhost 5554}
</pre>

<p>Enter the <code>finger</code> command to simulate finger touch and removal: </p>

<ul>
   <li><code>finger touch &lt;fingerprint-id&gt;</code> to simulate a finger touching the sensor</li>
   <li><code>finger remove</code> to simulate finger removal </li>
</ul>

<p>Your app should respond as if a user touched, and then removed their finger from, the
fingerprint sensor. </p>


<h2 id="support-apis">Editor Support for the Latest Android APIs</h2>
<p>Android Studio supports the
<a href="{@docRoot}design/material/index.html">Material Design</a></li> themes, widgets, and