summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRich Sloager <rslogar@google.com>2015-08-14 17:26:46 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-08-14 17:26:46 +0000
commit71178f024038591e04b1e32ace4180265eae14ce (patch)
treed5034270d4beb777c0296ab2ffedb196c3371dad
parent57cdc0116fb7f9f2edc30337a8b787a341f37875 (diff)
parent29dfe902de22655770f1bc001aa451b74a3195a3 (diff)
downloadframeworks_base-71178f024038591e04b1e32ace4180265eae14ce.zip
frameworks_base-71178f024038591e04b1e32ace4180265eae14ce.tar.gz
frameworks_base-71178f024038591e04b1e32ace4180265eae14ce.tar.bz2
am 29dfe902: Merge "docs: studio 1.3 fingerprint support" into mnc-preview-docs
* commit '29dfe902de22655770f1bc001aa451b74a3195a3': docs: studio 1.3 fingerprint support
-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