android - 适用于 Android 的 Google Nearby Publish 在后台

标签 android google-play-services google-nearby

Google Nearby 库允许仅使用 BLE 在 iOS 后台发布(声明 here )。不允许 Android 具有相同功能的原因是什么,它会得到支持吗?

最佳答案

documentation中提到的唯一原因为什么 Nearby Messages API 应该只在前台(而不是在后台)使用是因为可能会影响电池生命周期。但是这个article补充说,安全原因是 Android Activity 在后台被阻止的一个因素。

它会得到支持吗?

您可能需要定期检查 Release Notes for Google APIs for Android了解最新动态。

关于android - 适用于 Android 的 Google Nearby Publish 在后台,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42261736/

相关文章:

android - Google Play 服务版本 5.2.08 对我的设备来说太新了

android - google附近连接访问api

java - 如何以编程方式验证连接 API?

android - 变量不更新值

android - VideoView 在锁定屏幕上重新开始播放

android - 在 dandar3 的 eclipse 中打开 android 支持 appcompat 时出错

android - <sdk>/extras/google/google_play_services/libproject/下缺少 google-play-services_lib

android - Google Nearby 和 onPayloadTransferUpdate 频率中的传入文件负载感知

android - 如何将 TimePickerDialog 设置为 24 小时制?

Android:API 级别 VS。安卓版