am ff7526c1: am 71178f02: am 29dfe902: Merge "docs: studio 1.3 fingerprint support" into mnc-preview-docs
* commit 'ff7526c1da5cb650bcfa56768b4c43a1a90f5256': docs: studio 1.3 fingerprint support
This commit is contained in:
BIN
docs/html/images/tools/studio-fingerprint.png
Normal file
BIN
docs/html/images/tools/studio-fingerprint.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 63 KiB |
@@ -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 <fingerprint-id></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
|
||||
|
||||
Reference in New Issue
Block a user