<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
Then a new client is created with specifications for the required API and the behavior on connection to that API
mGoogleApiClient = new GoogleApiClient.Builder(this)
.addConnectionCallbacks(this)
.addOnConnectionFailedListener(this)
.addApi(LocationServices.API)
.build();
After it is created, call the connect method (This isn't clear from the online docs!)
mGoogleApiClient.connect();
<resources>
<string name="app_name">CMSC331Ex</string>
<string name="action_settings">Settings</string>
</resources>