Open main menu

CDOT Wiki β

MAP524/DPS924 Lecture 9

Revision as of 23:06, 4 August 2015 by Andrew (talk | contribs) (Created page with '= Location APIs = There are two: [http://developer.android.com/reference/android/location/package-summary.html android.location] and the [https://developer.android.com/training/…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Location APIs

There are two: android.location and the Google Play Services API. They both work and Google encourages you to use their proprietary APIs, which may but may not be in fact in your interest. In the interest of time we'll only look at the Google Play APIs here, they are better documented.

Setup to use Google Play Services

  • Go to your SDK Manager and make sure the latest versions of "Google Play services" and "Google Repository" are installed. When you do that - make sure to not install any other updates. The SDK Manager likes to suggest all kinds of updates that you don't need and will use up all your disk space.
  • See here. Note it's talking about the build.gradle file inside the app subdirectory of your project.