自定义的广播接收者需要继承()类
A: BroadcastReceiver
B: Broadcast
C: Service
D: ContentProvider
A: BroadcastReceiver
B: Broadcast
C: Service
D: ContentProvider
A
举一反三
- 自定义的广播接收者MyBroadcastReceiver继承的是()类。 A: BroadcastReceiver B: Broadcast C: BroadcastReceive D: ContentProvider
- 广播接收者需要继承的是()类。 A: BroadcastReceiver B: Broadcast C: BroadcastReceive D: ContentProvider
- 案例中自定义的广播接收者MyBroadcastReceiver继承的是( )类。 A: BroadcastReceiver B: BroadcastReceive C: Broadcast D: ContentProvider
- Android中定义广播接收者要继承()类。 A: BroadCastReceiver B: BroadCast C: Receiver D: BroadCastReboot
- Android中定义广播接收者要继承( )。 A: Receiver B: BroadCastReboot C: BroadCast D: BroadcastReceiver
内容
- 0
Android中定义广播接收者,定义一个类要继承BroadCastReceiver类.
- 1
下列选项中,属于在清单文件中配置广播接收者标签的是()。 A: <;broadcast/>; B: <;broadcastreceiver/>; C: <;ContentProvider/>; D: <;receiver/>;
- 2
Android四大组件是()。 A: Activity、BroadcastReceiver、Service、ContentProvider B: Activity、Intent、Service、ContentProvider C: Activity、BroadcastReceiver、Service、ContentResolver D: Activity、BroadcastReceiver、Service、ContentObserver
- 3
在清单文件中,注册广播接收者时使用的节点是( ) A: <;activity>; <;/activity>; B: <;broadcast>; <;/broadcast>; C: <;receiver>; <;/receiver>; D: <;broadcastreceiver>; <;/broadcastreceiver>;
- 4
当一个广播消息到达接收者时,Android调用BroadcastReceiver的()方法。 A: onReceive() B: BroadcastReceiver C: Broadcast() D: receive