Google Associate Android Developer Google Developers Certification – Associate Android Developer (Kotlin and Java Exam) Online Training
Google Associate Android Developer Online Training
The questions for Associate Android Developer were last updated at Feb 10,2025.
- Exam Code: Associate Android Developer
- Exam Name: Google Developers Certification - Associate Android Developer (Kotlin and Java Exam)
- Certification Provider: Google
- Latest update: Feb 10,2025
If you want the Database Inspector to automatically update the data it presents as you interact with your running app, check the Live updates checkbox at the top of the inspector window.
While live updates are enabled, what happens with the table in the inspector window?
- A . It is still editable. You can modify data in a table by double-clicking a cell, typing a new value, and pressing Enter.
- B . It becomes read-only and you cannot modify its values.
- C . It becomes read-only, but you cannot see its updated values before updating the data by clicking the Refresh table button at the top of the inspector window.
Enable debugging on your device: If you are using the emulator, this is enabled by default. But for a connected device, you need to
- A . enable transfer data from the device in usb connection options.
- B . enable debugging in the device developer options.
- C . enable connection in bluetooth options.
To run a debuggable build variant you must use a build variant that includes
- A . minifyEnabled false in the build configuration
- B . debuggable true or debuggable false in the build configuration
- C . debuggable true in the build configuration
About running a debuggable build variant. Usually, you can just select the default "debug" variant that’s included in every Android Studio project (even though it’s not visible in the build.gradle file). But if you define new build types that should be debuggable, you must add ‘debuggable true’ to the build type.
Is that mostly true?
- A . Yes.
- B . No, if you define new build types that should be debuggable, you must add ‘debuggable false’
- C . No, the debug variant should be visible in the build.gradle file anyway.
With a room database. When performing queries, you’ll often want your app’s UI to update automatically when the data changes.
Can you use a return value of type LiveData in your query method description to achieve this?
- A . Yes
- B . No
As an example. Our MutableLiveData<Long> object, named mLapseTime, is not connected to a Room database, etc.
How can we change the value in mLapseTime?
- A . mLapseTime.postValue(“new String”)
- B . mLapseTime.setValue(1000l)
- C . mLapseTime.changeValue(1000l)
Interface for a callback to be invoked when a shared preference is changed.
Interface is named:
- A . android.content.SyncStatusObserver
- B . android.content.SharedPreferences.Editor
- C . android.content.SharedPreferences.OnSharedPreferenceChangeListener
- D . android.content.SharedPreferences