エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
BroadcastReceiver を別プロセスで動かしてみたときの感想文
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
BroadcastReceiver を別プロセスで動かしてみたときの感想文
LocationReceiver が BroadcastReceiver を拡張したクラスになります。 LocationReceiver には以下のよ... LocationReceiver が BroadcastReceiver を拡張したクラスになります。 LocationReceiver には以下のような記述をしました。 LocationReceiver.java public class LocationReceiver extends BroadcastReceiver { LocationManager mLocationMgr; public void onReceive(Context arg0, Intent arg1) { if (mLocationMgr == null) { mLocationMgr = (LocationManager) arg0 .getSystemService(arg0.LOCATION_SERVICE); } } } で、ここから意外だったんですが、 毎回毎回 mLocationMgr が nu