Merge "docs: Fixing various minor issues" into mnc-mr-docs
This commit is contained in:
@@ -105,16 +105,20 @@ if (uiModeManager.getCurrentModeType() == Configuration.UI_MODE_TYPE_TELEVISION)
|
|||||||
<pre>
|
<pre>
|
||||||
<uses-feature android:name="android.hardware.touchscreen"
|
<uses-feature android:name="android.hardware.touchscreen"
|
||||||
android:required="false"/>
|
android:required="false"/>
|
||||||
|
<uses-feature android:name="android.hardware.faketouch"
|
||||||
|
android:required="false"/>
|
||||||
<uses-feature android:name="android.hardware.telephony"
|
<uses-feature android:name="android.hardware.telephony"
|
||||||
android:required="false"/>
|
android:required="false"/>
|
||||||
<uses-feature android:name="android.hardware.camera"
|
<uses-feature android:name="android.hardware.camera"
|
||||||
android:required="false"/>
|
android:required="false"/>
|
||||||
<uses-feature android:name="android.hardware.nfc"
|
<uses-feature android:name="android.hardware.nfc"
|
||||||
android:required="false"/>
|
android:required="false"/>
|
||||||
<uses-feature android:name="android.hardware.gps"
|
<uses-feature android:name="android.hardware.location.gps"
|
||||||
android:required="false"/>
|
android:required="false"/>
|
||||||
<uses-feature android:name="android.hardware.microphone"
|
<uses-feature android:name="android.hardware.microphone"
|
||||||
android:required="false"/>
|
android:required="false"/>
|
||||||
|
<uses-feature android:name="android.hardware.sensor"
|
||||||
|
android:required="false"/>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ run during Direct Boot mode, such as triggering a scheduled alarm.</p>
|
|||||||
intent filter for <code>LOCKED_BOOT_COMPLETED</code>, in the app manifest:</p>
|
intent filter for <code>LOCKED_BOOT_COMPLETED</code>, in the app manifest:</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
<receiever
|
<receiver
|
||||||
android:directBootAware="true" >
|
android:directBootAware="true" >
|
||||||
...
|
...
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
|
|||||||
@@ -115,6 +115,10 @@ if (uiModeManager.getCurrentModeType() == Configuration.UI_MODE_TYPE_TELEVISION)
|
|||||||
<td>Sensors</td>
|
<td>Sensors</td>
|
||||||
<td>{@code android.hardware.sensor}</td>
|
<td>{@code android.hardware.sensor}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Screen in portrait orientation</td>
|
||||||
|
<td>{@code android.hardware.screen.portrait}</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<p id="cont-mic" class="note">
|
<p id="cont-mic" class="note">
|
||||||
|
|||||||
@@ -50,6 +50,10 @@ startpage=true
|
|||||||
Getting Started with TV Apps</a></dt>
|
Getting Started with TV Apps</a></dt>
|
||||||
<dd>Learn how to create a new Android Studio project for TV apps or modify your existing
|
<dd>Learn how to create a new Android Studio project for TV apps or modify your existing
|
||||||
app project to run on TV devices.</dd>
|
app project to run on TV devices.</dd>
|
||||||
|
<dt><a href="{@docRoot}training/tv/start/hardware.html">
|
||||||
|
Handling TV Hardware</a></dt>
|
||||||
|
<dd>Learn how to check if your app is running on TV hardware, handle unsupported hardware
|
||||||
|
features, and manage controller devices.</dd>
|
||||||
<dt><a href="{@docRoot}training/tv/start/layouts.html">
|
<dt><a href="{@docRoot}training/tv/start/layouts.html">
|
||||||
Building TV Layouts</a></dt>
|
Building TV Layouts</a></dt>
|
||||||
<dd>Learn the minimum requirements for TV layouts and how to implement them.</dd>
|
<dd>Learn the minimum requirements for TV layouts and how to implement them.</dd>
|
||||||
@@ -57,8 +61,4 @@ startpage=true
|
|||||||
Creating TV Navigation</a></dt>
|
Creating TV Navigation</a></dt>
|
||||||
<dd>Learn the requirements for TV navigation and how to implement TV-compatible
|
<dd>Learn the requirements for TV navigation and how to implement TV-compatible
|
||||||
navigation.</dd>
|
navigation.</dd>
|
||||||
<dt><a href="{@docRoot}training/tv/start/hardware.html">
|
|
||||||
Handling TV Hardware</a></dt>
|
|
||||||
<dd>Learn how to check if your app is running on TV hardware, handle unsupported hardware
|
|
||||||
features, and manage controller devices.</dd>
|
|
||||||
</dl>
|
</dl>
|
||||||
|
|||||||
Reference in New Issue
Block a user