Andorid广播动态注册

1         // 注册
2 dateReceiver = new DateReceiver();
3 IntentFilter filter = new IntentFilter();
4 filter.addAction(Intent.ACTION_DATE_CHANGED);
5 StartUp.this.registerReceiver(dateReceiver, filter);

你可能感兴趣的:(andorid)