android - 是否需要 Google Play 服务才能找到 Android 手机上的当前 gps 位置?

标签 android

我找到了两个关于检索安卓手机 GPS 位置的资源,一个来自 Google 网站:

http://developer.android.com/training/location/retrieve-current.html#top

还有一个来自这里:

What is the simplest and most robust way to get the user's current location on Android?

它们都描述了不同的步骤。我不确定该选择哪一个,不幸的是,Android 模拟器似乎没有安装 Google Play,所以我想选择第二个。

最佳答案

关于android - 是否需要 Google Play 服务才能找到 Android 手机上的当前 gps 位置?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20821826/

相关文章:

java - 错误 : No resource identifier found for attribute `requestLegacyExternalStorage` and `preserveLegacyExternalStorage` in package `android`

android - 使用数组元素的索引播放基于数组元素的声音

java - Android - 使用带有 adRquest 的 admob 加载广告时遇到问题

android - Unresolved reference getResources() Kotlin

java - 为什么来自 AlertDialog 的输入不显示在 RecyclerView 中?

android - ADB 备份 - 未知备份标志

android - Robolectric 3.0 - 使用 applicationIdSuffix 时资源未解析

java - 替换字节数组中的值会产生奇怪的结果

java - 由于字符常量无效,Android 应用程序无法编译

java - Android DJI-Mobile-SDK 正在占用 CPU