当一个广播消息到达接收者时,Android调用BroadcastReceiver的()方法。
A: onReceive()
B: BroadcastReceiver
C: Broadcast()
D: receive
A: onReceive()
B: BroadcastReceiver
C: Broadcast()
D: receive
举一反三
- Android中定义广播接收者要继承( )。 A: Receiver B: BroadCastReboot C: BroadCast D: BroadcastReceiver
- Android中定义广播接收者要继承()类。 A: BroadCastReceiver B: BroadCast C: Receiver D: BroadCastReboot
- 在清单文件中,注册广播接收者时使用的节点是( ) A: <;activity>; <;/activity>; B: <;broadcast>; <;/broadcast>; C: <;receiver>; <;/receiver>; D: <;broadcastreceiver>; <;/broadcastreceiver>;
- 当Android系统产生一个广播事件时,只能有一个BroadcastReceiver接收并进行处理。
- Android中定义广播接收者,定义一个类要继承BroadCastReceiver类.