Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Which of the following is NOT a state in the lifecycle of a service? Destroyed Paused Starting Running What built-in database is Android shipped
Which of the following is NOT a state in the lifecycle of a service? Destroyed Paused Starting Running What built-in database is Android shipped with? Apache SQLite Oracle MySQL What runs in the background and doesn't have any UI components? Content Providers Applications Intents Services Which of the following is the best description of a Cursor object? An object that declares a SQLite database query An object that holds the results of a query An object that executes a query An object that executes and holds the results of a query Which of the following function calls can be used to start a Service from your Android application? a) bindService b) startService c) runService d) Both a and b Which of the following is the correct code to call a phone number from within an app? startIntent(new Intent(Uri.parse("tel :"+phoneNumber))); startActivity(new Intent(Uri.parse(phoneNumber))); startActivity(Intent.ACTION_CALL); startActivity(new Intent(Intent.ACTION_CALL).setData(Uri.parse("tel :"+phoneNumber))) ; Which of the following is the correct code to get a reference to an Android device's proximity sensor? O sensorManager.getSystemService (TYPE_PROXIMITY) getSystemService(Sensor.TYPE_PROXIMITY) sensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY) getSystemService(Context.PROXIMITY_SENSOR)
Step by Step Solution
★★★★★
3.54 Rating (157 Votes )
There are 3 Steps involved in it
Step: 1
The detailed answer for the above question is provided below QUESTION 1 Destroyed EXPLANATION The Destroyed state is not a part of the lifecycle of a ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started