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

Commit 02d65151 authored by Joe Fernandez's avatar Joe Fernandez Committed by android-build-merger
Browse files

docs: InfoPros Project 02 - Batch 02 updates

am: a1a9fd19

* commit 'a1a9fd19':
  docs: InfoPros Project 02 - Batch 02 updates
parents ef93504c a1a9fd19
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line 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
    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
    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 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
    the app in the "Running" tab.
    Applications" to check for running services.
  </td>
  </td>
  </tr>
  </tr>


+2 −7
Original line number Original line 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
    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
    device. For help installing drivers, see the <a href="{@docRoot}tools/extras/oem-usb.html">OEM
    USB Drivers</a> document.</li>
    USB Drivers</a> document.</li>
  <li>Enable <strong>USB debugging</strong> on your device.
  <li>Enable <strong>USB debugging</strong> on your device. On Android 4.0 and newer, go to
    <ul>
    <strong>Settings > Developer options</strong>.
      <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>.
        <p class="note"><strong>Note:</strong> On Android 4.2 and newer, <strong>Developer
        <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
        options</strong> is hidden by default. To make it available, go
        to <strong>Settings > About phone</strong> and tap <strong>Build number</strong>
        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>
        seven times. Return to the previous screen to find <strong>Developer options</strong>.</p>
  </li>
  </li>
    </ul>
  </li>
</ol>
</ol>


<h3>Run the app from Android Studio</h3>
<h3>Run the app from Android Studio</h3>
+0 −7
Original line number Original line 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
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>
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.
<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>
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
library by following the <a href="{@docRoot}tools/support-library/setup.html">Support Library
+2 −2
Original line number Original line 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
<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
{@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
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
you can count on for specific result data. For instance, the People app always returns a result
versions) always returns a result with the content URI that identifies the selected contact, and the
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
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>
about <a href="{@docRoot}training/camera/index.html">Capturing Photos</a>).</p>


+2 −2
Original line number Original line 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
    is not available prior to API level 11, so this technique cannot be used
on devices running Android versions lower than 3.0.</p>
on devices running Android versions lower than 3.0.</p>


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


Loading