当前位置: 代码迷 >> Android >> Android 如何在onReceive方法中再发一条广播
  详细解决方案

Android 如何在onReceive方法中再发一条广播

热度:75   发布时间:2016-04-28 04:13:59.0
Android 怎么在onReceive方法中再发一条广播
如题:Android 怎么在onReceive方法中再发一条广播
------解决方案--------------------
可以的啊
Intent intent = new Intent(YOUR_ACTION);
intent.putExtra(a,b);
context.sendBroadcast(intent);
  相关解决方案