Sapient Company Programming

Which of the following statements is/are false about Services in Android?

A. Services are used for repetitive and potentially long running operations such as Internet downloads.
B. Services are less likely to be terminated by the Android system.
C. Services cannot be assigned higher priority than Foreground activities.

1) Only B
2) Only C
3) B and C
4) none of the given options

Read Solution (Total 1)

Sapient Other Question

Which of the following is not a feature of Andorid's Service?

1) It has no User Interface
2) A service is bound to the lifecycle of an actvity
3) It runs in the background without direct interaction with the user
4) none of the given options
Following is the list of Activity Lifecycle methods along with the next method that can be invoked in the Activity Lifecycle. Which of the following options is/are correct?

1) onCreate() --> onStart()
2) onRestart() --> onStart()
3) onDestroy() --> No method is called
4) All of the given options