构建位置感知应用
开发资源
请求适当的权限
接收位置信息更新
优化电量消耗
将地图添加到您的应用中
最新资讯
Introducing the Fused Orientation Provider API: Consistent device orientation for all
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
Now in Android: 86 - Google Play at I/O, Pixel Fold and Tablet, Google Developer Expert, & more!
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
Improving urban GPS accuracy for your app
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
Unwrapping the Android 11 Beta, plus more developer updates
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
其他资源
Codelab
- 通过 Kotlin 在 Android 10 中获取位置信息:了解如何在搭载 Android 10 的设备上请求获取位置信息,包括在应用使用期间请求获取位置信息。