【发布时间】:2022-10-24 04:47:38
【问题描述】:
我按照this 教程使用 Java。正如预期的那样,BroadcastReceiver 接收到一个 Intent,但 GeofencingEvent fromIntent (Intent intent) 方法返回 NULL。
根据fromIntent 的文档:
返回 - 一个 GeofencingEvent 对象,如果给定的 Intent 为 null,则返回 null 或不包含地理围栏事件
可能的原因是什么?
【问题讨论】:
标签: android android-intent android-geofence