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-10 UTC."],[[["To 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."],["An API key, a unique identifier for authentication and billing, is required and can be created through the Cloud Console or the Cloud SDK."],["For 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."],["Before using the API key, configure a project as detailed in the 'Set Up an Android Studio Project' documentation after obtaining the key."]]],[]]