Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我开发了一个 android 应用程序,当您靠近特定位置时会显示通知。
即使我的应用程序已关闭,我也想在用户进入特定位置时给用户一个通知。
我怎样才能做到这一点 ?我的朋友给了我一个使用广播接收器的建议,但我不知道如何实现它。
预先感谢。
您需要使用地理围栏。它集成在 Android 中,非常易于使用。谷歌有关于该功能的大量文档。