openharmony 鸿蒙 faqs-bundle-management

Bundle Management Development How do I determine whether an application is a system application? (API version 9) Solution Use bundleManager.getApplicationInfo (available only for system applications)
阅读全文

openharmony 鸿蒙 faqs-arkui-web

Web Development How do HTML5 pages interact with ArkTS? (API version 10) Symptom Currently, javaScriptProxy supports only synchronous invoking. This means that no execution results can be obtained for
阅读全文

openharmony 鸿蒙 faqs-arkui-route-nav

ArkUI Routing/Navigation Development (ArkTS) Why can't class objects be transferred through params in the router API? (API version 9) Only attributes in an object can be transferred, and methods in th
阅读全文

openharmony 鸿蒙 faqs-arkui-layout

ArkUI Layout Development (ArkTS) What should I do if the height settings in position do not take effect? (API version 9) Solution When position is set for a container component, it is taken out of nor
阅读全文

openharmony 鸿蒙 faqs-arkui-js

ArkUI Development (JS) Does the <input> component support center alignment? (API version 9) Applicable to: FA model Symptom The text-align style does not work for the <input> component. So
阅读全文

openharmony 鸿蒙 faqs-arkui-component

ArkUI Component Development (ArkTS) Can custom dialog boxes be defined and used in .ts files? (API version 9) Unfortunately not. Custom dialog boxes require ArkTS syntax for definition and initializat
阅读全文

openharmony 鸿蒙 faqs-arkui-arkts

ArkTS Syntax Usage How do I dynamically create components using code in ArkUI? (API version 9) Solution ArkUI uses the ArkTS declarative development paradigm. Developers cannot hold component instance
阅读全文

openharmony 鸿蒙 faqs-ability-access-control

Application Access Control Development Can the app listen for the permission change made in Settings? (API version 9) Third-party apps cannot listen for the permission change. Why is there no window d
阅读全文

openharmony 鸿蒙 cppcrash-guidelines

C++ Crash (Process Crash) Detection Overview After a process crashes, the system detects the crash, captures crash information, generates crash logs, and reports crash events, providing detailed maint
阅读全文