Android
OA0-002 · Question #134
Which of these is the incorrect step to create a program which activates a Service using bind?
The correct answer is B. Create a Service class implementing the interface defined in AIDL file. See the full explanation below for the reasoning.
Question
Which of these is the incorrect step to create a program which activates a Service using bind?
Options
- ADefine an interface in the AIDL file.
- BCreate a Service class implementing the interface defined in AIDL file.
- CCreate a class implementing ServiceConnection.
- DDeclare the Service in the manifest file.
How the community answered
(34 responses)- A3% (1)
- B71% (24)
- C9% (3)
- D18% (6)
Community Discussion
No community discussion yet for this question.