Pass the Android Android certified application developer AND-402 Questions and answers with CertsForce

Viewing page 2 out of 4 pages
Viewing questions 11-20 out of questions
Questions # 11:

Which of the following is NOT true about “auto” value given to the installLocation attribute in the tag?

Options:

A.

By default, when an application is installed for the first time, a memory error is given in case the space is notavailable in the internal memory.


B.

The application is installed on internal memory by default if space is available


C.

In case of unavailability of space in internal memory the application is installed on external memory


D.

Once installed, the application can be moved from internal to external memory and vice versa.


Questions # 12:

Which of the following is NOT true about the versionCode attribute? (Choose two)

Options:

A.

This is same as the version number of the application shown to the user


B.

This must be an integer.


C.

This must be a floating number


D.

It must be incremented from the previous versionCode when releasing a new version of application.


Questions # 13:

Which of the following methods can be used to extract licence information from rights object?

Options:

A.

getDrmRightsObject()


B.

getConstraints()


C.

getApplicationContext()


D.

saveRights()


Questions # 14:

Which of the following is the only Android application component which interacts with user?

Options:

A.

Activity


B.

Service


C.

Content Provider


D.

broadcast Receivers


Questions # 15:

What is the recommended use of BaseColumns._ID in SQLite database?

Options:

A.

It should always be used to maintain unique ID.


B.

It should be used to include unique ID when content provider is being used.


C.

It is deprecated now.


D.

All are correct.


Questions # 16:

Which of the following is NOT true about the “label” attribute of the <application> tag? (Choose two)

Options:

A.

It should be set as a reference to a string resource.


B.

It cannot be a raw string.


C.

It is a user readable label for the application as a whole.


D.

Its default value is same as that given to the “description” attribute.


Questions # 17:

Which XML tag is used to make use of protected features of the device?

Options:

A.


B.


C.

<application>


D.


Questions # 18:

Which of the following is NOT true about setting two applications to share same Linux ID?

Options:

A.

Both applications must be running in background to check if they are sharing same Linux ID.


B.

The applications just need to be installed on single device, for checking their Linux ID, they need not to berunning.


C.

Android's adb tool can be used to check the applications that if they are sharing same Linux ID.


D.

Making two applications sharing same Linux ID must have same value of sharedUserID in

AndroidManifest.xml.


Questions # 19:

Which of the following in NOT true about setting the attribute installLocation to value “internalOnly”? (Choose

two)

Options:

A.

The default behavior of installation of application is same as that of giving value “internalOnly” to the

installLocation attribute.


B.

The application is installed on the internal device storage only.


C.

If there is no space on the internal memory then the application gets installed on the external storage and

moves back to internal storage as soon as the space is available. This is default behavior.


D.

The application can be moved to external device storage if required.


Questions # 20:

For the preference class to collect settings from UI, which of the following is required?

Options:

A.

Preference class should extend Activity class


B.

Preference class should extend PreferenceActivity


C.

Preference class should extend SharedPreferenceActivity


D.

Preference class should extend View class


Viewing page 2 out of 4 pages
Viewing questions 11-20 out of questions