What is the life cycle of foreground activity in android?
Options
1) onCreate() −> onStart() −> onResume() −> onStop() −> onRestart
2) onCreate() −> onStart() −> onResume() −>onStop()
3) onCreate() −> onStart() −> onResume()
4) None of the Above
Options
1) Each application runs securely in sandbox without interrupting another process
2) Android Box
3) Android development tool kit
4) None of the above
What are the functionalities of Binder services in android?
Options
1) Binder is responsible to manage the thread while using aidl in android
2) Binder is responsible for marshalling and un-marshalling of the data
3) A & B
4) Binder is a kind of interface
What is the difference between Activity context and Application Context?
Options
1) The Activity instance is tied to the lifecycle of an Activity.
while the application instance is tied to the lifecycle of the application,
2) The Activity instance is tied to the lifecycle of the application,
while the application instance is tied to the lifecycle of an Activity.
3) The Activity instance is tied to the lifecycle of the Activity,
while the application instance is tied to the lifecycle of an application.
4) None of the above