Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
W tym dokumencie opisujemy wymagania wstępne dotyczące korzystania z pakietu SDK Miejsc na Androida, sposób jego włączania i wysyłania uwierzytelnionych żądań.
checklist
Sprawdź, czy spełniasz wymagania wstępne.
settings
włączyć pakiet SDK w projekcie Google Cloud;
verified_user
Skonfiguruj klucz interfejsu API do używania z pakietem SDK Miejsc na Androida.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-08-31 UTC."],[[["\u003cp\u003eTo use the Places SDK for Android, you'll need a project with billing enabled and the Places SDK enabled, which can be set up through the Cloud Console.\u003c/p\u003e\n"],["\u003cp\u003eAn API key, a unique identifier for authentication and billing, is required and can be created through the Cloud Console or the Cloud SDK.\u003c/p\u003e\n"],["\u003cp\u003eFor security, Google strongly recommends restricting your API keys by limiting their usage to necessary APIs and applying application restrictions with package names and SHA-1 certificate fingerprints.\u003c/p\u003e\n"],["\u003cp\u003eBefore using the API key, configure a project as detailed in the 'Set Up an Android Studio Project' documentation after obtaining the key.\u003c/p\u003e\n"]]],[],null,["# Set up the Places SDK for Android\n\nThis document describes the prerequisites for using the Places SDK for Android, how to enable it,\nand then how to make an authenticated request.\n\n|--------------------------------------------------------------------|---|-------------------------------------------------------------------------|---|-------------------------------------------------------------------------------------------------|\n| checklist 1. Prerequisites Ensure that you meet the prerequisites. | | settings 2. Enable the SDK Enable the SDK in your Google Cloud project. | | verified_user 3. Configure an API key Configure an API key for use with Places SDK for Android. |"]]