Weekend Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

AND-801 Exam Dumps - Android Certified Trainer Questions and Answers

Question # 4

You have an Android application that consists of two activities (MainActivity and SecondActivity) and you want to pass data in text field (ID: FirstNameJD) of MainAcitivity to SecondActivity. The passed data will appear in SecondActivity inside a TextView widget with Id: HelloMessageJD. You will use Intent to pass this data from MainActivity to SecondActivity. The Following two images include the Android code which will be written in MainActivity.kt and SecondActivity.kt files. Your data will not pass from MainActivity to SecondActivity due to a mistake in the code in SecodActivity.kt. Which of the following choices is a correct solution to make this app run correctly?

Options:

A.

Add startActivity(intent) to Secondryactivity.kt

B.

Replace getStringExtra("name") with putSiringExtra( "name") in SecondActiy.kt file

C.

You need to add an if statement to solve this issue in the two files

D.

Replace ''name'' with ''pass'' in intent.getSt4ingExtra( ''name'')

Buy Now
Question # 5

Fill in the blank space in the following sentence with the correct choice: The..................... to arranges widgets in positions relative each other.

Options:

A.

RelativeLayout

B.

Table Layout

C.

Linear Layout

D.

ConstraintLayout

Buy Now
Question # 6

The following Android code will show the small popup message "Message saved as draft" for 3.5 seconds, and then automatically disappears: Toast.makeText(this, "Message saved as draft". Toast.LENGTH_LONG).show()

Options:

A.

True

B.

False

Buy Now
Question # 7

The following Android code displays a Toast message. Which of the following is the correct parameter to replace Toast.xyz in this line of code? Toast.makeText(this,"Message saved as draff ,Toast.xyz).show()

Options:

A.

Toast.sec.4

B.

Toasst.shortTime

C.

ToastiLEMGTH_LONG

D.

Toast. Time.4s

Buy Now
Question # 8

Check the following image, and then select which of the following choices defines the Infer Constraints" button of the Android Studio tool bar?

Options:

A.

It is used to run Android wizard to add new type of Android emulator.

B.

It is used to import Another Android app to the existing app.

C.

It is used to start Android publishing wizard.

D.

It is used to set me constraints (margins) of any Android widgetsuch as Text View or Button byselecting the widget, then circling Infer Constraints" button.

Buy Now
Question # 9

The code snippet below displays a menu which is illustrated in another image. The emulator image displays a menu that contains three items, but in the code file none of these menu items are available. Where do these items come from?

Options:

A.

This file will not show any menu items.

B.

As illustrated in the code, these items are already added in the resource the called menu.xml and this file exists m a container called menu.

C.

These menu items are already added to AndroidManitfest,xml file.

D.

These items are added in activity_main.xml file.

Buy Now
Exam Code: AND-801
Exam Name: Android Application Development v8
Last Update: Feb 22, 2025
Questions: 45
AND-801 pdf

AND-801 PDF

$25.5  $84.99
AND-801 Engine

AND-801 Testing Engine

$28.5  $94.99
AND-801 PDF + Engine

AND-801 PDF + Testing Engine

$40.5  $134.99