모바일 애플리케이션의 고유한 기능 중 하나는 위치 인식 기능입니다. 모바일 사용자는 어디에나 기기를 휴대하기 때문에 앱에 위치 인식 기능을 추가하면 사용자에게 더욱 상황에 맞는 경험을 제공할 수 있습니다. Google Play 서비스에서 제공하는 위치 관련 API를 활용하면 자동 위치 추적, 반대편 도로 상황 감지, 지오펜싱, 활동 감지 기능을 사용하여 앱에 위치 인식 기능을 쉽게 추가할 수 있습니다.

개발 리소스

앱 기능의 사용 사례에 따라 권한을 선언하고 요청합니다.
통합 위치 정보 제공자를 사용하여 사용자에게 보다 관련성 높은 위치 정보를 제공합니다.
사용자 기기의 배터리 효율성을 개선합니다. 백그라운드 위치 정보 액세스 제한과 관련된 가이드라인을 따르세요.
지도에 관심 위치를 표시하고 지도에 표시된 항목을 제어할 수 있는 기능을 사용자에게 제공합니다.

최신 뉴스

Device orientation, or attitude, is used as an input signal for many use cases: virtual or augmented reality, gesture detection, or compass and navigation – any time the app needs the orientation of a device in relation to its surroundings. We’ve

Welcome to Now in Android, your ongoing guide to what’s new and notable in the world of Android development. Today, we’re covering updates from the top three things in Google Play at I/O 2023, Pixel Fold and Pixel Tablet, AndroidX releases, what it

At Android, we want to make it as easy as possible for developers to create the most helpful apps for their users. That’s why we aim to provide the best location experience with our APIs like the Fused Location Provider API (FLP). However, we’ve

Today, we’re unwrapping the Beta release for Android 11 as well as the latest updates for developers from Kotlin coroutines, to progress on the Jetpack Compose toolkit, to faster builds in Android Studio, even a refreshed experience for the Play

추가 리소스

앱의 위치 정보에 관한 액세스 권한 요청 방법을 자세히 알아보려면 다음 추가 리소스를 참조하세요.

샘플

위치 샘플은 Android OS 플랫폼 샘플의 일부입니다. Android OS 플랫폼 샘플의 위치 모듈을 참고하고 샘플을 실행하는 방법에 관한 안내를 따르세요.
위치 정보 액세스 권한 요청의 권장사항을 보여주는 샘플입니다.
사용자의 현재 위치를 가져오기 위한 권장사항을 보여주는 샘플입니다.
위치 업데이트를 수신하기 위한 권장사항을 보여주는 샘플입니다.
앱이 백그라운드에 있을 때 위치에 액세스하거나 위치 업데이트를 수신하는 방법을 보여주는 샘플입니다.
지오펜싱을 만들고 모니터링하는 방법을 보여주는 샘플입니다.
사용자 활동 감지 권장사항을 보여주는 샘플입니다.