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

Commit a1a9fd19 authored by Joe Fernandez's avatar Joe Fernandez
Browse files

docs: InfoPros Project 02 - Batch 02 updates

b/26490262

Change-Id: I3838f0c96ed687684457d2c56044148f56a29f8d
parent 8cfbe955
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -988,8 +988,7 @@ data-cardsizes="6x3,6x3,6x3,6x3,6x3,6x3" data-maxresults="6">
    Switch to another app to send the test app into the background. Go to
    Settings and check whether the test app has any services running while in
    the background. In Android 4.0 and higher, go to the Apps screen and find
    the app in the "Running" tab. In earlier versions, use "Manage
    Applications" to check for running services.
    the app in the "Running" tab.
  </td>
  </tr>

+2 −7
Original line number Diff line number Diff line
@@ -54,18 +54,13 @@ line tools.</p>
    If you're developing on Windows, you might need to install the appropriate USB driver for your
    device. For help installing drivers, see the <a href="{@docRoot}tools/extras/oem-usb.html">OEM
    USB Drivers</a> document.</li>
  <li>Enable <strong>USB debugging</strong> on your device.
    <ul>
      <li>On most devices running Android 3.2 or older, you can find the option under
        <strong>Settings > Applications > Development</strong>.</li>
      <li>On Android 4.0 and newer, it's in <strong>Settings > Developer options</strong>.
  <li>Enable <strong>USB debugging</strong> on your device. On Android 4.0 and newer, go to
    <strong>Settings > Developer options</strong>.
        <p class="note"><strong>Note:</strong> On Android 4.2 and newer, <strong>Developer
        options</strong> is hidden by default. To make it available, go
        to <strong>Settings > About phone</strong> and tap <strong>Build number</strong>
        seven times. Return to the previous screen to find <strong>Developer options</strong>.</p>
  </li>
    </ul>
  </li>
</ol>

<h3>Run the app from Android Studio</h3>
+0 −7
Original line number Diff line number Diff line
@@ -38,13 +38,6 @@ extend the {@link android.support.v4.app.Fragment} class using the <a
href="{@docRoot}tools/support-library/index.html">Support Library</a> so your app
remains compatible with devices running system versions as low as Android 1.6.</p>

<p class="note"><strong>Note:</strong> If you decide that the minimum
API level your app requires is 11 or higher, you don't need to use the Support
Library and can instead use the framework's built in {@link android.app.Fragment} class and related
APIs. Just be aware that this lesson is focused on using the APIs from the Support Library, which
use a specific package signature and sometimes slightly different API names than the versions
included in the platform.</p>

<p>Before you begin this lesson, you must set up your Android project to use the Support Library.
If you have not used the Support Library before, set up your project to use the <strong>v4</strong>
library by following the <a href="{@docRoot}tools/support-library/setup.html">Support Library
+2 −2
Original line number Diff line number Diff line
@@ -107,8 +107,8 @@ contact the user selected.</p>
<p>In order to successfully handle the result, you must understand what the format of the result
{@link android.content.Intent} will be. Doing so is easy when the activity returning a result is
one of your own activities. Apps included with the Android platform offer their own APIs that
you can count on for specific result data. For instance, the People app (Contacts app on some older
versions) always returns a result with the content URI that identifies the selected contact, and the
you can count on for specific result data. For instance, the People app always returns a result
with the content URI that identifies the selected contact, and the
Camera app returns a {@link android.graphics.Bitmap} in the {@code "data"} extra (see the class
about <a href="{@docRoot}training/camera/index.html">Capturing Photos</a>).</p>

+2 −2
Original line number Diff line number Diff line
@@ -229,8 +229,8 @@ if (!mScroller.isFinished()) {
    is not available prior to API level 11, so this technique cannot be used
on devices running Android versions lower than 3.0.</p>

<p class="note"><strong>Note:</strong> {@link android.animation.ValueAnimator} isn't available
        prior to API level 11, but you can still use it in applications that
<p class="note"><strong>Note:</strong> You can use {@link android.animation.ValueAnimator} in
applications that
target lower API levels. You just need to make sure to check the current API level
at runtime, and omit the calls to the view animation system if the current level is less than 11.</p>

Loading