GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Android Questions refined

andrew tittle Englisch 14 Karten

Karten in diesem Stapel (14)

  1. 1What is Sensor?Provides the methods for determining the capabilities of a specific sensor.
  2. 2What is SensorManager?Provides the methods used for registering sensor event listeners and calibrating the sensors.
  3. 3What is SensorEvent?Provides the raw sensor data, including accuracy data.
  4. 4What is SensorEventListener.Interface that defines callback methods for receiving sensor event notifications
  5. 5What is ContentProvider and what is it used for?ContentProvider is a interface that connects data in one process and runs code in another process.
    We use it for managing access to a strutted set of data. It encapsulates the data and provides mechanisms for defining data security
  6. 6Describe a scenario where onPause() and onStop() would not be called?If finish() is called within onCreate(), if we detect an error in onCreate() and call finish()
  7. 7What is the relation between Async and Activity lifecycle?Async task is not tied to the lifecycle of the activity that contains it. The task will finish if the activity is changed
  8. 8What problems can result in the previous question?Throws exceptions because one activities asyncTask will not update another activities view.. in the case of a UI
  9. 9How could this problem be solved from the previous question?Not using asyncTasks for long operations but rather using a service
  10. 10Difference between fragment and a Activity?Activity is a single, focused operation a user can perform.
    Fragment is a modular section within an Activity that has its own lifecycle and input events
  11. 11What are Launch Modes?A way to associate a instance of a new activity with the current task.
    Manifest and IntentFlags
  12. 12What type of launch modes are supported in Manifest?standard
    singleTop
    singleTask
    singleInstance
  13. 13What type of launch modes are supported In IntentFlags?FLAG_ACTIVITY_NEW_TASK
    FLAG_ACTIVITY_SINGLE_TOP
    FLAG_ACTIVITY_CLEAR_TOP
  14. 14Describe the ContentProvider process?To access the data through a contentProvider, we must first use the contentResolver object in the applications Context to communicate with the provider as a client. The ContentResolver object communicates with the provider object, an instance of a class that implements ContentProvider.

Informationen

Beschreibung
redefined list of android interview questions
Erstellt von
andrew tittle
Aufrufe
1
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck