闹钟广播的意图是什么?
What Intent does an Alarm Clock broadcast?
在 developer.android.com 上显示
When an alarm goes off, the Intent that had been registered for it is broadcast by the system, automatically starting the target application if it is not already running.
常规闹钟广播的意图是什么?这样我就可以分配一个广播接收器来收听它。
谢谢!
final IntentFilter filter = new IntentFilter();
filter.addAction(Intent.ACTION_TIME_TICK);
this.sysForbidenReceiver.checkTime(this);
this.registerReceiver(this.sysForbidenReceiver, filter);
在 developer.android.com 上显示
When an alarm goes off, the Intent that had been registered for it is broadcast by the system, automatically starting the target application if it is not already running.
常规闹钟广播的意图是什么?这样我就可以分配一个广播接收器来收听它。
谢谢!
final IntentFilter filter = new IntentFilter();
filter.addAction(Intent.ACTION_TIME_TICK);
this.sysForbidenReceiver.checkTime(this);
this.registerReceiver(this.sysForbidenReceiver, filter);