ExamGecko
Question list
Search
Search

Related questions











Question 414 - H14-231_V1.0 discussion

Report
Export

If a developer uses the startAbility() method provided in Ability to start a Service, what are the correct descriptions of starting the Service?

A.
If the Service is not already running, the system calls the onCommand() method to start the Service
Answers
A.
If the Service is not already running, the system calls the onCommand() method to start the Service
B.
If the Service is running, the system will call back the onStart() method of the Service to start the Service
Answers
B.
If the Service is running, the system will call back the onStart() method of the Service to start the Service
C.
If the Service is running, the system will call back the onCommand() method of the Service to start the Service
Answers
C.
If the Service is running, the system will call back the onCommand() method of the Service to start the Service
D.
If the Service is not already running, onStart() is called to initialize the Service
Answers
D.
If the Service is not already running, onStart() is called to initialize the Service
Suggested answer: A, C, D
asked 18/09/2024
Michael Akinpelu
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first