Utilise un nouveau modèle de tarification. Pour obtenir des informations sur les tarifs de toutes les API, consultez
SDK Places pour Android (nouveau).
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/08/30 (UTC).
[null,null,["Dernière mise à jour le 2025/08/30 (UTC)."],[],[],null,["# Migrate to Place Autocomplete (New)\n\n**European Economic Area (EEA) developers** If your billing address is in the European Economic Area, effective on 8 July 2025, the [Google Maps Platform EEA Terms of Service](https://cloud.google.com/terms/maps-platform/eea) will apply to your use of the Services. Functionality varies by region. [Learn more](/maps/comms/eea/faq).\n\n\u003cbr /\u003e\n\n| This feature requires that you enable Places API (New), the next generation of the Places API. For more information, see [Enable APIs](/maps/documentation/places/android-sdk/legacy/cloud-setup#enabling-apis).\n\n\u003cbr /\u003e\n\nPlaces SDK for Android supports\n[Place Autocomplete (Legacy)](/maps/documentation/places/android-sdk/autocomplete).\nIf you are familiar with\nPlace Autocomplete (Legacy),\n[Place Autocomplete (New)](/maps/documentation/places/android-sdk/place-autocomplete)\nmakes the following changes:\n\n- Uses a new pricing model. For pricing information for all APIs, see [Places SDK for Android\n (New)](/maps/documentation/places/android-sdk/usage-and-billing#pricing-new).\n\n- You must initialize your app by calling the\n [`Places.initializeWithNewPlacesApiEnabled()`](/maps/documentation/places/android-sdk/reference/com/google/android/libraries/places/api/Places#initializeWithNewPlacesApiEnabled(android.content.Context,%20java.lang.String))\n method. For more information on selecting the Places API service, see\n [Set up your Google Cloud project](/maps/documentation/places/android-sdk/legacy/cloud-setup).\n\n- The [`FindAutocompletePredictionsRequest`](/maps/documentation/places/android-sdk/reference/com/google/android/libraries/places/api/net/FindAutocompletePredictionsRequest)\n class contains new methods that let you:\n\n - Set the region code used to determine formatting of the results.\n - Set the prediction offset, a zero-based Unicode character offset of the query.\n\n For more information, see\n [Autocomplete (New)](/maps/documentation/places/android-sdk/place-autocomplete).\n- The session now concludes with a call to either\n [Place Details (New)](/maps/documentation/places/ios-sdk/details-place) or\n [Address Validation](/maps/documentation/address-validation/overview). For\n more information, see\n [Autocomplete (New) and session pricing](/maps/documentation/places/ios-sdk/place-session-pricing).\n\nExample request\n---------------\n\nFor a complete example, see\n[Autocomplete (New)](/maps/documentation/places/android-sdk/place-autocomplete)."]]