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.
あるアクティビティで近接アラートを登録しましたが、別のアクティビティから座標を更新したいと考えています。それ、どうやったら出来るの?最初のアクティビティで既にメソッドを作成しようとしましたunregisterProximityが、静的にすることはできません。
unregisterProximity
何か案が?
あるアクティビティから別のアクティビティに座標を渡すか、locationManager.removeProximityAlert(proximityIntent)作成されたときと同じ proxyIntent で使用します
locationManager.removeProximityAlert(proximityIntent)
コードを投稿し、さらに情報を追加してください。質問が明確ではないためです