PlaceAutocomplete provides an activity that allows a user to start typing a place name or an address and see place predictions appear as they type.
If the user exits the autocomplete activity without choosing a place, the calling activity
Nested Class Summary
|class||PlaceAutocomplete.IntentBuilder||Builder for a Place Autocomplete launch intent.|
|int||MODE_FULLSCREEN||Mode for launching the autocomplete activity in fullscreen.|
|int||MODE_OVERLAY||Mode for launching the autocomplete activity as an overlay.|
|int||RESULT_ERROR||Indicates that an error occurred.|
Public Method Summary
Inherited Method Summary
public static final int MODE_FULLSCREEN
Mode for launching the autocomplete activity in fullscreen. The app will no longer be visible while the user picks a place.
public static final int MODE_OVERLAY
Mode for launching the autocomplete activity as an overlay. The app will be visible in the background while the user picks a place.
associated with the result.
The list of possible status codes is available at
You should pay specific attention to the value of
getStatus(Context, Intent) when the activity's result code is
RESULT_ERROR. This can indicate a configuration error (for example, an
invalid API key in your Android manifest) or a quota error (see Usage Limits).
|context||Your application's context.|
|intent||The result Intent that was provided in