[英]GeoFence IntentService not triggered when app on background
[英]How to create a BroadcastReceiver that is triggered when a user exits a Geofence whilst the app is killed/in the background?
我已經看過本教程: https : //developer.android.com/training/location/geofencing#RequestGeofences
它會動態創建一個Geofence
對象並進行注冊,以便在某些事件上發送BroadcastReceiver
。
由於這是我的第一個BroadcastReceiver
,因此很難遵循。
同樣在構建它之前,我想知道在應用被殺死后還是在后台它是否仍會發送廣播。
任何幫助表示贊賞。
檢查這篇文章
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.