Huawei H14-231_V1.0-ENU HCIP-HarmonyOS Application Developer V1.0 Online Training
Huawei H14-231_V1.0-ENU Online Training
The questions for H14-231_V1.0-ENU were last updated at Jan 11,2025.
- Exam Code: H14-231_V1.0-ENU
- Exam Name: HCIP-HarmonyOS Application Developer V1.0
- Certification Provider: Huawei
- Latest update: Jan 11,2025
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?
- A . onForeground()
- B . onInactive( )
- C . onPause()
- D . onBackground( )
In the HarmonyOS system architecture, which of the following provides unified peripheral access capabilities and driver development management framework?
- A . KAL (Kernel Abstract Layer)
- B . Ability
- C . UI
- D . HDF (Hardware Driver Foundation)
A developer designs a game application with MainAbility on the home page, click the game icon on the desktop, and then press the Home button to hide the game in the background, how does the life cycle of MainAbility change?
- A . onStart ()→onResume()―onInActive()→onBackground()
- B . onStart()→onActive()→onInActive()→onStop()
- C . onStart()―onActive()→onInActive()
- D . onStart()→onActive()→onlnActive()→onBackground()
When the user clicks on a song from the music list page and jumps to the playback interface of the song, the principle is that the page route routes to the destination page according to which of the following?
- A . router.push
- B . router.back
- C . uri
- D . intent
If a developer wants to develop a page with a tab function, the developer can use the TabList component provided by HarmomyOS.
If you want to set the horizontal center alignment of text, which of the following codes is correct?
- A . ohos:text_alignment=start
- B . ohos:text_alignment=bottom
- C . ohos:text_alignment=vertical_center
- D . ohos:text_alignment=horizontal_center
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?
- 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
Now a Text component is used as the title of a page, and Text needs to be set to be invisible, but it still occupies the current layout space, which of the following is correct?
- A . ohos:visibility= hide
- B . text.setVisibility(Component. VISIBLE)
- C . ohos:visibility=visible
- D . ohos: visibi1ity=invisible
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?
- A . MIDDLE
- B . HIGH
- C . DEFAULT
- D . LOW
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?
- 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 . Application A and Application B need to apply for ohos.permission.DISTRIBUTED_DATASYNC permissions to use the full functionality of the distributed file service