2. About me
Arun Nagarajan (@entaq)
Currently
Founding Lead Engineer, funded stealth startup (NYC)
We are hiring! Email me at arun@isapp.com
Previously
2 yrs at Google - Tech Lead, Developer Platform
9 yrs at Verivo Software (Boston) - VP of Architecture
4. What are location services?
● Maps vs. Location
○ Context is king
● Capabilities over technologies
● User expectations
○ Privacy, transparency, no compromises
● Background location
○ Intelligent services that become possible
11. Transparency to the user
● Having a map (a reason) in your app helps
● Permissions
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
● Showing in the UI
12. Tools the user has
● Battery UI
● GPS indicator
○ Some Samsung devices blink indicator!
16. Simple/Synchronous way
public class MainActivity extends FragmentActivity implements
GooglePlayServicesClient.ConnectionCallbacks,
GooglePlayServicesClient.OnConnectionFailedListener {
...
// Global variable to hold the current location
Location mCurrentLocation;
...
mCurrentLocation = mLocationClient.getLastLocation();
...
}