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

Commit 65dc25da authored by Sarah Maddox's avatar Sarah Maddox
Browse files

docs: Updates lesson 1 of location API training: Get last-known location.

Uses GoogleApiClient to connect to Play services.
Uses the latest Fused Location Provider API.
Updates the entire tutorial and code sample for clarity and correctness.

Bug: 17109822
Change-Id: I759a184a72d50702030b898a5f2e240cd3bdf4be
parent 6b8756c3
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -67,9 +67,10 @@ startpage=true
<h2>Lessons</h2>
<dl>
  <dt>
    <b><a href="retrieve-current.html">Retrieving the Current Location</a></b>
    <b><a href="retrieve-current.html">Getting the Last Known Location</a></b>
  </dt> <dd>
     Learn how to retrieve the user's current location.
     Learn how to retrieve the last known location of an Android device, which
     is usually equivalent to the user's current location.
  </dd> <dt>
    <b><a href="receive-location-updates.html">Receiving Location
    Updates</a></b>
+140 −364

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -694,7 +694,7 @@ include the action bar on devices running Android 2.1 or higher."
        <ul>
          <li>
            <a href="<?cs var:toroot ?>training/location/retrieve-current.html">
            Retrieving the Current Location
            Getting the Last Known Location
            </a>
          </li>
          <li>