summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRich Slogar <rslogar@google.com>2015-07-06 17:54:27 -0700
committerRich Slogar <rslogar@google.com>2015-07-24 14:11:04 -0700
commit792dc3eccbffe8346aa644b83e24ffec65d5e527 (patch)
tree6016c5b161c5947d359f0be1cebf8641f98babd6 /docs
parent7bd9b634c42b500466cf416566d27da229d6ca1c (diff)
downloadframeworks_base-792dc3eccbffe8346aa644b83e24ffec65d5e527.zip
frameworks_base-792dc3eccbffe8346aa644b83e24ffec65d5e527.tar.gz
frameworks_base-792dc3eccbffe8346aa644b83e24ffec65d5e527.tar.bz2
docs: studio 1.3 fingerprint support
Change-Id: Ie98f67ce4c9aad6816ae07e3bae2b5e3e113bb98
Diffstat (limited to 'docs')
-rw-r--r--docs/html/images/tools/studio-fingerprint.pngbin0 -> 64617 bytes
-rw-r--r--docs/html/tools/studio/studio-features.jd27
2 files changed, 27 insertions, 0 deletions
diff --git a/docs/html/images/tools/studio-fingerprint.png b/docs/html/images/tools/studio-fingerprint.png
new file mode 100644
index 0000000..f4e4581
--- /dev/null
+++ b/docs/html/images/tools/studio-fingerprint.png
Binary files differ
diff --git a/docs/html/tools/studio/studio-features.jd b/docs/html/tools/studio/studio-features.jd
index 76eba10..c222801 100644
--- a/docs/html/tools/studio/studio-features.jd
+++ b/docs/html/tools/studio/studio-features.jd
@@ -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