Winter Sale - Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dpm65

Hot Vendors

H14-231_V1.0 HCIP-HarmonyOS Application Developer V1.0 Questions and Answers

Questions 4

In JavaScript UI development, for wearable projects and TV projects, the name of the home page can be not index, and the first page in the pages configuration list is the home page; for the litewearable project, the name of the home page must be index.

Options:

A.

True

B.

False

Buy Now
Questions 5

When a developer navigates within the same page, the AbilitySlice is new, even if present(newTargetSlice(), new Intent()) is repeatedly called, it will not cause any AbilitySlice to be out of the stack.

Options:

A.

True

B.

False

Buy Now
Questions 6

When using the location capability of HarmonyOS, developers need to apply for the LOCATION permission, which is a non-sensitive permission and needs to be declared in config.json.

Options:

A.

True

B.

False

Buy Now
Questions 7

Sampling refers to the process of sampling a digital signal in a continuous time domain at certain time intervals to obtain a discrete signal in the discrete time domain.

Options:

A.

True

B.

False

Buy Now
Questions 8

Huawei's latest mobile phones、HarmonyOS system is pre-installed in the smart screen.Among them, the mobile phone does not belong to the HarmonyOS large system device.The smart screen belongs to the large system device。

Options:

A.

True

B.

Error

Buy Now
Questions 9

HarmonyOS provides access to external storage devices, such as USB flash drives, SD cards, etc.

Options:

A.

True

B.

False

Buy Now
Questions 10

If a developer wants to develop a file background download function, there needs to be a Page Ability to provide U pages, and a Service Ability to provide the background file download function. If you want to perform some operations after connecting to the Service Ability in the Page Ability, you need to implement the onAbilityConnectDone() method in the Page Ability.

Options:

A.

True

B.

False

Buy Now
Questions 11

A developer needs to use the JavaScript UI framework to display the bar chart of the current month's product sales, and can use the chart component to achieve this function.

Options:

A.

True

B.

False

Buy Now
Questions 12

In the process of developing an application based on HarmonyOS, in order to avoid applying for permissions that are unrelated to the user's required functions, a developer uses the UUID generated by the application instead of the device ID to reduce the permission application. The developer's actions exemplify the principle of applying for permissions in the vicinity.

Options:

A.

True

B.

False

Buy Now
Questions 13

On the basis of the supported input events, HarmonyOS's multi-dimensional input defines some input actions commonly used by users as a set of standardized events, maps the input events of different input devices to the standardized events, and can obtain a unified experience when using multiple input devices to operate different terminal devices or applications.

Options:

A.

True

B.

False

Buy Now
Questions 14

When a developer uses mobile phones and smart screens to develop applications, he can select two device types, smartphones and smart screens, in the AppGallery project.

Options:

A.

True

B.

False

Buy Now
Questions 15

PositionLayout is an adaptive layout, which is mainly used in scenarios where multiple components at the same level need to automatically adjust the number of columns on different screen sizes.

Options:

A.

True

B.

False

Buy Now
Questions 16

When a developer develops an application based on HarmonyOS, the data used by a developer can be decomposed into multiple objects. The developer needs to add, delete, modify, and check the teaching data, but does not want to write overly complex SQL statements. In this scenario, the developer can use an object-relational mapping database to process the data.

Options:

A.

True

B.

False

Buy Now
Questions 17

AbilitySlice and Page have the same lifecycle state and callback method with the same name, and when the Lifecycle of the Page changes, the same lifecycle change will occur in AbilitySlice. Similarly, as the lifecycle of an AbilitySlice changes, the lifecycle state of a Page changes.

Options:

A.

True

B.

False

Buy Now
Questions 18

When a developer compiles a project, the compilation fails, and the message "This device type does not match project profile" is displayed, because the device type configured in "config.json" does not match the device type for debugging, and "deviceType" needs to be configured in the "module" tag.

Options:

A.

True

B.

False

Buy Now
Questions 19

The global search portal provided on HarmonyOS has a desktop drop-down search box or a negative screen search box.

Options:

A.

True

B.

False

Buy Now
Questions 20

The application package names of the application projects created by JavaSaript and the applications compiled by the Java projects are HAR (HarmonyOS Ability Resources) and HAP (HarmonyOS Ability Package), respectively.

Options:

A.

True

B.

False

Buy Now
Questions 21

In order to improve the image quality of network source images, developers can use the Instant Messaging (IM) class intent recognition interface provided by HarmoyOS.

Options:

A.

True

B.

False

Buy Now
Questions 22

Although a Page can contain multiple AbilitySlices, when a Page enters the foreground, the interface displays only one Abilitylice by default.

Options:

A.

True

B.

False

Buy Now
Questions 23

The input division method of HarmonyOS is different from that of traditional operating systems, and multi-dimensional inputs will be integrated, so that developers can use application frameworks, UI components or interfaces that come with the system to implement applications with multi-dimensional and natural interaction characteristics.

Options:

A.

True

B.

False

Buy Now
Questions 24

When using EventHandler to implement inter-thread communication, if EventRunner takes out the Runnable task, it will trigger the callback method of EventHandler and the processing method of EventHandler.

Options:

A.

True

B.

False

Buy Now
Questions 25

HarmonyOS provides the Al capability of Instant Messaging (IM) intent, which can convert speech signals into text or commands, and identify the user's intent represented by the message content.

Options:

A.

True

B.

False

Buy Now
Questions 26

AR (HarmonyOSAbilityResources) Different HAPs (HarmonyOSAbilityPackage), HAR cannot be installed and run on the device independently, and can only be referenced as a dependency of the application module.

Options:

A.

True

B.

False

Buy Now
Questions 27

In multiple distributed devices with the same HarmonyOS account, after logging in to an app, the app can synchronize the app account authentication information (account name, token or other) to other devices as needed.

Options:

A.

True

B.

False

Buy Now
Questions 28

When using EventHandler to implement inter-thread communication, if the callback method of EventHandler and the processing method of EventHandler are used.

Options:

A.

True

B.

False

Buy Now
Questions 29

In a HarmonyOS application, there must be one and only one HAP of the feature type.

Options:

A.

True

B.

False

Buy Now
Questions 30

When a developer is developing a HarmonyOS application, if part of the text in the value field of the JSON resource files of different types of elements in the Element directory does not need to be processed by the translator and will not be displayed on the application interface, a special structure can be used to identify the content that does not need to be translated

Options:

A.

True

B.

False

Buy Now
Questions 31

Frame rate is the frequency (rate) at which a bitmap image appears continuously on a display in frames, measured in hertz (Hz).

Options:

A.

True

B.

False

Buy Now
Questions 32

A developer needs to read the resource files in the rawfile folder, and the following code can be used to read them successfully.

Image

image(Image)findComponentByld(ResourceTable.Id_cormponent_image);

Image.setPixelMap (ResourceTable.Media hawei);

Options:

A.

True

B.

False

Buy Now
Questions 33

In JavaScript UI development, for wearable projects and TV projects, the name of the homepage can be not index, and the first page in the pages configuration list is the homepage; for the litewearable project, the name of the homepage must be index.

Options:

A.

True

B.

Error

Buy Now
Questions 34

The lightweight preference database is a non-relational database, which mainly provides lightweight key-value operations and supports local applications to store a large amount of data. If a HarmonyOS developer uses a lightweight preference database to save data, the data will be stored in a local file and will not be loaded into memory.

Options:

A.

True

B.

False

Buy Now
Questions 35

Distributed data services can isolate data belonging to different applications to ensure that data between different applications cannot be accessed to each other through distributed data services.

Options:

A.

True

B.

False

Buy Now
Questions 36

If the third-party library used by the developer involves permission management, the permission needs to be declared one by one in the config.json file of the application.

Options:

A.

True

B.

False

Buy Now
Questions 37

After the page is jumped or overwritten, it will enter the INACTIVE state, but the resources will not be released, and when the page switches back to the ACTIVE state, the click event will still respond normally.

Options:

A.

True

B.

False

Buy Now
Questions 38

The atomic service consists of one or more HAP packets, andone HAP packet corresponds to one FA or one PA. Each FA or PA can be operated independently to perform 1 specific function.

Options:

A.

True

B.

False

Buy Now
Questions 39

The network management module of HarmonyOS can realize the communication between different processes of the machine, and the communication supports streaming socket technology.

Options:

A.

True

B.

False

Buy Now
Questions 40

In HarmonyOS, by default, the UI interface is displayed and updated in the main thread

Options:

A.

True

B.

False

Buy Now
Questions 41

HarmonyOS supports entity recognition, which can highlight relevant entity information and set up quick operation entrances. For example, the phone number in this message will be highlighted, and the user can dial it directly.

Options:

A.

True

B.

False

Buy Now
Questions 42

MATCH_CONTENT indicates that the component size will expand to the maximum allowed by the parent component and occupy the remaining size in the direction of the parent component

Options:

A.

True

B.

False

Buy Now
Questions 43

When an Intent is used to initiate a request, if both BundleName and Abilitylame are specified, the application can be started directly according to the full name of the Ability (for example, "com.demcapp.FooAbility").

Options:

A.

True

B.

False

Buy Now
Questions 44

In order to improve the user experience, a developer uses ScrollView to realize the scrolling display of photos in an album application, and in order to improve the user experience, the developer sets the ScrollView rebound_effect property to true, so that the photo has a rebound effect when sliding to the bottom.

Options:

A.

True

B.

False

Buy Now
Questions 45

The ListContainer grid layout can be realized through the setLayoutManager() method

Options:

A.

True

B.

False

Buy Now
Questions 46

Service is running in the background, and users want the application to keep running all the time when playing music, and the foreground Service cannot be used at this time.

Options:

A.

True

B.

False

Buy Now
Questions 47

In HarmonyOS's "1+8+N" strategy, smart microwave oven devices belong to "N" devices.

Options:

A.

True

B.

False

Buy Now
Questions 48

Operations such as the display and update of the UI interface are carried out on the main thread, so the main thread is also called the UI thread.

Options:

A.

True

B.

False

Buy Now
Questions 49

The user application package of HarmonyOS may not contain a HAP package of the feature type.

Options:

A.

True

B.

False

Buy Now
Questions 50

When MainAbility and MainAbiitySlice are bound together, the lifecycles of the two are synchronized, including the callback method for transitioning between states.

Options:

A.

True

B.

False

Buy Now
Questions 51

When using EventHandler to implement inter-thread communication, if EventRunner takes out the InnerEvent event, EventRunner will directly process the event on the new thread.

Options:

A.

True

B.

False

Buy Now
Questions 52

When a developer has multiple versions of the object-relational mapping database, and the developer calls the BookStoreUpgrade class to upgrade the database version, the version number of the BookStoreUpgrade class is configured as "2", and the actual version number of the current BookStore.db is "1".

Options:

A.

True

B.

False

Buy Now
Questions 53

When a developer calls HarmonyOS Abi1ity Resources (HAR) in an application module, he or she needs to merge the config.json file of HAP and the config.json file of HAR into a single config.json file when compiling and building a HarmonyS Ability Package (HAP). During the merging process, under what circumstances will the values of tags conflict?

Options:

A.

HAP has no label value; The HAR has a tag value, and the value can be B

B.

HAP has a label value, and the value is A; HAR has no label value

C.

NeitherHAP nor HAR had labeled values

D.

HAP has a label value, and the value is A. The HAR has a tag value, and the value can be B

Buy Now
Questions 54

Which of the following modules does a developer need to call to check whether the HarmonyOS cellular data service is enabled?

Options:

A.

@ohos.telephony.sms

B.

@ohos.telephony.data

C.

@ohos.telephony.sim

D.

@ohos.telephony.call

Buy Now
Questions 55

Which of the following scenarios does not use encoding technology?

Options:

A.

sound travels through twisted pairs

B.

Sound travels through rails

C.

Sound travels by radio

D.

Sound travels through optical fibers

Buy Now
Questions 56

If an engineer needs to determine whether a device supports the corresponding decoder of the specified MIME (Multipurpose Internet Mail Extensions), which of the following interfaces should be selected?

Options:

A.

getSupportedMimes()

B.

isEncodeSupportedByMime(String mime)

C.

isDecodeSupportedByMime(String mime)

D.

isDecoderSupportedByFormat(Format format)

Buy Now
Questions 57

If the user displays the navigation information on the mobile phone and the smart watch at the same time, if the smart watch is out of power, causing the navigation information to terminate the display, which callback method will the navigation application on the mobile phone receive the termination notification?

Options:

A.

onCompleteContinuation

B.

onRestoreData

C.

onRemoteTerminated

D.

onSaveData

Buy Now
Questions 58

Which of the following interfaces can repeatedly call a function with a fixed time delay between each call?

Options:

A.

setTimeout?

B.

setlnterval

C.

clearTimeout

D.

clearlnterval

Buy Now
Questions 59

A developer usestheAI capabilities provided by Harmony OS to achieve the following functions: 1. Perform text detection and recognition of image sources such as document remakes and street view reproductions, and provide translation, search and other related services based on the recognition results. 2. Convert various bills into image information by taking pictures, and then use text recognition technology to convert image information into character information that can be used by computers and other equipment. In order to implement the above functions, which of the following I capabilities is most likely to be used by the developer?

Options:

A.

Universal Character Recognition

B.

Text and image super-resolution

C.

Keyword extraction

D.

Part-of-speech annotation

Buy Now
Questions 60

A developer defines an entity class Student.java and uses the following code to construct a teaching table:

Entity(tableName="student",ignoredColums =["ignoredColumn1"," ignoredColumn2", indices =(@Index(value =("firstName." ,"lastName",name="name_index", unique = true)))

Public class User extends OrmObject{

@PrimaryKey(autoGenerate= true)

Private Integer userld;

Private String firstName;

Private String lastName;

Private int age;

Private double balance;

Private int ignoredColumnl;

Private int ignoredColumn2;

}

Which of the following descriptions of this code is wrong?

Options:

A.

lgnoredColumns indicates that the field does not need to be added to the attributes of the student table

B.

lndices creates a composite index name_index for the firstName and 1astName fields

C.

The name of the data table is student

The index value of the

D.

composite index name_index is not unique

Buy Now
Questions 61

When the developer jumps to a new page through the button button, the following code is created. If you don't add "" Button button = (Button) findComponentByld(ResourceTable.ld_button) ;" What happens to this line of code?

Public void onStart(Intent intent){

super.onStart(intent);

super.setUlContent

(ResourceTable.Layout_ability_main);

Button button =

(Button)findComponentByld(ResourceTable.ld_button);

button.setClickedListener(listener -> present(new

SecondAbilitySlice(),new Intent()));

}

Options:

A.

When you click the button again, the ability crashes

B.

buttonbutton does not show up on the layout

C.

Clicking the button does not respond

D.

Click the button button to jump to a new page

Buy Now
Questions 62

If a developer wants to use the HarmonyOS speech recognition function, which of the following subsystems will he use?

Options:

A.

Location Services subsystem

B.

security subsystem

C.

Media Subsystem

D.

AI subsystem

Buy Now
Questions 63

When a developer is developing a game application, in order to display the download progress of game resources, it is necessary to use a horizontal linear progress bar, which of the following components can help the developer complete this function?

Options:

A.

ToastDialog

B.

RoundProgressBar

C.

PageSlider

D.

ProgressBar

Buy Now
Questions 64

Which of the following is NOT part of the software exposure capabilities provided by HarmonyOS Connect?

Options:

A.

chip

B.

Cloud services

C.

Huawei HarmonyoS operating system

D.

Device Partner Platform

Buy Now
Questions 65

A developer obtains a log content: static finalHiLogLabel LABEL = new HiLogLabe1

(HiLog.LOG_APP,Ox00201, "MY_TAG"); Which of the following information can't be obtained?

Options:

A.

log level

B.

The business area of the log

C.

Log ID

D.

Log type

Buy Now
Questions 66

In the process of coding, software development engineers need to detect whether the Butfer data is read and whether an exception occurs, which of the following methods can be called?

Options:

A.

Errorbuatfer()

B.

Bucferlistencr()

C.

lCodecListener()

D.

ErrorCode()

Buy Now
Questions 67

The user migrates the video on the mobile phone to the smart screen for playback, and after the mobile phone saves the data, the smart screen calls back which of the following methods is used to recover the data?

Options:

A.

onSaveData ()

B.

onStartContinuation ()

C.

onRestoreData ()

D.

onCompleteContinuation ()

Buy Now
Questions 68

When a developer specifies a music playback service through an intent when closing a remote service, the developer can realize the ability to disable music playback on remote devices.

Options:

A.

Disconnect remote FA (Feature Ability).

B.

Disabling Remote PA (Particle Ability)

C.

Connect to remote PA (Particle Ability)

D.

FA (Feature Ability) is a cross-line device migration

Buy Now
Questions 69

After the creation of a custom component of the Web development paradigm, which of the following callbacks will be triggered when it is added to the Page component tree?

Options:

A.

Onlnit

B.

OnAttached

C.

OnLayoutReady

D.

OnDetached

Buy Now
Questions 70

When a developer develops a JavaScript application on a smart screen. If you want to do some static animation, if you want to move a component 200px horizontally, which of the following styling configurations is correct?

Options:

A.

transform: rotate×(200px);

B.

transform: rotateY(200px);

C.

transform: translatex(200px);

D.

transform: scaleX(200px);

Buy Now
Questions 71

In the JavaScript UI framework, which layer is used to provide animation parsing, DOM (Document Object Model) tree construction, layout calculation, rendering command construction and drawing, event management, etc.?

Options:

A.

Engine Layer

B.

Platform adaptation layer

C.

Front-end frame layer

D.

Application layer

Buy Now
Questions 72

Both the provider and user of DataAbility use a URI (UnifomResourceldentifier) to identify a specific data, and the format of the URI is as follows:

Scheme://[authority]/[path][? query][#fragment]

Which is the correct URI description in the cross-device scenario and the local device scenario?

Options:

A.

In cross-device scenarios, you do not need to enter authority

B.

In cross-device scenarios, the scheme is fixed to "dataability".

C.

In the local device scenario, authority does not need to be specified

D.

In the local setting, the path does not need to be specified

Buy Now
Questions 73

In distributed task scheduling, if a developer needs to coordinate access from multiple devices, what field in config.json does a developer need to apply for permission?

Options:

A.

deviceld

B.

reqPermissions

C.

Intent

D.

name

Buy Now
Questions 74

When a developer needs to specify the exact coordinates of the x-axis and y-axis of a sub-component when laying out a component, which layout can be used to achieve this function?

Options:

A.

DirectionalLayout

B.

PositionLayout

C.

DependentLayout

D.

StackLayout

Buy Now
Questions 75

In a HarmonyOS application, which of thefollowing and the ComponentContainer object are actually composed of the interface elements that the user sees?

Options:

A.

DirectionLayout

B.

DependentLayout

C.

Component

D.

TableLayout

Buy Now
Questions 76

When an engineer needs to add the function of recording video when developing an application, which of the following interfaces should be called?

Options:

A.

Recorder

B.

Coder

C.

Extractor

D.

Player

Buy Now
Questions 77

In order to test the distributed file service functions of application A and application B, the developer installs application A and application B on both device 1 and device 2. During the test, application A on device 1 creates a distributed file X, and application B on device 2 creates a distributed file Y. Which of the following descriptions of this scenario is wrong?

Options:

A.

If Device 1 and Device 2 are logged in to different HarmonyoS accounts, distributed file sharing cannot be implemented

B.

If device 1 runs out of power and causes the device to go offline, distributed file X cannot be accessed

C.

With distributed file services, application A on device 1 is able to read and write file Y on device 2

D.

ApplicationA and Application B need to apply for ohos.permission.DISTRIBUTED_DATASYNC permissions to use the full functionality of the distributed file service

Buy Now
Questions 78

In the HarmonyOSsystem architecture, which of the following provides unified peripheral access capabilities and driver development management framework?

Options:

A.

KAL (Kernel Abstract Layer)

B.

Ability

C.

UI

D.

HDF (Hardware Driver Foundation)

Buy Now
Questions 79

When developing a HarmonyOSapplication, what methods do I need to call when migrating the FA (Feature Ability) on device A to device B?

Options:

A.

continueAbility ()

B.

continueAbilityReversibly ()

C.

startAbilityForResult ()

D.

startAbility ()

Buy Now
Questions 80

A developer now needs to make a motion track recording application, which can report the user's location information in real time. Which of the following is correct?

Options:

A.

Use RequestParam.SCENE_TRAJECTORY_TRACKINGsettings to locate the scene

B.

Apply for the ohos.permission.LOCATION permission only in config.json

C.

dynamically requests user authorization only in the codeohos.permission.LOCATION

D.

Use RequestParam.SCENE_NO_POWER settings to locate the scene

Buy Now
Questions 81

When a developer needs to create a Service Ability when developing a background service, which of the following processes is NOT the step to create the Ability?

Options:

A.

onStart

B.

onCommand

C.

onStop

D.

onActive

Buy Now
Questions 82

HarmonyOS's AI capability provides the function of generating QR codes, for example, if you need to generate a QR code for each mobile phone contact, which of the following describes the QR code correctly?

Options:

A.

The width of the generated QR code image can be 2000 pixels

B.

The length of the string must be at least 2953 characters

C.

The height of the generated QR code image can be 1680 pixels

D.

Call the detect() method of IBarcodeDetector to generate the corresponding QR code image byte stream based on the input string information

Buy Now
Questions 83

The developer uses device A (local device) to control device B (remote device) to open the album, which distributed task scheduling capability is used in this scenario?

Options:

A.

Enable remote FA (Feature Ability).

B.

Connect to a remote PA (Particle Ability).

C.

Start the remote PA (Particle Ability).

D.

Particle Ability (PA)

Buy Now
Questions 84

Which of the following descriptions of the HarmonyOSclipboard function is correct?

Options:

A.

Only clipping is supported

B.

can be copied and pasted into app B in app A

C.

can be copied in application A, but not pasted in application B

D.

Only replication is supported

Buy Now
Questions 85

Which option is not the process of decoding in the conversion of the following information?

Options:

A.

player plays music from the record

B.

Convert the data to audio

C.

Notebook plays video files from the hard drive

D.

Save the photo in digital form

Buy Now
Questions 86

A developer defines an entity class

Student.java and use the following code to construct the table:

@Entity(tableName ="student", ignoredColums

=["ignoredColumn1","ignoredColumn2", indices

= (@Index(value =("firstName.","lastName",

name="name_index", unique = true)))

pub1ic class User extends OrmObject{

@PrimaryKey(autoGenerate= true)

private Integer userld;

private String firstName;

private String lastName;

private int age;

private doub1e balance;

private int ignoredColumn1;

private int ignoredColumn2;

}

Which of the following descriptions of this code is wrong?

Options:

A.

ignoredColumns" indicates that the field does not need to be added to the attributes of the student table

B.

Doubles creates composite indexes name_index for the "firstName" and "1astName" fields

C.

The name of the data sheet is "student".

D.

The index value of the composite index 'name_index' is not unique

Buy Now
Questions 87

If a UI is no longer visible to the user, but you don't want to destroy it, which method will the system call to release the corresponding resources?

Options:

A.

onForeground()

B.

onInactive( )

C.

onPause()

D.

onBackground( )

Buy Now
Questions 88

The key generated by the developer contains the public key and the private key used in asymmetric encryption, and in what format is the key stored in the key file?

Options:

A.

cer

B.

csr

C.

p12

D.

p7b

Buy Now
Questions 89

TaskDispatcher is the basic interface for Ability to distribute tasks, which hides the implementation details of the thread where the task is located. To ensure that the application is more responsive, we respond to the priority of the design task, which of the following is not the priority of the task?

Options:

A.

MIDDLE

B.

HIGH

C.

DEFAULT

D.

LOW

Buy Now
Questions 90

A developer obtains a log content: static final HiLogLabel LABEL = new HiLogLabe1 (HiLog.LOG_APP,0x00201,"MY_TAG");

Which of the following information can't be obtained?

Options:

A.

log level

B.

The business area of the log

C.

Log ID

D.

Log type

Buy Now
Questions 91

Which of the following options is allthe components ofthe Harmony OS package?

Options:

A.

Logical code, resource files, and application configuration files

B.

Logical code and application configuration file

C.

Logical code

D.

Logical code, resource files, third-party libraries, and application configuration files

Buy Now
Questions 92

The distributed soft bus is the base for communication between various devices, which of the following does not belong to the bus hub of the distributed soft bus?

Options:

A.

Data and Computing Center

B.

Decision-making centre

C.

Task Bus

D.

Interconnection Management Center

Buy Now
Questions 93

The HarmonyOS video module supports the development of video services and the opening of the ecosystem, allowing developers to easily play, operate, and develop new functions of video media through the open interfaces. Video playback includes playback controls, playback settings, and playback queries, such as start/stop playback, playback speed settings, and whether to loop playback. When developing a video playback feature, which of the following steps is correct?

Options:

A.

Create a Player instance→construct a data source object and set the media source→call method prepare(),→call method play(), call method stop(→→call method release()

B.

Create a Player instance → call the prepare() → play() →construct the data source object and set the media source→call the stop()→release().

C.

Construct a data source object and set the media source→create a Player instance→call method play(),→call method prepare(),→call method stop(→call method release()

D.

Call the prepare() method→create a Plawer instance→construct a data source object and set the media source→call method→create a Player instance, Play()→call method stop()→call method release()

Buy Now
Questions 94

In the JS (JavaScript) UI framework, which layer is connected to the system platform platform by abstracting the platform layer and providing an abstract interface?

Options:

A.

Application Layer

B.

Front-end frame layer

C.

Engine Layer

D.

Platform adaptation layer

Buy Now
Questions 95

If a developer wants to use the JavaScript UI framework to develop a graffiti application that allows users to draw custom graphics, which of the following components can be used by the developer?

Options:

A.

video

B.

button

C.

canvas

D.

grid-container

Buy Now
Questions 96

Before developing the NFC function, a HarmonyOS developer must first confirm whether the device supports the NFC function and whether the NFC is turned on.

Options:

A.

NFC basic query

B.

Access to the security element

C.

card emulation

D.

NFC message notification

Buy Now
Questions 97

A developer is developing a ticket booking application, in the selection of the location of the ticket, you need to use the slide selector Picker, in order to highlight the selected text, the developer sets the rendering effect that the selected text margin is greater thanthe ordinary text margin. Which of the following settings are correct?

Options:

A.

B.

Picker.setSelectNormal TextMarginRatio(5.0f);

C.

D.

Picker.setSelectNormalTextMarginRatio(5.0);

Buy Now
Questions 98

A developer is developing an online education application, and there are multiple choice questions and multiple choice questions in the studentAnswer:interface, which of the following components is suitable for displaying multiple choice questions?

Options:

A.

Picker

B.

Checkbox

C.

RadioButton

D.

Switch

Buy Now
Questions 99

What is the process of cross-terminal migration from an application on HarmonyOS device A to the application on device B by calling the distributed task scheduling capability to continue sbility?

Options:

A.

Preparation for circulation

B.

Circulation

C.

End of circulation

D.

The circulation is complete

Buy Now
Questions 100

Developers will use the UI framework provided by Harmony OS when developing mobile phone pages, which of the following is not a UI framework?

Options:

A.

layout

B.

Cross-device call

C.

Graphical controls

D.

Window Management Framework

Buy Now
Questions 101

If an engineer is about to debug a Harmony OS application on an emulator device, which of the following correct debugging processes is the following?

Options:

A.

Check the properties of theconfig.json file→the device debugging code type→the installation method of the HarmonyOS Ability Package (HAP) package

B.

Check the attributes of the config.json file→→the installation method of the HarmonyOS Ability Package (HAP) package

C.

Set the code type→device HAP (HarmonyOSAbility Package) package installation method→check the config.json file attributes

D.

Toinstall the HarmonyOS Ability Package (HAP) package on a device→check the attributes of the config.json file→the debugging code type of the device

Buy Now
Questions 102

When a developer designs a PA (Particle Ability) application, which of the following development steps can be omitted?

Options:

A.

Run the program

B.

Implement the function

C.

Create a project

D.

Design interface

Buy Now
Questions 103

How do I define the permissionscorrectly when a developer needs to customize the permissions for the Harmony OS third-party application?

Options:

A.

"module": {

"reqPermissions": [

{

"name":"com.myability.permission.MYPERMISSION "

"grantMode":"system_grant",

"availableScope": ["signatures"]

}

}

B.

"module": {

"defPermissions": [

"name":"com.myability.permission.INTERNET",

"grantMode":"user_grant"

"availableScope": ["signatures"]

}

}

C.

"module": {

"defPermissions": [

{

"name":"com.myability.permission.INTERNET",

"grantMode":"system_grant"

"availableScope": ["signatures"]

}

}

D.

"module": {

"defPermissions": [

{

"name":"com.myability.permission.MYPERMISSION",

"grantMode":"system_grant"

"availableScope": ["signatures"]

}

}

Buy Now
Questions 104

If a developer wants to stop the service in a Service, which of the following APIs needs to be called?

Options:

A.

terminateAbility()

B.

stopAbility()

C.

connectAbility()

D.

startAbility()

Buy Now
Questions 105

An engineer wrote the following code, which items are correct in the description of the following code?

@Entity(tableName="user",ignoredColumns={"ignoredColumn1","ignoredColumn2"},indices ={@Index(value ={"firstName","lastName"),name="name_index",unique =true)})

Options:

A.

"name_index" is the composite index name

B.

index values are not unique

C.

"ignoredColumns" indicates that the field does not need to be added to the properties of the "user" table

D.

Thetable is named "user".

Buy Now
Questions 106

When testing the Bluetooth Low Energy feature of HarmonyOS, a developer needs to make the central device perform Bluetooth scanning. Which of the following descriptions of the developer's actions are correct?

Options:

A.

Get scan filter, if the filter isempty, it is not used to scan without filter

B.

calls startScan() to start scanning the Bluetooth device

C.

Before performing Bluetooth scanning, it is necessary to inherit the advertiseCallback class to implement startResultEvent

Callback, which is used to receive scan results

D.

Call the BleCentralManager(BleCentralManagerCal1lback callback)API to obtain the device management object

Buy Now
Questions 107

What are the parts of the HarmonyOS cloud development project?

Options:

A.

end development project (Application)

B.

CloudProgram

C.

External Libraries on theside

D.

Public Resource Library (Resource)

Buy Now
Questions 108

In HarmonyOS, when a subscription action is performed after an out-of-order public event is published, subscribers can also receive the out-of-order public event.

Options:

A.

True

B.

False

Buy Now
Exam Code: H14-231_V1.0
Exam Name: HCIP-HarmonyOS Application Developer V1.0
Last Update: Nov 20, 2024
Questions: 695

PDF + Testing Engine

$56  $159.99

Testing Engine

$42  $119.99
buy now H14-231_V1.0 testing engine

PDF (Q&A)

$35  $99.99
buy now H14-231_V1.0 pdf
dumpsmate guaranteed to pass
24/7 Customer Support

DumpsMate's team of experts is always available to respond your queries on exam preparation. Get professional answers on any topic of the certification syllabus. Our experts will thoroughly satisfy you.

Site Secure

mcafee secure

TESTED 21 Nov 2024