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

Commit 8f93624e authored by Scott Rowe's avatar Scott Rowe
Browse files

docs: delete preview pages

Change-Id: I76b6b8545bfed3ad0604043105ccf4795ab8be62
parent 248edc3e
Loading
Loading
Loading
Loading

docs/html/preview/api-overview.jd

deleted100644 → 0
+0 −931

File deleted.

Preview size limit exceeded, changes collapsed.

docs/html/preview/reference.jd

deleted100644 → 0
+0 −11
Original line number Diff line number Diff line
page.title=Reference

@jd:body

<p>The reference documentation and API difference report are available in this downloadable package.
</p>

<ul>
  <li><a href="http://storage.googleapis.com/androiddevelopers/preview/l-developer-preview-reference.zip">L
  Developer Preview reference</a></li>
</ul>
 No newline at end of file

docs/html/preview/samples.jd

deleted100644 → 0
+0 −237
Original line number Diff line number Diff line
page.title=Samples

@jd:body

<p>The following code samples are provided for the L Developer Preview. You can
download them in the Android SDK Manager under the <b>SDK Samples</b> component
for the L Developer Preview.</p>

<p class="note">
  <strong>Note:</strong> At this time, the downloadable projects are designed
   for use with Gradle and Android Studio.
</p>


<h3 id="BasicManagedProfile">BasicManagedProfile</h3>
<div class="figure" style="width:220px">
  <img src="{@docRoot}preview/images/BasicManagedProfile.png"
     srcset="{@docRoot}preview/images/BasicManagedProfile@2x.png 2x"
     alt="" height="375" />
  <p class="img-caption">
    <strong>Figure 1.</strong> The BasicManagedProfile sample app.
  </p>
</div>

<p>This sample demonstrates how to create a managed profile. You can also:</p>
<ul>
  <li>Enable or disable other apps, and set restrictions on them.</li>
  <li>Configure intents to be forwarded between the primary account and the
   managed profile.</li>
  <li>Wipe all the data associated with the managed profile.</li>
</ul>

<p class="note"><strong>Note:</strong> There can be only one managed profile on
  a device at a time.</p>

<p><a href="http://github.com/googlesamples/android-BasicManagedProfile">Get it on GitHub</a></p>

<h3 id="Camera2Basic">Camera2Basic</h3>

<!--
<div class="figure" style="width:220px">
  <img src="" srcset="@2x.png 2x" alt="" height="375" />
  <p class="img-caption">
    <strong>Figure n.</strong> Single sentence summarizing the figure.
  </p>
</div>
-->

<p>This sample demonstrates the basic use of the Camera2 API. The sample code
demonstrates how you can display camera preview and take pictures.</p>

<p><a href="http://github.com/googlesamples/android-Camera2Basic">Get it on GitHub</a></p>


<h3 id="Camera2Video">Camera2Video</h3>
<!--
<div class="figure" style="width:220px">
<img src="" srcset="@2x.png 2x" alt="" height="375" />
    <p class="img-caption">
    <strong>Figure n.</strong> Single sentence summarizing the figure.
  </p>
</div>
-->

<p>This sample demonstrates how to record video using the Camera2 API.</p>

<p><a href="http://github.com/googlesamples/android-Camera2Video">Get it on GitHub</a></p>

<h3 id="ActivitySceneTransitionBasic">ActivitySceneTransitionBasic</h3>
<div class="figure" style="width:220px">
  <img src="{@docRoot}preview/images/ActivitySceneTransitionBasic.png"
      srcset="{@docRoot}preview/images/ActivitySceneTransitionBasic@2x.png 2x"
      alt="" height="375" />
  <p class="img-caption">
    <strong>Figure 2.</strong> The ActivitySceneTransitionBasic sample app.
  </p>
  </div>

<p> This sample demonstrates how to the use {@link android.app.Activity} scene
transitions when transitioning from one activity to another. Uses a combination
of <code>moveImage</code> and <code>changeBounds</code> to nicely transition
from a grid of images to an activity with a large image and detail text. </p>

<p><a href="http://github.com/googlesamples/android-ActivitySceneTransition">Get it on GitHub</a></p>

<h3 id="ElevationBasic">ElevationBasic</h3>
<!--
<div class="figure" style="width:220px">
<img src="" srcset="@2x.png 2x" alt="" height="375" />
    <p class="img-caption">
    <strong>Figure n.</strong> Single sentence summarizing the figure.
  </p>
</div>
-->

<p>
This sample demonstrates two alternative ways to move a view in the z-axis:</p>

<ul>
  <li>With a fixed elevation, using XML.</li>
  <li>Raising the elevation when the user taps on it, using
      <code>setTranslationZ()</code>.</li>
</ul>

<p><a href="http://github.com/googlesamples/android-ElevationBasic">Get it on GitHub</a></p>

<h3 id="ElevationDrag">ElevationDrag</h3>
<!--
<div class="figure" style="width:220px">
  <img src="" srcset="@2x.png 2x" alt="" height="375" />
  <p class="img-caption">
    <strong>Figure n.</strong> Single sentence summarizing the figure.
  </p>
</div>
-->

<p>This sample demonstrates a drag and drop action on different shapes.
Elevation and z-translation are used to render the shadows. The views are
clipped using different outlines.</p>

<p><a href="http://github.com/googlesamples/android-ElevationDrag">Get it on GitHub</a></p>


<h3 id="ClippingBasic">ClippingBasic</h3>
<!--
<div class="figure" style="width:220px">
  <img src="" srcset="@2x.png 2x" alt="" height="375" />
  <p class="img-caption">
    <strong>Figure n.</strong> Single sentence summarizing the figure.
  </p>
</div>
-->

<p>
This sample demonstrates clipping on a {@link android.view.View}.
</p>

<p><a href="http://github.com/googlesamples/android-ClippingBasic">Get it on GitHub</a></p>

<div class="figure" style="width:220px">
  <img src="{@docRoot}preview/images/JobSchedulerSample.png"
      srcset="{@docRoot}preview/images/JobSchedulerSample@2x.png 2x"
      alt="" height="375" />
  <p class="img-caption">
    <strong>Figure 3.</strong> The JobSchedulerSample sample app.
  </p>
</div>

<h3 id="GameControllerSample">GameControllerSample</h3>
<!--
<div class="figure" style="width:220px">
  <img src="" srcset="@2x.png 2x" alt="" height="375" />
  <p class="img-caption">
    <strong>Figure n.</strong> Single sentence summarizing the figure.
  </p>
</div>
-->

<p>
This sample implements a multi-player game, demonstrating game controller input
handling.
</p>

<p><a href="http://github.com/googlesamples/androidtv-GameController">Get it on GitHub</a></p>


<h3 id="Visual-Game-Controller">Visual-Game-Controller</h3>
<!--
<div class="figure" style="width:220px">
  <img src="" srcset="@2x.png 2x" alt="" height="375" />
  <p class="img-caption">
    <strong>Figure n.</strong> Single sentence summarizing the figure.
  </p>
</div>
-->

<p>
This sample displays events received from a game controller shown on the screen.
</p>

<p><a href="http://github.com/googlesamples/androidtv-VisualGameController">Get it on GitHub</a></p>

<h3 id="AndroidTVLeanbackSample">AndroidTVLeanbackSample</h3>
<!--
<div class="figure" style="width:220px">
  <img src="" srcset="@2x.png 2x" alt="" height="375" />
  <p class="img-caption">
    <strong>Figure n.</strong> Single sentence summarizing the figure.
  </p>
</div>
-->

<p>
This sample demonstrates use of the Android TV Leanback Support Library.
</p>

<p><a href="http://github.com/googlesamples/androidtv-Leanback">Get it on GitHub</a></p>

<h3 id="JobSchedulerSample">JobSchedulerSample</h3>

<p>
This sample app allows the user to schedule jobs through the UI, and shows
visual cues when the jobs are executed.
</p>

<p><a href="http://github.com/googlesamples/android-JobScheduler">Get it on GitHub</a></p>

<h3 id="NavigationDrawerSample">NavigationDrawerSample</h3>
<!--
<div class="figure" style="width:220px">
  <img src="" srcset="@2x.png 2x" alt="" height="375" />
  <p class="img-caption">
    <strong>Figure n.</strong> Single sentence summarizing the figure.
  </p>
</div>
-->

<p>
This sample illustrates a common usage of the Android support library's
{@link android.support.v4.widget.DrawerLayout} widget.
</p>

<p><a href="http://github.com/googlesamples/android-NavigationDrawer">Get it on GitHub</a></p>
<!--
<h3 id="">SampleName</h3>

<div class="figure" style="width:220px">
  <img src="" srcset="@2x.png 2x" alt="" height="375" />
  <p class="img-caption">
    <strong>Figure n.</strong> Single sentence summarizing the figure.
  </p>
</div>

<p>
**description**
</p>
-->

docs/html/preview/setup-sdk.jd

deleted100644 → 0
+0 −370

File deleted.

Preview size limit exceeded, changes collapsed.

docs/html/preview/support.jd

deleted100644 → 0
+0 −120
Original line number Diff line number Diff line
page.title=Support

@jd:body

<p>If you've encountered bugs or have feedback about the L Developer Preview,
<a href="https://code.google.com/p/android-developer-preview/">create an issue</a> on
our issue tracker.</p>

<p>For more support,
<a href="https://plus.google.com/communities/101985907812750684586">join
the L Developer Preview Google+ community</a> to discuss your development experiences.


<h2 id="ReleaseNotes">Release Notes</h2>
<p>June 25, 2014 - Initial Release of the L Developer Preview</p>

<h3 id="UserInterface">User interface</h3>
<ul>
<li>If your app launches an activity with
{@link android.app.Activity#startActivity startActivity()}
and an {@link android.content.Intent} set to
{@link android.content.Intent#FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET}, the
activity shows up as a separate task in the Recent apps screen. This is the
same behavior as though your app used {@code Intent.FLAG_ACTIVITY_NEW_DOCUMENT}
(see <a href="{@docRoot}preview/api-overview.html#Recents">Concurrent
documents and activities in the Recents screen</a>). If you want your activity
to remain in the same task that launched it, use
{@link android.app.Activity#startActivityForResult
startActivityForResult()} instead.</li>
<li>System-rendered shadows for user interface (UI) elements in views may
appear with visible spiky edges. To avoid this visual artifact, use a higher
<a href="{@docRoot}preview/material/views-shadows.html#elevation">view
elevation</a>.</li>
<li>On very tall or wide views, view shadows may appear with additional rough
visual artifacts around the view edges. To minimize this, avoid using view
shadows with very narrow views.</li>
<li>The {@code android.graphics.drawable.RippleDrawable} class does not
respond to pointer location changes, except when the drawable is set as a
{@link android.view.View} background.</li>
</ul>

<h3 id="Multimedia">Multimedia</h3>
<ul>
<li>The {@code android.hardware.camera2} APIs are supported only on Nexus 5
devices.</li>
<li>Saving a DNG file with the new {@code android.hardware.camera2.DngCreator}
API fails if lens shading compensation map generation is not enabled. To
capture images to DNG files, add the following code when creating your capture
requests:
<pre>
CaptureRequest.Builder stillCaptureRequest =
        mCameraDevice.createCaptureRequest(CameraDevice.TEMPLATE_STILL_CAPTURE);

stillCaptureRequest.set(CaptureRequest.STATISTICS_LENS_SHADING_MAP_MODE,
        CaptureRequest.STATISTICS_LENS_SHADING_MAP_MODE_ON);
</pre></li>
<li>The {@code android.media.AudioTrack.write(float[], int, int, int)} method
currently does not work. Use the
{@link android.media.AudioTrack#write(short[], int, int)
AudioTrack.write(short[], int, int)} method instead.</li>
<li>Lockscreen security is currently not enforced when users start a Android
mirroring session from the Quick Settings shade.</li>
</ul>

<h3 id="UserInput">User input</h3>
<ul><li>The System UI may crash unexpectedly while the device is charging, if
	the locale is set to {@code fr} (FRENCH).</li></ul>

<h3 id="Wireless">Wireless and Connectivity</h3>
<ul>
<li>The {@code android.bluetooth.le} APIs are supported only on Nexus 5
devices.</li>
<li>You might encounter these issues while using Bluetooth LE scanning:
	<ul>
	<li><em>Settings</em> does not show all Bluetooth LE devices when a scan
		filter is set.</li>
	<li>System returns non-intuitive error messages during a Bluetooth LE scan,
		when Bluetooth is off.</li>
	<li>The {@code BluetoothLeScanner.startScan()} method starts failing after
		six concurrent scans with different callbacks.</li>
	</ul>
</li>
<li>You might encounter these issues while using Bluetooth LE advertising:
	<ul>
		<li>The device MAC address does not change for multiple advertising
		when the application processor is asleep.</li>
		<li>The TX Power Level is always 0 in advertising packets.</li>
	</ul>
</li>
</ul>

<h3 id="Enterprise">Enterprise</h3>
<ul>
<li>The device may crash unexpectedly in these situations when using
Android work functionality:
<ul>
<li>The user attempts to share a web page (via <strong>Menu &gt; Share</strong>)
from a non-Android work Chrome app to a Android work profile Gmail app.</li>
<li>The user attempts to share a web page via Bluetooth from a
Android work profile
Chrome app.</li>
<li>The user attempts to share a web page via Android Beam from a
Android work profile Chrome app.</li>
</ul>
</li>
<li>Deleting a Android work profile may take several minutes to complete. You
cannot create a new Android work profile until the deletion operation is over.</li>
</ul>

<h3 id="64bitsupport">64-bit support</h3>
<ul>
<li><p>If you are using the NDK to compile apps for 32- or 64-bit systems and
want to use the features provided in the L Developer Preview, download the
{@code android-ndk64-r10} package for your target platform from the
<a href="{@docRoot}tools/sdk/ndk/index.html">Android NDK page</a>. The
{@code android-ndk64-r10} package contains the L Developer Preview API
library (located under the {@code platforms/android-L/} API directory) for both
32- and 64-bit systems. The package also includes the {@code gcc-4.9} compiler
for both 32- and 64-bit apps.</p></li>
</ul>