Summer Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exc65

What is the result of click the Button1 in the code which is illustrated in the following image? Assuming that write_to_external_storage is the name of an activity that allows users to write to external storage.

A.

Creates an intent to open an activity that writes to the internal storage.

B.

Creates an intent to open an activity that reads from the internal storage.

C.

Creates an intent to open an activity that reads from the external storage.

D.

Creates an intent to open an activity that writes to the external storage.

It is not necessary that every application installed on an Android device be signed by the developer before being published.

A.

True

B.

False

Android uses “Intents” to communicate and send data between different components which make it vulnerable to malicious attacks. Which of the following choices are component-level Permissions to protect this type of communication? (Select Four)

A.

Activity

B.

Service

C.

Content Provider

D.

Broadcast Receiver

E.

Widgets

The tag of a manifest file is a declaration for the whole application and each application component is declared in a sub-tag inside it.

A.

True

B.

False

getExternalFilesDir( ) method is used to get the directory of the external storage.

A.

True

B.

False

The Logcat window in Android Studio displays system messages, such as when a garbage collection occurs, and messages that you added to your app with the Log class. It displays messages in real time and keeps a history so that you can view older messages.

A.

True

B.

False

During an application run-time, permissions may be enforced at a number of places when calling into the system, starting an activity, sending and receiving broadcasts, accessing and manipulating a content provider, and binding to or starting a service.

A.

True

B.

False

Content providers can help an application manage access to data stored by it or by other apps. They also provide a way to share data with other apps.

A.

True

B.

False

If your database contains sensitive information, it is recommended not to store it on external storage. If you want to share the database with other applications, then you have to use a ……………………………………………. to protect your app’s data.

A.

Separate Storage

B.

Content Provider

C.

Shared Folder

D.

Internal Storage

Assume that you have two apps signed with the same certificate and you want them to share access to each other’s data. The manifest file in the first app is illustrated in the following image. It has shartedUserId =”com.sharedID.example” .

Which of the following choices is the value of the shartedUserId in the second app?

A.

com.sharedID.example

B.

com.example.example1

C.

app2Name. com.sharedID.example

D.

app2. com.sharedID.example