摘要: 只需要在另一篇文章基础上增加一个广播接收器,这个新增的广播接收器我取名为AnotherBroadcastReceiver, 然后修改MainActivity中的代码 package com.example.demoapplication; import androidx.appcompat.app. 阅读全文
posted @ 2022-08-20 14:57 jarico 阅读(43) 评论(0) 推荐(0)
摘要: 新建广播接收器 右击包名->New->Other->Broadcast Receiver 编写接收器逻辑代码 package com.example.demoapplication; import android.content.BroadcastReceiver; import android.c 阅读全文
posted @ 2022-08-20 14:30 jarico 阅读(253) 评论(0) 推荐(0)