目录
- How do I flush HiLog information?
- How do I print HiLog information of the current application only?
- What should I do if garbled characters are displayed in HiLog information?
- What should I do if the hilog.debug log cannot be printed?
- How do I query the current CPU usage of an application?
- How do I query the allocated heap memory size and free heap memory size of an application?
- How do I obtain system logs when an application fault occurs?
- How do I use the hdc command to send a local file to a remote device?
- How do I check whether an application is a system application?
- How do I capture the crash stack and implement the crash callback?
- How do I analyze the CPU usage of an application online?
- How do I obtain the CPU usage of a device?
- How do I obtain the SDK version, product version, device type (tablet or mobile phone), and build version of a device?
- How do I choose between console.log and HiLog?
- How do I view stack traces for error logs generated in ArkCompiler?
- What are the common hdc commands for exporting and importing files?
- What should I do if there are three devices that cannot be identified in a single device manager?
- What should I do if the hdc server and client versions are inconsistent?
- What should I do if "Kill server failed" is displayed?
- Is there a directory that can be written into an executable program using the hdc file send command?
- What should I do if the MacOS cannot identify hdc commands?
- What should I do if "hdc server port 8710 has been used" is displayed when connecting a phone to the computer?
- How do I start a UIAbility using the hdc command?
- How do I stop an application using the hdc command?
- How do I take a snapshot or obtain an album using the hdc command?
- How do I query the MAC address on a HarmonyOS PC/2-in-1 device?
- How do I clear the application cache on the mobile phone using the hdc command?
- How do I wake up a device and view the screen status using the hdc command?
- Can an .app file be installed using the hdc command?
- How do I select a crash collection mode? What are the differences between ErrorManager, FaultLog, and HiAppEvent in terms of crash listening?
- Is there a limit on the length of logs printed by HiLog?
- How do I obtain the UDID of a device using the hdc command?
- How do I use ErrorManager to capture exceptions?
- Are the logs returned by the OH_LOG_SetCallback API of the HiLog module the same as HiLog logs flushed to disk by the system?
- How do I address application performance exceptions caused by HiLog?
- What should I do if the message "command not found" is displayed after a command is executed in hdc?
- How do I obtain the hdc executable binary file?
- What should I do if no USB device node exists in the Docker or WSL system and no information is returned after a command is executed in hdc?
- What should I do if it returns "unauthorized" when I run the hdc list targets command to query device information during wireless debugging of the watch?
- What should I do if the hdc cannot access the device after installing the VPN software astrill?
- What should I do if "FreeChannelContinue handle->data is nullptr" is displayed after a command is executed in hdc?
- What should I do if the hdc cannot connect to the MacBook (ARM chip)?
- What should I do if the error message "command not found: hdc" is displayed after running the hdc list targets command in the toolchains directory of the SDK?
- What should I do if it fails to install bundle using hdc?
- What should I do if the hdc command cannot be executed when Linux 18.04 is installed for the first time?
- What should I do if the device connection status can be viewed by running the hdc shell command, but the DevEco Studio connection status flickers and shows no device?
- What should I do if an error message "hdc server port XXXX has been used" is displayed during hdc debugging and switching ports has no effect?
- What should I do if the hdc list targets command output is displayed slowly?
- Why are HAR packages generated after HSP packaging? Do they increase the application package size?
- What measures are taken to ensure code security from the perspective of package management?
- What is the relationship between App Pack, HAP, HAR , and HSP?
- How do I reference an externally compiled .so library file in a HAR or HSP?
- Can I declare abilities or extensionAbilities in the SharedLibrary (HSP) configuration file?
- How do I add pages into a window functioning as a toast in a HAR?
- How do I enable a service module HAR to obtain data from the host HAP?
- How do I install an App Pack using commands?
- How do I determine whether an application can be uninstalled?
- Do the HAR and HSP support ability or page declarations?
- Does the HAR support cyclic dependency?
- Is dependency transfer supported? For example, can a HAP call the APIs provided by HAR B if it depends on HAR A, which in turn depends on HAR B?
- How do I fix the "Resource id invalid" error reported when calling resourceManager.getStringResource?
- What is the relationship between HAP, HAR, and HSP? Can I declare abilities and pages in them? What are the recommended use scenarios for each of them?
- How do I reference a HAR or HSP?
- How do I distinguish HARs from HSPs in a decomposed HAP package?
- What is the level of the context obtained by calling the createModuleContext API in the HAP?
- How do I obtain the bundle name of the current HAP?
- How do I implement modular code management and cross-module routing without using a UIAbility?
- When classes are exported from an HSP, are TypeScript files exported as .d.ts or .d.ets?
- How do I avoid unexpected data, configuration, or information security risks that may arise from files under the module being packaged into a HAR file?
- How do I upload a HAR under multiple accounts?
- What is the purpose of the .har file generated after an HSP is compiled?
- How do I unify HSP version numbers?
- How do I package multiple HAPs from different projects into a single App Pack?
- Is there a limit on the number of HSPs that can be referenced in a HAP?
- How do I convert a HAR to an HSP?
- Does the HAR support transitive dependencies?
- How do I implement cross-module page navigation?
- How do I uninstall a debug package?
- How do I resolve dependency version conflicts?
- Why does the installation fail if the vendor parameters of HSP files in the same App Pack are different?
- How can two HSPs use each other's components without depending on each other?
- How do I install a HAP on a device?
- What are the main use scenarios of HARs and HSPs?
- How do I convert an HSP into a HAR?
- Is the bm quickfix command recommended for creating a quick fix file?
- What should I do when the error message "INSTALL_FAILED_APP_SOURCE_NOT_TRUSTED" is displayed while the hdc command is used to install a release HAP package on the device?
- How do I query the bundle name, vendor, version, installation time, update time, and others of an application package?
- How do I Install an APP file? Is there any command available for the installation?
- What are the restrictions for installation-free applications, how do I interpret related fields, and how do I carry out a self-test?
- What should I do when the message "failed to install bundle. install debug type not same" is displayed during HAP installation?
- Is there any other way to download and install HAP packages besides AppGallery?
- How do I determine whether the current application is a debug package or a release package?
- How does an application check whether another application is installed?
- How do I access files in the rawfile Directory across HSPs?
- How do I obtain the signature fingerprint information (.p12 file) of an application package?
- What should I do if cpp crash is logged with error "resolveBufferCallback get buffer failed" when multiple HSPs are loaded?
- What data format does "--BEGIN CERTIFICATE--" stand for in the HAP file?
- Are there any differences between signed and unsigned packages?
- How do I share an HSP in an application?
- How do I obtain the packaging time of the HAP file through code?
- How do I obtain a notification when the device screen orientation changes?
- How do I use the lifecycle functions of AbilityStage?
- How do I configure not to retain mission snapshots in Recents after terminateSelf() is called for a UIAbility?
- How do I exit an application?
- What should I do when the error message "Failure[INSTALL_FAILED_SIZE_TOO_LARGE] error while deploying hap" is displayed during the HAP deployment?
- How do I obtain the cache directory of the current application?
- How do I obtain the temp and files paths at the application level?
- In which ArkTS file is the lifecycle callback function of the EntryFormAbility invoked?
- What should I do when an error is reported during the call of startAbility() for a multi-module application?
- Does a time-consuming background operation of a UIAbility affect the onForeground lifecycle of another UIAbility?
- How are the processes of an application started?
- Are third-party applications allowed to fork processes on mobile phones?
- What methods can be used to transmit data between two UIAbility components?
- Does a crash of an ExtensionAbility process cause a crash of the main process?
- Do multiple UIAbility components run in one or more processes? Can a third-party application run in multiple processes? Will the running of child processes be affected when the main process ends?
- How does an ExtensionAbility communicate with the main process?
- How do I subscribe to the lifecycle changes of a UIAbility instance on a page?
- When are the onUnhandledException and onException callbacks triggered?
- Can EventHub be used in TaskPool?
- Does the hdc shell command support schema URI simulation redirection?
- Can a UIAbility be started using ApplicationContext?
- What are the differences between the stage model and the FA model in intra-process object sharing?
- How do I call an installed application to open specific files?
- How do I start a browser application?
- Can a custom transition animation be used during a UIAbility migration?
- What are the differences between the UIAbility and UIExtensionAbility? What are their use scenarios?
- What is the relationship between the UIAbility, page, and component? How do I use them?
- What are the use scenarios of Emitter and EventHub?
- How do I disable the full-screen display of a window?
- How do I obtain the application version number, version name, and screen resolution?
- How do I obtain the ability information of specified bundle flags?
- How do I obtain the UIAbilityContext of a UIAbility, page, or component?
- How do I obtain the context in a utility class?
- What are the differences between ApplicationContext, UIAbilityContext, and Context?
- What should I do when error message 401"The context must be a valid Context" is reported during the use of UIAbilityContext?
- What are the relationships between applications, atomic services, and service widgets?
- What are the differences between system applications, third-party applications, and pre-installed applications?
- How do I set the default language and application name to Chinese?
- How do I query the PID of an application process?
- How do I deploy .so files in the debugging and release phases with code signature enabled?
- What are the differences between the app.json5 file and the project-level build-profile.json5 file?
- What are the account requirements for hopping?
- How do I enable the permission request dialog box to automatically display during application launch?
- How do I determine whether an application is running in the background if it has multiple UIAbility components?
- What are the impacts on an application when developing non-UI features using TypeScript instead of ETS in terms of memory, CPU, and hap size?
- How do I determine the initiator of an application?
- How do I obtain the UIAbility name of the current application?
- How do I check whether an application is running in the foreground or background?
- How do I set an application to automatically restart?
- How do I obtain the list of applications installed on a device?
- Will the UIAbility be reclaimed when the memory is insufficient? If reclaimed, can it be restored through the page stack?
- How do I obtain files in the rawfile directory through ResourceManager?
- Does HarmonyOS restrict an application process from forking subprocesses? Does it allow executable files in applications to run (fork+exec) and read their own processes in ptrace mode? Will this method be restricted in the future?
- What are the differences between the two page loading modes provided by HarmonyOS?
- How do I access the system application Files?
- Is the HarmonyOS NEXT system in big-endian or little-endian mode?
- What are the relationships between UIContext, Ability, and UIAbilityContext?
- How do I create a background task in the stage model?
- How does an application continue to provide services after switching to the background?
- How do I apply for multiple continuous tasks?
- What are the process resource usage specifications during application running?
- How do I check whether the WorkSchedulerExtensionAbility callbacks onWorkStart and onWorkStop are correctly implemented?
- How do I query system logs related to transient tasks, continuous tasks, deferred tasks, and agent-powered reminders in background tasks?
- Can data be returned asynchronously in Inter-Process Communication (IPC)?
- How do I redirect to a specific page by tapping a service widget?
- What are the differences between atomic services and service widgets?
- What is the relationship between ArkTS, ArkUI framework, and HarmonyOS SDK/API?
- What should I do when a crash occurs after I convert a JSON string obtained from rawfile into an object and call the instance method?
- How do I use regular expressions?
- How do I generate a random UUID?
- Does ArkTS provide a method similar to System.arraycopy in Java?
- Should I change the file name extension of all ArkTS files to .ets?
- Where is the .abc file generated after the build?
- What are the differences between ArkTS and TS files?
- How do I implement string encoding and decoding?
- How do I generate a UUID string?
- What are the common attributes to be used and how do I implement the APIs when using Node-APIs to extend TS APIs?
- How is a raw file read by the thread created by pthread?
- What is the memory sharing principle of a sendable class object of ArkTS?
- How do I implement synchronous method calls in ArkTS as easily as using synchronized in Java methods?
- Do ArkTS APIs support overloading?
- How do I convert the implementation in the Java-like thread model (memory sharing) to the implementation in the ArkTS thread model (memory isolation)?
- Where can I find the libc++ library? Is it packed into an HAP?
- What is the product of the AOT compilation mode and what are .ap, .an, and .ai files?
- What are the differences between .ets and .ts files and how do I call methods defined in the files?
- What should I do since globalThis cannot be used in ArkTS?
- What are typical scenarios and usage of this in ArkTS?
- How do I access static variables and methods of a class?
- How do I merge two objects?
- How do I Implement a capability similar to Java reflection?
- Is the underlying running environment of ArkTS code self-developed or open-sourced (such as v8 or jscore)? Is the same running environment reused for React Native code?
- What data type conversion methods are used in ArkTS?
- Is it possible for developers to manage the number of threads?
- Is dynamic module loading supported? How do I implement it?
- How do I implement Aspect-Oriented Programming (AOP)?
- How do I use the AOP API to implement repeated instrumentation or replacement?
- How can I determine whether instrumentation or replacement can be performed on an API?
- How do I parse a JSON string as an instance object?
- How do I use runtime annotation in ArkTS?
- How do I use a custom decorator in ArkTS?
- Does ArkTS support destructing?
- Can ArkTS files be loaded in TS files? Is the use of TS be restricted?
- Is ArkTS capable of using reflection to call static and instance member functions of a class?
- How do I obtain elements in an ArrayList using indexes?
- How do I convert a map into a JSON string?
- How do I obtain the class name of an object?
- How do I convert a JSON object into a HashMap?
- How do I convert an ArrayBuffer to a string?
- How do I convert the Uint8Array type to the string or hexadecimal type?
- How do I perform Base64 encoding?
- What are the differences between object assignment and deep/shallow copy?
- Does ArkTS support multiple inheritance?
- Does ArkTS support intersection types?
- Does ArkTS support anonymous classes?
- How do I use Record?
- How do I use AOP to count the method execution time?
- How do I generate the setter and getter methods of a class?
- How do I convert the sendable type to JSON data?
- How do I handle big integers?
- How do I implement different code logic based on the passed-in parameter type of a function?
- How do I use the tool library to parse and generate JSON format?
- Will memory leakage occur when A holds B while B references A?
- How do I obtain object values by key?
- What is the loading process of ModuleManager?
- How do I view the detailed build process?
- How do I traverse JSON objects?
- How do I determine the type of an object?
- How do I use Reflect to correctly bind the this pointer in ArkTS?
- Where is the mapping file of code obfuscation?
- How do I obtain all methods of an object?
- How do I use the built-in JavaScript engine? What is the JIT support policy?
- How do I use closures in ArkTS?
- Can static and instance member functions of a class be invoked through dynamic import in runtime reflection?
- How do I obtain environment variable information?
- How do I obtain the CPU usage time of an application process?
- How do I specify some attributes of an object for serialization?
- What do I do if the precision of the number type is lost during object deserialization?
- What is the maximum length of an array?
- Does ArkTS use an asynchronous I/O model similar to Node.js?
- Do I/O intensive tasks like network requests need to be processed by multiple threads?
- Does the @ohos.net.http module need to use TaskPool for handling tasks?
- How do I troubleshoot initialization errors at runtime caused by inter-module circular dependencies?
- What should I do when there is no error log about compilation exceptions?
- How is a callback function defined in ArkTS?
- How does this of a function in an object point to the outer layer?
- How do I implement anonymous inner classes?
- How do I define an object with any key?
- How do I implement interface methods at the call site?
- What are the ArkTS type conversion methods other than as?
- How do I export the default export object in Index.ets?
- Does ArkTS allow the calling of methods in JavaScript files?
- Can I obtain the AST syntax tree of the .ets file in the compilation phase?
- What should I do if the application fails to initialize the class instance through object literals, and how do I solve the problem?
- How do I process special characters during URL encoding?
- What are the use cases of ArkTS custom annotations?
- How can I create a thread?
- How do I design a concurrency scheme to support a large number of threads?
- How do I set task priorities?
- Will performance be compromised by inter-thread communication of JS objects that depends on serialization?
- What are the similarities and differences between TaskPool and Worker?
- Do Worker and TaskPool limit the number of threads?
- How is the processing result of a C++ thread created by a JS thread using NAPI returned to the JS thread?
- What is the multithreading model of the system?
- Can context be transferred across threads?
- How do I implement secure access to the same shared memory in multithreaded concurrency scenarios?
- Which has a higher priority, the main thread or child thread? What are their task execution policies?
- How do worker threads and TaskPool threads communicate with the host thread in ArkTS?
- Does ArkTS support multithreading development using a Java-like shared memory model?
- What is the thread mechanism of ArkTS? Is each thread a separate JS engine? If a thread has relatively low overhead, why is the number of threads limited?
- How does the TaskPool communicate with the main thread during task execution? How do I implement simultaneous access to the same memory variable?
- Are multithreading operations on the preferences and databases thread-safe?
- If most background tasks (computing, tracking, and storage) in ArkTS use asynchronous concurrency mode, will the main thread respond more slowly and finally cause frame freezing and frame loss?
- Will the main thread be blocked if await is used in the main thread of ArkTS?
- Can I dynamically load modules (HAR, HSP, and SO) in TaskPool?
- How do I implement memory sharing in a TaskPool thread?
- Can an application manage the background I/O task pool? Is any open API provided for management?
- How do I fully utilize the device performance with a limited number of threads?
- How do I implement memory sharing in a worker thread?
- How do I determine whether the calling thread is the main thread?
- How do I perform instrumentation and replacement on asynchronous methods?
- How do I implement multiple Worker instances in ArkTS?
- How do I use TaskPool to call object member functions in a subthread?
- How do I enable multi-level subthreads in Worker?
- How do I obtain the context of TaskPool and Worker?
- Does it support #include and std::pmr::vector?
- What should I do if a performance dip occurs while obtaining the length of the string passed from ArkTS on the native side?
- What should I do if the string passed from ArkTS is truncated on the native side?
- How do I export APIs from multiple C++ source files?
- How do I dynamically load a .so library in ArkTS and C/C++ at runtime?
- How do I integrate a third-party .so library in C/C++?
- How do I exchange map data between ArkTS and native?
- How do I export custom C++ classes and call their APIs in ArkTS?
- How do I change the C++ version supported by a project?
- How do I obtain the screen brightness on the native side?
- How do I write a temporary file to the user directory in native code?
- How do I add the debug declaration in native code?
- How do I distinguish the ArrayBuffer and Uint8Array objects created by ArkTS in native code?
- How do I encapsulate native functions into a class and export the class to ArkTS for use?
- How do I obtain information printed by printf in native code?
- How do I obtain the ArkTS application bundle name on the native side?
- How do I invoke ArkTS system capabilities on the native side?
- How do I use the ArkTS asynchronous APIs defined by the system from the native side?
- How do I use ArkTS APIs of other modules from the native side?
- How do I import a third-party library in ArkTS?
- How do I access raw file resources of an application from the native side?
- How do I access resources across modules from the native side?
- How do I obtain the application version information on the native side?
- How do I bind the data of an ArkTS object and the data of a native object?
- How is env obtained when a callback is executed by Node-API?
- How do I call ArkTS APIs from the native side (using C/C++)?
- How do I integrate the third-party library curl and use it to send HTTP data requests?
- How do I use the third-party library AKI to implement cross-language calls between ArkTS and C/C++?
- How do I use other third-party libraries in a native project?
- How do I use HiLog to print log information on the native side?
- How do I use SO libraries of the so.x.y type, for example, libxxx.so.3.1 and libxxx.so.3.1.0?
- What is the napi_module struct?
- How do I obtain an operable file directory on the native side?
- How do I use the .so library functions in an existing project for a new project?
- How do I modify a native KV pair in ArkTS and pass the new value to the native side?
- How Do I obtain an object and its member variables from ArkTS on the native side?
- How do I correctly set the header file path in the CMakeLists.txt file?
- How do I import the header file deviceinfo.h on the native side?
- How do I create an ArkTS object on the native side?
- Where is the name of the .so library generated in the native C++ template defined, and which parameters must match the module name?
- How do I print the char pointer in native code?
- How do I persist an object created in C++ (for example, by using napi_create_object) or a JS value to be passed as a parameter? How do I implement automatic increment and decrement of the reference count?
- How do I display logs of different levels during CMake compilation?
- How do I release a C++ object wrapped in an ArkTS object?
- How do I obtain an ArkTS Uint8array instance on the native side?
- How do I obtain an ArkTS class instance on the native side?
- How do I call C++ APIs across HAP modules?
- How do I specify the target OS architecture during HarmonyOS build?
- How do I reference the object created by napi_create_buffer in ArkTS?
- How do I use the char pointer to construct an ArrayBuffer on the native side?
- How do I obtain the module version information from the CMakeLists file?
- How do I declare the custom type object passed to the native side in the index.d.ts file?
- How do I modify the object data and properties passed from ArkTS on the native side?
- How do I export native APIs from multiple xxx.d.ts files?
- How do I listen for native log information from ArkTS?
- What should I observe when using napi_run_script_path() to execute the abc files in a package?
- How do I use network functions via C APIs?
- How do I implement HashMap conversion between ArkTS and C/C++?
- In addition to pending exceptions, are there any other exceptions when napi_call_function is called?
- Can native APIs be exported from an HSP or HAR? If not, is there any other alternative solution?
- What should I do if multiple SO libraries depend on each other?
- How do I use the .so file built from another module in a module?
- Why cannot napi_env be cached?
- How do I manage C++ objects in ArkTS?
- How do I ensure the application compatibility if the libc++ version of the HAR is different from that of the project?
- How do I open a file on in C/C++?
- How do I manage the object lifecycle on the native side?
- Does C/C++ provide the OpenSSL library?
- How do I release an ArkTS object on the native side?
- How do I directly call ArkTS APIs in a C++ child thread on the native side without triggering callbacks on the ArkTS side?
- Thread-related questions when the ArkTS layer invokes native layer interfaces
- How do I trigger ArkTS callbacks in a C++ subthread since there is a restriction for the native thread to obtain env?
- How do I invoke a function transferred from ArkTS in a C++ subthread?
- How do I call ArkTS asynchronous APIs on the native side and return asynchronous computation results to the native side?
- What is the thread relationship between native code and ArkTS code, and are there any restrictions on the thread usage?
- Are napi_env and napi_value instances shared across Worker threads?
- How do I create a subthread on the native side? What are the restrictions? How does the native subthread communicate with the main thread?
- How do I use a Worker thread to call NAPIs to rewrite variables in a loop?
- Does napi_env on the native side support delayed or asynchronous calls?
- How do I manage the JSVM_CallbackStruct lifecycle?
- What should I do if "error: unknown type name '_Bool'" is reported during the compilation of an HAP project?
- What should I do if OOM (v8::FatalProcessOutOfMemory) occurs?
- How do I use OH_JSVM_GetValueStringUtf8 to obtain a string?
- What do I do if the application crashes when JS code is executed in Finalizer()?
- What should I do if an application exits due to memory exceptions of the member variable (array_buffer_allocator_) in the VM when OH_JSVM_CreateVM is called by multiple threads during application running?
- How do I mitigate the aliasing issue when scaling an image loaded by the Image component?
- How do I throttle gesture events, for example, disallowing repeated trigger of click events within 500 ms? How do I perform unified throttling on multiple gestures?
- How do I implement screenshot prevention?
- How do I obtain the coordinates of touch points in a long press gesture callback?
- How do I customize the Tabs navigation bar and its alignment mode?
- How do I implement exposure tracking in a scrollable container component?
- How do I set different attributes for UI components under different scenarios?
- How do I return parameters when navigating pages with Navigation?
- How does the TextInput component obtain focus?
- How do I set the start position of the cursor at the upper left corner in the RichEditor component?
- How do I keep the layout unchanged after the soft keyboard pops up?
- How do I enable the indicator to slide along with the tab navigation bar when switching tabs?
- How do I resolve the nested scrolling conflicts between the Web and List components?
- How do I resolve the scrolling conflict with two layers of Tabs components?
- How do I remove focus from a component?
- How do I load and use custom fonts?
- How do I implement a mixed text and image layout?
- How do I implement the pin-to-top or pin-to-bottom effect for list item groups?
- How do I resolve the issue of the List component not scrolling to the bottom without setting a height?
- How do I implement a multi-column layout using the List component?
- How do I set the corner radius and spacing for a list item group?
- How do I obtain the visibility of UI components?
- How do I implement slot-like functionality?
- What should I do if the margin does not take effect after a child component is displayed in full screen?
- How do I use PanGesture or SwipeGesture to implement the inertial scrolling effect of a custom component?
- How do I listen for orientation status changes of the device screen? How do I enable the window to rotate with the device?
- How do I customize event transfer between parent and child components to, for example, resolve scrolling conflicts?
- What should I do if the UI does not refresh with ForEach and LazyForEach when the data source is changed?
- How do I control UI re-rendering for the Canvas component?
- How do I adjust the position of specific UI components when the keyboard pops up without affecting the overall layout?
- What parameter types and unit types do components support? When are they used?
- How does the Text component load Unicode characters?
- How do I register custom fonts? How do I obtain font resources from the storage path?
- Does AppStorage allow for object sharing between threads? If not, what is the recommended alternative?
- How do I track component data or state in the build process of custom components? For example, how do I add log tracking for state variables in the build?
- How do I make content move up when the keyboard pops up, instead of the entire page moving up?
- How do I move the bottom layout up to the top of the keyboard when the text box brings up the keyboard?
- How do I apply a linear gradient blur effect to images?
- How do I remove the fade-out effect on both ends of the Tabs components?
- How do I obtain the text width in the Text component?
- Do I need to set a default height for custom components?
- Why do custom dialog boxes fail to enter the onPageShow method?
- What should I do if large icons set for the toolbar in the Navigation component are clipped?
- How do I use bindContextMenu for the Image component?
- What is the controlButton attribute of the SideBarContainer component used for? How do I set it?
- How do I listen for screen rotation?
- How do I set window rotation?
- How does a component synchronize state with its grandchild components?
- How do I clear the content of the TextInput and TextArea components with one click?
- How do I set the position of a custom dialog box?
- What is the function of the gridCount parameter in the custom dialog box (CustomDialog)?
- How do I customize the eye icon for the password input mode of the TextInput component?
- How do I use the onSubmit event of the TextInput component?
- How do I set the caret position to the start point for when the TextInput component obtains focus?
- How do I obtain the attribute information of a component?
- How do I obtain the current scrolling offset of a scrollable component?
- How do I align text vertically?
- How do I customize the font color and size for text in the TimePicker component?
- What should I do if the constraintSize settings fail to take effect?
- How do I set the background color to transparent?
- How do I customize the control bar style of the Video component?
- How do I set state-specific styles for a component?
- How do I implement a text box that automatically brings up the soft keyboard when it obtains focus?
- How do I display different types of data by group in a List component?
- Does $r support nested resource access?
- How do I set a gradient background color for the Button component?
- What should I do if the soft keyboard obscures the content on scrollable pages, preventing upward scrolling?
- How do I set the TextInput component to accept only certain characters?
- How do I resize a floating window based on the component's content size?
- How do I set multiple columns for the List component?
- How do I set the style of the divider that distinguishes the tab bar from the tab content in a Tabs component?
- Why can the content in the RichText component be scrolled?
- How do I set the List component to have no bounce effect when scrolling to the edges?
- How do I reduce the aliasing effect on images?
- How do I implement multi-line input?
- Does the Text component support setting font styles by segment?
- How do I change the font color for the status bar?
- How do I set the text box to select all text when the dialog box is displayed?
- Why is the height of blank lines inconsistent with the font height?
- How do I set the text box to select all text when it has characters entered?
- Why does the color: 'rgba(0, 0, 255, .5)' settings fail to take effect?
- How do I change the background color of the TextInput component in pressed state?
- How do I set the maximum and minimum widths and heights for a component?
- How do I set the background color for the XComponent component?
- How do I apply a blur effect to a component?
- What is the baseline in vp for UI layouts to achieve cross-device adaptation?
- How do I get and set the screen brightness?
- Can the hover effect be customized for TextInput?
- How do I remove the fade effect displayed when swiping to the edges of a tab bar?
- How do I implement a nested scrolling effect with two levels of Tabs components?
- Can the scrollbar of the Grid component be customized?
- How do I set the gradient effect for both ends of the List component?
- How do I scroll long text?
- How do I set XComponent to transparent?
- How do I control the fixed height of a sheet transition?
- How do I implement a placeholder animation for item dragging in a Grid component?
- How do I concatenate string variables in ArkUI?
- How is the real-time background blur be implemented for swiping down to reveal the Control Panel?
- How do I obtain the width and height of an image?
- How do I resolve the issue of the page header being truncated when the keyboard pops up in a web page within a dialog box?
- How do I hide the navigation bar in the Navigation component?
- How do I set the width of a child component so that it does not exceed the size of its parent component?
- What should I do if the Image or ImageSpan component would not load an image when a string-type path is passed?
- How does the Image component read an image from the sandbox?
- How do I implement event passing through?
- How do I determine whether text is truncated after setting maxLines for a Text component?
- How do I achieve an effect similar to CSS keyframes?
- Can an external Stack container adapt to the styles such as rounded corners of the internal container components?
- How do I resolve the issue of Alignment.Bottom not taking effect in the Stack layout?
- Does the layout support capabilities similar to calc(100vh - 100px) in CSS?
- How do I obtain the parameters passed by router.back?
- What should I do if the onBlur and onFocus callbacks cannot be triggered?
- How do I disable the scroll event of a Grid component nested in the Scroll component?
- How do I enable a component to rotate continuously?
- How do I scroll a list with the keyboard displayed?
- Why doesn't pressing Enter trigger a click event when the focus is on a keyboard-navigated object?
- How do I block event bubbling when a button is nested in multi-layer components?
- How do I fix incorrect recognition of the pan gesture where container nesting is involved? (API version 9)
- How do I implement a button that only responds to the bound onClick event, but not the onTouch event bound to the button's parent component?
- How do I prevent the TextInput component from bringing up the default keyboard?
- How do I prevent a component's mouse events from bubbling up to the parent component?
- How do I implement the slide up and slide down effect for page transition?
- How do I configure custom components to slide in and out from the bottom?
- Can child component events be passed to parent components?
- Can other events besides keyboard and mouse events have their bubbling interrupted?
- Why is onVisibleAreaChange triggered twice when a component is hidden?
- Does @Watch have stickiness?
- Why does using @Watch to call async functions slow down UI responsiveness?
- How do I remove the Video component from a page?
- What should I do if calling stopPropagation does not prevent the touch event from being dispatched?
- How do I obtain the window width and height?
- Can I set variables for the universal attribute width?
- How do I determine whether a JS object contains a specific value?
- How do I hide the status bar on the top of an application?
- How do I lock the window in portrait mode so that it does not rotate with the device?
- Why do the isStatusBarLightIcon and isNavigationBarLightIcon attributes set by calling setWindowSystemBarProperties not take effect?
- How do I keep the screen always on?
- How do I listen for window size changes?
- How do I obtain the screen width, height, resolution, and orientation information?
- How do I set an immersive window?
- How do I obtain the width and height of a window?
- How do I resolve the issue where the modal window created by Window does not have the default focus, leading to unresponsiveness to the back gesture event?
- How do I obtain the height of the status bar and navigation bar?
- How do I align the TabBar of the Tabs component to the left?
- How do I switch the window between landscape and portrait modes?
- Is there an alternative solution for handling "9-patch" images (also known as "draw9patch," ".9 images," and "dot9 images")?
- Are there any callback events after a component refresh in ArkUI?
- How do I implement another dialog box in a custom dialog box?
- How do I implement dragging functionality for the Grid component?
- How do I set an immersive status bar?
- How do I dynamically control the keyboard binding to different TextInput components?
- How do I use iconfont?
- What is the caching mechanism for the Image component?
- What are the rules for generating keys in ForEach?
- What are the differences between the Flex component and W3C's flexbox?
- Do ArkUI components support inheritance?
- Do @Style and @Extend support export?
- How do I dynamically update the Canvas content?
- Does the custom component support generics?
- Can a custom component be saved through a container?
- How do I resolve the error "undefined is not callable" when using BuilderParam to call a method in the parent component?
- How can a component detect when the application is switched to the foreground or background?
- How do I implement chain calls in a custom component as in system components?
- What is the difference between setting attributes externally and setting them inside the build method for a custom component?
- How do I implement a loading effect when the page is loaded?
- How do I implement pull-to-refresh and pull-up-to-load-more effects?
- How do I obtain the height of the notch area? Which value in topRect should be used: height, top, or the sum of height and top?
- How does the system handle users' screenshot and recording operations after an application prohibits screen capturing?
- Is there any obstruction in the touch target of the component at the bottom of the screen?
- How do I obtain the device screen orientation?
- Is the subwindow created by default in full screen? How do I hide the status bar when the window is in full screen?
- How do I make the Grid component automatically adapt its height when the height is undetermined?
- How do I obtain the screen information of a phone?
- How do I resolve the issue where clicking the child component area triggers the parent component's click event?
- How do I address the issue where both a child component and its parent component trigger touch events when the user is interacting with only the child component?
- Why is the gradient opacity set using 0x eight-digit colors different from the # eight-digit resource color values?
- How do I enable the background to change with the text size?
- How do I use ListItemGroup together with LazyForEach?
- How do I set the font of the Text component so that it is not affected by the scaling of the display size in system settings?
- How do I obtain the height of the navigation indicator at the bottom?
- How do I implement a list that can scroll both horizontally and vertically?
- How do I implement pull-to-refresh using the Swiper component?
- What should I do if vp2px and px2vp return incorrect results?
- Is there a maximum number of pages limit for navigation? If the router stack exceeds 32, will it be unresponsive or will it throw an error?
- How do I use the navPathStack parameter of Navigation?
- How do I set the height of a child component in a Navigation container to 100% to fill the parent container?
- What is the difference between pushPathByName and pushDestinationByName in Navigation?
- How do I enable the soft keyboard to disappear on touching a button?
- How do I obtain the heights of the status bar, navigation bar, and navigation indicator?
- How do I implement text expand and collapse functionality?
- How do I enable a list to scroll back to the current display position after a pull-to-refresh operation?
- Can TextInput gain focus after it has the visibility attribute set to Hidden or None?
- How do I obtain route parameters on a NavDestination page when using the Navigation component for navigation?
- How do I implement cross-file style reuse?
- How do I implement cross-file component reuse?
- How do I adapt my application to the screen cutout?
- How do I Implement a unified grayscale feature for a window, page, or component?
- How do I implement drag and drop to exchange child component positions in a List component?
- How do I restore a swipe action item to its initial state?
- How do I implement pull-to-refresh and pull-to-load-more on nested scrolling of the List, Swiper, or Grid components?
- How do I trigger the application to run in the background in the code?
- How do I disable the rebound effect used when the scroll boundary is reached for the Tabs component?
- How do I switch between the custom keyboard and the system keyboard?
- What is the difference between struct and class?
- How do I implement page-level transparency for navigation between pages?
- How do I implement lazy loading of a two-dimensional array?
- How do I implement a QR code with an image?
- Can the event response order be set when a List component is nested within a Scroll component, so that the List does not respond to scroll events and the outer Scroll scrolls the entire layout?
- How do I clear the focus in a text box?
- How do I take a screenshot and obtain the screenshot content?
- How do I obtain a WindowStage instance from a page?
- How do I obtain the component rendering completion time?
- How do I disable the click gesture of the Toggle component while dragging?
- How do I open a half-screen display through routing?
- How do I recognize double-tap gestures while ignoring single-tap gestures?
- How do I obtain the touch target of a component?
- How do I copy content directly to the pasteboard?
- How do I customize the long press trigger time of onItemDragStart in the long-press drag and drop scenario?
- How do I use bindSheet with ForEach?
- How do I draw a rounded rectangle using the canvas?
- How do I set the left and right margins for mirrored languages?
- How do I Implement the single-sided rebound effects in Scroll and List components?
- How do I merge two lists and support lazy loading?
- Why doesn't the auto setting for height take effect for the RelativeContainer component when child components use the container as an anchor?
- How do I disable the split-screen mode?
- How do I resolve the conflict between scroll events and gestures in scrollable containers?
- How do I combine ListItemGroup with LazyForEach and implement component reuse?
- How do I cancel the text selected state when closing the custom menu in the Text component?
- What are the differences in usage between the WaterFlow, Grid, and List containers?
- How do I control the display level of CustomDialog?
- How do I resolve the performance issue caused by the long duration of key generation in the third parameter of ForEach?
- How do I prevent the display of intermediate transition tab pages when switching pages in the Tab component?
- Why does performance degrade when LocalStorage frequently reads and writes complex objects?
- How do I bind different custom keyboards to different text boxes?
- Does batch updating of multiple @State decorated state variables within a custom component affect performance?
- How do I determine whether the data loaded in the List component exceeds one screen?
- What are the common component attributes for which auto can be set?
- How do I make LazyForEach work in a double-nested list?
- How do I avoid blank spaces when the Marquee component scrolls text for the first time?
- How do I prevent accidental tab page turning during web page scrolling and accidental web page scrolling during tab switching?
- How do I determine whether the current device is a foldable phone?
- How do I keep the keyboard focused in a subwindow?
- How do I implement a gradient mask effect at the top in a live broadcast comment scenario?
- How do I add other components to the tab bar in Tabs?
- How do I implement a partial hollow-out effect using Canvas?
- How do I resolve the issue of abnormal clipping with ellipsis in the Text component when the content is a mix of Chinese, numbers, and English characters?
- How do I implement a folding animation for the List component?
- How do I modify the corner radius and arrow color of the popup bound by bindPopup?
- How do I control the popup offset to adapt the popup to the Web component's long-press menu?
- How do I prevent the image from flickering when Badge switches the quantity display?
- How do I delay the status change of the Toggle component after it responds to a click?
- How do I obtain dark color values using getColorSync(resource) in dark mode?
- How do I remove the phonetic mark when converting Chinese characters to Pinyin?
- How do I change the size, color, and position of the password icon in the TextInput component's password input mode?
- How do I resolve overlapping between the status bar and page content?
- How do I implement an immersive status bar background color?
- How do I adapt the color of the status bar to the color mode?
- How do I hide the status bar in full screen mode and show it when not in full screen mode?
- How do I set the minimum and maximum font sizes for the Button component?
- How do I ensure that a foldable phone adapts to rotation in the unfolded state but does not in the folded state?
- How do I implement dynamic component mounting and unmounting?
- What should I do if the system gestures for long pressing and panning on the Image component conflict with custom gestures?
- How do I implement the feature of closing a floating window through a swipe gesture?
- How do I obtain the original object before it is proxied by the ArkTS state management framework?
- Why a window instance cannot be used to obtain the updated window size in the display.on('change') callback?
- How do I obtain the screen orientation and avoidAreaChange information at the same time?
- How do I implement an immersive page with an immersive status bar and immersive navigation bar?
- How does AspectRatio affect the layout?
- How do I set click events for different positions in a custom span?
- What is the difference between window orientation enumerated values?
- How do I implement automatic screen rotation for applications?
- What are the differences and restrictions between a custom builder function and custom component?
- How do I concatenate string variables of ArkUI components?
- How do I enable Screen Hopping?
- Can I instrument ArkUI components such as pages?
- How to simulate a touch event?
- What are the possible causes of long dlopen:libace_compatible.z.so duration during cold start of an application?
- What is the relationship between the onAreaChange and windowStatusChange callback events? Which one is triggered earlier?
- Why the upper extended hot zone configured with the responseRegion attribute responds to clicks but the lower one does not?
- What should I do if the XComponent component in surface mode displays abnormally after renderFit is set?
- What should I do if flickers occur during the component disappearance animation?
- How do I implement the text gradient effect?
- How do I disable the pull-down refresh feature of the Refresh component?
- What should I do if some text colors are displayed abnormally when I use a Text component to nest a Span component or use an attribute string to render text?
- Why does the application crash when I use a router? How to troubleshoot the problem?
- Why do navigations through the router fail?
- What are possible causes of white screen during page redirection?
- How do I set the dialog animation and mask animation separately?
- How do I load SVGA files?
- How do I customize the position of an indicator in Swiper?
- Why do both onClick and .parallelGesture gestures respond to the long-press operation when a component is bound to both of them?
- How do I draw a mosaic on an image?
- How do I implement the effect that swiper changes its height based on the sliding distance?
- Why does the custom title bar using Navigation not take effect?
- How do I listen for the Navigation page lifecycle?
- How do I check whether the lower-layer page of the Navigation page is covered by Dialog?
- What are the page lifecycles managed by Navigation, and through which callback can I listen for the page lifecycles?
- Can the NavDestination page in the Navigation component be cached so that it can be reused when pushed onto the stack next time?
- How do I quickly convert RouterMap registration to wrapBuilder registration in Navigation router?
- Are there any optimization suggestions for the time-consuming issue when opening a page using the Navigation component?
- By which lifecycle method can the lower-level page in the Navigation Router perceive the pop-up and destruction of the upper-level NavDestinationMode.DIALOG?
- How do I correctly call the queryNavDestinationInfo API in the Navigation component when it returns undefined?
- How do I set a default page in the Navigation component?
- How do I listen to the end time of the system animation after page switching in the Navigation component?
- Can internal pages of the Navigation component be preloaded?
- How do I disable the animation for switching between single and double column modes?
- What methods can be used to switch between content pages in the Tabs component?
- How do I listen to Navigation page stack changes?
- Why does Navigation display a white screen after page redirection via pushPathByName?
- How do I implement a swipe-to-exit feature using ArcSwiper during Watch development?
- How do I implement transition animations for the dialog or background mask in NavDestinationMode.DIALOG mode?
- Why does it not trigger the onPop of B and C during Navigation page redirection from A->B->C->D, with D directly calling popToName to navigate to A?
- In which lifecycle is it recommended to receive parameters on the Navigation page?
- How do I manage Navigation page parameters, for example, transferring parameters, returning parameters, and obtaining parameters?
- How can I use Navigation to transfer NavPathStack instances between custom components?
- What should I do if an error is reported during Navigation inter-module redirection?
- How do I align the TabBar of the Tabs component to the left?
- How do I distinguish between the two scenarios of onPageHide: when the application is switched to the background and when a new page is opened?
- When NavPathStack clears the page stack or the back button is clicked, why is the navigation bar displayed, and what should I do to exit the page where Navigation is located?
- Does the Tabs component support lazy loading?
- How do I decouple the animation logic from the Navigation component when using customNavContentTransition to customize transition animations?
- Why does the watch receive the onHidden callback message 2 minutes after the screen is turned off?
- How do I implement a partially visible effect of an item using Swiper?
- Is there a demo project that uses Navigation to implement cross-module redirection, including the practice of the system route table and custom route table?
- How do I disable the default bottom sliding animation triggered by the removeByName method of the Navigation component?
- How do I adapt ArcSwiper to the watch crown?
- How do I add throttling to the Swiper component to control the Swiper switching frequency?
- How do I set the margin of the Tabs component so that the blank margin can follow the swiping?
- Can the Scroll content area scroll when its height is less than the component height?
- How do I set nestedScroll so that the Scroll component scrolls first, and the outer scrolling container scrolls after the Scroll component scrolls to the edge?
- What should I do to make the dialog box not be displayed above the next page?
- What should I do if the popup menu cannot be displayed when showInSubWindow is set to true when using bindPopup on a PC?
- What should I do if component A responds to the click event outside the menu area when component A is configured with a long-press menu through bindContextMenu?
- How do I make API version compatibility check for UI component properties?
- How do I disable popup content when using components such as TextInput and TextArea?
- What should I do if the customized tabBar switching animation of the Tabs component is delayed and the tabBar switching is triggered only after the Tabs page switching is completed?
- What should I do if the TabContent page of the Tabs component takes a long time to load and preloading is not working?
- Can soft keyboard avoidance be implemented in modal transition and sheet transition?
- How do I listen to the display of TabContent in the Tabs component?
- How do I set a one-way swipe-to-switch between the content pages within the Tabs component?
- Why does the transparent part of a page turn black when a component is used to take a screenshot and save it as a JPG image?
- Why is the performance of FrameNode not as good as that of declarative syntax?
- Can the isAttached API of FrameNode be used to determine whether a FrameNode is displayed on the screen?
- How do I prevent memory leak when data is stored in the AppStorage?
- What should I do if the values inside cannot be obtained after storing an object in AppStorage?
- What should I do if the dialog box remains visible above the displayed page during page redirection through customDialog?
- What should I do if a page opened through a sheet is covered by it?
- What should I do if a blank screen is displayed when swiping left using the Swiper component?
- How do I implement forcibly refreshing the page data when switching tabs?
- What should I do when the tab key is used for focus traversal, but focus moves between the last page and the last tab?
- How do I remove the built-in accessibility reading of the customized tabBar of the Tabs component?
- What should I do if the onClick event of the outer container cannot be blocked when stopPropagation is called in onTouch of a child container?
- How do I disable click-based switching for Tabs and disable TabContent switching by swiping the content page?
- How do I preload a specific TabContent page for the Tabs component?
- How do I evenly set the width of the Tabs navigation bar based on the number of tab bars?
- How do I make the Tabs component automatically adapt its height to the content?
- What should I do if it crashes when using the input parameters to refresh the UI in aboutToReuse?
- What should I do if transition animation within the component takes effect for newly added content but does not take effect for deleted content?
- What should I do if child components of the Tabs component contain if nodes, and the tab bar association is abnormal after the if condition is changed?
- What is the blank space at the bottom of the Navigation page, and how do I remove it?
- How do I implement the eye comfort mode?
- How do I check the specific limitation when ComponentSnapshot returns error code 100001, indicating that the screenshot size is too large and exceeds the hardware limitation?
- What should I do if the text color is overlaid with a layer of transparency after setting the opacity for the Text component?
- How do I implement canceling the current long press gesture when it is moved out of the component?
- How do I determine the component occlusion status and proactively hide the occluded components?
- What should I do if an error occurs when I define a method in a custom component?
- What should I do if the application keyboard is blocked and half of the text box is blocked?
- How do I ensure that the layout of the floating window is normal when I drag the floating window to the extended monitor on a HarmonyOS computer?
- How do I set the custom keyboard to be edge-aligned with the text box?
- How do I listen to and avoid three-key navigation?
- How do I set a keyboard that supports only text input, that is, disable the AI feature of the keyboard?
- How do I obtain the changes in the cursor?
- How do I store PixelMap data to a database?
- How do I share preferences data in an application that has multiple HAPs?
- Where is the database file stored?
- How do I persist data in card development?
- How do I obtain files of a specific type from the database?
- How do I use full-text search of SQLite?
- How do I obtain the SQLite version supported by the system?
- What does it mean if rowCount in resultSet returned by RdbStore.query() is -1?
- How do I read data from a local or preset database?
- How do I ensure that only one write operation is performed at a time in an SQLite-based database? How do I create an index?
- What should I do if error code 14800007 is reported during data query?
- What should I observe in RDB store thread-safe development?
- How do I obtain data using predicates?
- What is the difference between batchInsert() and insert()?
- What should I do to store multiple tables? Should I store multiple tables in a database or store each table in a database? What are the principles of using these two solutions?
- Is the same RDB store object obtained if relationalStore.getRdbStore is executed multiple times with the same parameters?
- Can I create a singleton that always holds a database object? Is there any impact on performance?
- What is the absolute path of the database file (.db) of an application?
- What are the search capabilities supported by the RDB store?
- Must bundleName in createKVManager() be the application's bundle name?
- Must the default value of each attribute of distributed objects be initialized to undefined to prevent data backfeeding?
- What is the difference if I call on() before setSessionId() and after setSessionId()?
- Why the preferences data is lost after the application is restarted?
- How is the preferences context obtained by an .ets file without UI styles?
- How do I implement synchronous calling of RDB store APIs?
- What should I do if "code: 401 err: Error: Parameter error. The type of 'value' must be ValueType." is returned?
- How do I view or export persistent data?
- How do I obtain the sandbox path of application data?
- What should I do if the size of the WAL file in the RDB is abnormal after data is inserted?
- Are preferences APIs thread-safe?
- Why is the RDB store not deleted after deleteRdbStore() is called successful?
- Why can't I store the data of all applications in the same directory or database, given that the sandbox mechanism used in HarmonyOS isolates application data and allows access only from its own application?
- How do I select a data storage solution?
- How do I ensure that preferences data can be properly read across modules and processes?
- How is data security ensured in data management?
- Is relationalStore thread-safe?
- Will the persistent preferences data be retained if the application is updated?
- Why does the ArkData StoreConfig.customDir not take effect?
- How do I prebuild database data into an application?
- What is the first parameter appId in deleteKVStore() of @ohos.data.distributedKVStore?
- Regarding relationalStore.RdbStore, how do I query a database? Do I need to create a child thread to query the database?
- Can I dynamically add fields for ValuesBucket?
- How do I use the zip module to decompress files in the project's rawfile directory to the sandbox directory of an application?
- How do I create a file if the file to open does not exist?
- What should I do if the file contains garbled Chinese characters?
- How do I modify the specified content in the JSON file in the sandbox directory?
- How do I save pixels as an image file?
- What is the destination download directory for an application?
- Can I use Want to start an application during file sharing instead of displaying the selection window?
- What is the maximum length of a file name supported by the system file manager?
- Does fs.write() support encoding formats other than UTF-8?
- How do I obtain the used cache size of an application and clear the cache?
- Is a synchronous Hash.hash API available?
- What is the difference between the files in el1 and el2?
- How do I determine the operation permission on a file based on the mode of an FD?
- Where can I find the screen recording files on my phone?
- How do I export a file from my phone, for example, to an external storage device?
- How do I save logs with the faultLogger?
- How do I prevent the files from being deleted when the application is uninstalled?
- Should I call fileIo.closeSync in ArkTS after close() in C is called to close the FD obtained by fileIo.openSync?
- How do I verify file consistency?
- What is the difference between fd and internal?
- After request.uploadFile() is used to upload a file, there is no callback for the message returned by the server. How do I know whether the file is successfully uploaded?
- Does the image URI returned by FilePicker have only temporary access permission?
- How do I read a byte array from a binary file and convert the ArrayBuffer returned by fileIo.createStreamSync to number[]?
- What should I do if fileIo.open fails to read the application sandbox path?
- How do I obtain the rawfile in the resources directory?
- What should I do if the error message "the parameters check fails this is fail path" is displayed?
- How do I set the font file path when registering a custom font in the font manager?
- How do I obtain the sandbox path in native code?
- Where are photos and videos stored?
- How do I continue writing data from the end of the last write operation?
- Where are the HAPs after an application is installed?
- Can I enable auto backup of the application data when developing a mobile application?
- Why is the length returned by fileIo.write is inconsistent with the content length?
- How do I obtain the file name extension?
- Why is the API for obtaining the user's Download directory unavailable?
- Why does the fileDir obtained vary with the context type?
- How do I read the specified content and convert it to an object?
- How do I check whether a path indicates a directory?
- What should I do if Picker does not have the permission during the cold startup of an application?
- How do I create a temporary file?
- How do I listen for file or folder changes?
- Where can I find screenshots?
- How do I convert a Base64 string to an image and save it?
- What should I do if the image path passed from ArkTS to C++ cannot be read by the C++ code?
- How do I select a path for saving a user file?
- Why is the content input by Celia keyboard read again? (For example, when a user enters '1', the system reads '1 1'.)
- How do I read the XML file in the rawfile subdirectory and convert its data to the string type?
- How do I obtain resources in the resources directory?
- How do I convert resources to the string format?
- How do I set numbers to be displayed with currency separators?
- How do I convert app.media.app_icon to PixelMap?
- How do I read the JSON file in the resources directory of a project?
- How do I convert the content in a file into strings?
- How do I obtain the rawfile resources from a HAR/HSP in a multi-module project?
- How does the return value of onLoadIntercept affect onInterceptRequest in the Web component?
- What should I do if the onKeyEvent event of the Web component is not triggered as expected?
- What should I do if page loading fails when onInterceptRequest is called?
- What should I do if the network status fails to be detected on the loaded HTML page?
- How do I enable the Web component to return to the previous web page following a swipe gesture?
- What are the differences between JSBridge communication and port communication in WebView?
- What should I do if the registered custom font is invalid in the WebView?
- What should I do if a white screen is displayed or the page cannot be displayed when the Web component loads a page?
- What are the differences between javaScriptProxy and registerJavaScriptProxy? How many objects can be registered?
- What are the differences between runJavaScript and runJavaScriptExt of WebView? When are they called in the page lifecycle (such as onPageShow and onPageEnd)?
- How do I synchronize cookies requested from the network to the web page?
- How do I set multiple cookies in batches?
- When should the cookie of the login information be injected? How do I ensure that the login information cookie can be injected into the web page that is just opened?
- How do I trigger onPageBegin and onPageEnd only when the Web component loads the URL for the first time?
- How do I adapt the Web and Webview to common front-end frameworks (such as Vue and React)?
- How do I add a header to a web request?
- How does a Web component access a local resource file and add query parameters?
- How do I determine whether a web page scrolls to the top or bottom and transfer the scrolling event to the page?
- How do I use the tag to open HTML5 pages of the Web component?
- How do I prevent the resources registered on the original page from being cleared after the HTML5 page loaded on the web page is redirected?
- How do I add parameters to a URL when the Web component uses rawFile to load offline HTML files?
- How do I use the alert function of H5 in the WebView?
- Does HarmonyOS support independent upgrade of the web kernel?
- Whether the third-party WebView kernel is supported?
- Does WebView support CodeCache?
- When should I use dynamically created Web components? What is the performance?
- How do I check the path of cookies?
- How do I hide the PDF operation button bar during PDF preview?
- What should I do if a white screen is displayed during WebView offline loading?
- What should I do if a white screen is displayed when the loaddata method of WebView is used?
- Whether the cookie in the WebView can be synchronized with that in the application?
- How do I run JS scripts before and after the DOM tree is loaded in the Web component?
- How do I store the WebController globally?
- What should I do if the process ID needs to be found during each debugging of the WebView?
- How do I set a custom user agent using a callback event of the Web component?
- Does the system support WebRTC? What are the specifications?
- How do I load files that are intercepted on the web page?
- How do I set the mixed content policy in WebView to load HTTP and HTTPS mixed content?
- How do I obtain the error code when an error occurs during Web component loading?
- How do I adapt the player on a web page to the full screen?
- Does the Web component support redirection to other apps through the URL Scheme protocol?
- How do I set the saveas parameter in request.agent.Config?
- How do I use the Web component to download PDF files and display them to users?
- How do I set the opacity effect of HarmonyOS Webview?
- How do I hide the scroll bar of Web components?
- What files can be previewed in WebView?
- What are the differences between the four risk levels illegal, fraud, risk, and warning when using the Web component to access a page? Does the risk levels can be customized?
- Is there an API to determine whether the Web component is bound to the controller?
- How do I use the onInterceptRequest API to asynchronously process response data?
- Can I use request.getRequestHeader() in onInterceptRequest to obtain all request headers?
- Whether the Web component has the listening or callback method when the PDF file fails to be loaded?
- How do I load a link with a hash (#) in the WebView?
- What should I do if accessBackward of Webview does not meet expectations?
- When should I call the getPageHeight method of WebviewController?
- Does the ArkWeb component support deep copy?
- How do I adapt ArkWeb to multiple devices?
- What is the memory usage and memory reclamation mechanism of the Web component?
- What should I do if the soft keyboard is displayed unexpectedly during web page switching?
- How do I convert an HTML page loaded by the Web component into a PDF file?
- How do I change the displayed white screen page to a custom error page when web loading fails?
- How do I properly render the returned HTML containing mathematical formulas to the page?
- What should I do if the image component fails to load online images due to network problems?
- What should I do if a web page is zoomed out when the vh unit is used for page adaptation?
- Will the permission request dialog box appear again after the user previously rejects such a request?
- Is the permission request dialog box displayed after an application update?
- What are the precautions for applying for the precise location permission?
- How do I display the permission request dialog box again when the user has denied a permission?
- Can a description be provided for a dynamic permission request?
- Can user_grant permissions be pre-granted?
- Which system security capabilities are naturally available and which require adaptation by developers?
- Can an application listen for the permission change made in Settings?
- Why isn't a pop-up displayed when an application applies for the location permission?
- What can I do to prevent the application from crashing when it is started again after the user denies the permission requested?
- Is dynamic authorization supported?
- What is the difference between extensionAbilities and requestPermissions in the module.json5 file?
- Can the asset store of an application be obtained by other applications? Can I disable cross-device sync of asset data?
- Do HarmonyOS applications require packing?
- How do I obtain the hash value of an application signing certificate?
- How do I use the RSA public key (string) issued by the server to encrypt plaintext?
- Does ECC support Secp256r1?
- How do I encrypt a large file using SM4?
- How do I use the RSA public key (pk) to encrypt a piece of text?
- How do I convert a public key to hexadecimal or Base64 format?
- What do I do if garbled characters are displayed after Base64 decoding?
- How do I encrypt and decrypt public and private keys?
- What should I do if error 401 is reported when RSA is used to encrypt data?
- What should I do if "Error message:convertSymKey key failed!" is reported in HMAC encryption?
- How do I use an existing certificate to encrypt an RSA public key?
- How do I use SM3 to calculate the message authentication code?
- How to store a public key?
- How do I convert a string into a key object during AES encryption?
- How do I use SM3 to generate a hash value?
- What should I do if "error 401 invalid param" is displayed when convertKey is called to convert the public key in RSA encryption?
- In which conditions will the key generated by HUKS be deleted or destroyed?
- Must the initial vector (IV) in HUKS be a random number? What is the impact of the IV on the key generated?
- What should I do if AES encryption fails in concurrency scenarios?
- Can the AAD be empty when the AES GCM algorithm is used in HUKS?
- What should I do if the plaintext after HUKS decryption is different from the original plaintext if Chinese characters are present?
- How do I obtain the public key of a HarmonyOS signing certificate?
- How do I use a custom PIN (6–16 digits) to unlock a key?
- What should I do if an error is reported when HUKS native APIs are used to generate a key?
- How do I store important data such as private keys?
- What is the difference between huks.isKeyItemExist and huks.hasKeyItem?
- Does HarmonyOS support pre-installation of a CFCA certificate?
- How do I obtain the parameters of the certificate chain validator?
- What data formats are supported by extraData in an HTTP network request?
- What does error code 6 mean in the response to an HTTP request?
- How do I upload photos taken by a camera to the server?
- What does netId mean in the netHandle object returned by connection.getDefaultNet?
- What knowledge do I need to know for using HTTP network connections?
- How do I set cookies for HTTP APIs?
- How do I write extraData in the HTTP request sample code?
- How do I obtain data through network requests and display the data through the List component?
- Does WebSocket support MQTT connections?
- How do I obtain data from the MySQL database through an NIC?
- What should I do if error 88 is reported for a socket connection?
- How do I configure the stage model to support HTTP plaintext data transmission?
- What is the difference between using a PixelMap and directly accessing a URL for the Image component to load a network image?
- Can I leave the Content-Type parameter unspecified in HTTP requests?
- What should I do if the HTTP request response is empty and the error message "The request has been canceled or the number of requests exceeds 100" is reported?
- Does the Socket API library support domain name binding?
- Can a specific thread be assigned for HTTP request execution?
- What is the maximum number of concurrent HTTP requests?
- Should I destroy an HTTP request after it is finished?
- Is an HTTP connection reusable?
- Can a specific network be specified for sending HTTP requests?
- Will the underlying system disable the socket connection if the network is unstable?
- Which third-party libraries are related to network requests?
- How does the third-party library @ohos/axios transfer parameters in queryParams when initiating a POST request?
- How do I send HTTP requests in JSON format in ArkTS?
- What should I do if calling connection.hasDefaultNet() fails when the network is normal?
- What should I do if error 404 is reported during installation of the Axios library?
- Is the key in the header of an HTTP request case sensitive in ArkTS?
- What should I do if httpRequest.request fails SSL certificate verification for using HTTPS?
- Can I obtain encrypted data from the result of httpResponse?
- What should I do if the callback in client.on("message," (value: SocketInfo)) cannot be received when SocketServer is used?
- How do I find out if a cellular network is used?
- How are HTTP requests transmitted in a form?
- How do I implement HTTP persistent connections?
- How do I implement HTTP concurrent download?
- What is the difference between request and requestInStream?
- How do I use Charles to capture packets?
- The address parameter of NetAddress can only be an IP address for socket-related APIs. What should I do if only the host is available?
- How do I convert the received object data to ArrayBuffer after a TCPSocket connection is established?
- How do I convert the network data obtained by Axios from the GBK format to the UTF-8 format?
- What should I do if "NetType":1 is returned in the common event of network connection status changes?
- How do I check whether the current network is accessible?
- What is the difference between netLost and netUnavailable events?
- What should I do if error 2300023 is reported when a file larger than 5 MB is sent via an HTTP request?
- What should I do if netBearType is inconsistent with the actual situation?
- If the network is unavailable, an error is reported when getConnectionPropertiesSync is used to obtain the network status. What should I do?
- How do I check whether a network is a VPN?
- How do I obtain the NIC link address and DNS address of a network connection?
- How do I determine the IP address version of the current network?
- How do I implement priority access to the Wi-Fi network when multiple networks are connected?
- What should I do if TCP connections are interrupted when the application is switched to the background?
- What is the certificate verification logic of the HTTP module?
- Can the HTTP module ignore certificate verification?
- Why are HTTP requests still cached in the local DNS after custom DNS is configured?
- How do I make a custom DNS take effect immediately when an existing HTTP link is reused?
- How do I set a timeout interval for the HTTP request initiated by the RCP module?
- Does the RCP request have a data size limit?
- How does a third-party application obtain the Bluetooth MAC address?
- How do I obtain the Wi-Fi list?
- What is the difference between USE_BLUETOOTH and ACCESS_BLUETOOTH?
- How do I obtain the IP address of the current device after it is connected to a Wi-Fi network?
- How do I obtain the network type?
- How do I determine the cellular signal strength?
- How do I send SMS messages?
- How do I obtain the system timestamp?
- Is it supported to obtain the list of all applications on a user's mobile phone?
- Can Emitter register multiple callbacks using on() for multiple times when the eventId is the same?
- Why only the permissions requested by the application are displayed in the system settings?
- How do I obtain the system version?
- How do I obtain the system time and remain the timestamp in Beijing time when the time zone is switched?
- Can I replace file path in the internal directory with other path while setting the uploadConfig?
- What does the error message "err number=8" mean when request.downloadFile() is called?
- What are OAID, AAID, and ODID and how do I obtain the unique identifier of a device?
- What should I do if the subscriber cannot receive subscribed events when the number of events published by the Common Event Service (CES) reaches the specified value?
- How do I obtain a wakelock to prevent system sleep?
- How do I obtain the API version numbers supported by a device?
- How do I ensure API compatibility on devices with different system versions?
- What should I do if error 201 is reported when calling a vibrator API?
- How do I read data of a motion sensor such as an acceleration sensor?
- How do I obtain the frame data of a camera when using the XComponent to display the preview output stream of the camera?
- How do I obtain the preview image of the front camera?
- How do I set the camera focal length?
- How do I obtain the camera status?
- How do I read the preview image of the camera?
- How do I prevent the camera preview from distorting when displayed in full screen?
- What should I do when an incorrect image is displayed after the camera in preview mode is switched to the background and then switched back?
- How do I disable the camera?
- What can I do if a black screen is displayed without any error information during preview?
- How do I prevent preview stream distortion?
- How do I turn on/off the flash?
- How do I invoke the system camera to take photos and obtain them?
- What video stream formats are supported?
- How do I set the video preview resolution?
- How do I implement the onPreviewFrame callback function for photo preview?
- What is the YUV data format?
- How do I implement video mirroring recording using the front camera?
- Is the memory of the object created by calling PixelMap_CreatePixelMap shared between the ArkTS and native sides?
- How do I select an image from Gallery and upload it to the server?
- How do I set the Gaussian blur effect for an image?
- What is the relationship between the quality parameter in the image compression APIs and the original size and compressed size of an image?
- What formats are supported for image encoding and decoding?
- How do I generate a PixelMap based on a photo selected from an album?
- How do I edit and crop photos in an album?
- How do I set the image resolution?
- How do I read photos in an album?
- How do I save the video frame data received by ImageReceiver locally?
- Why is the size of the obtained YUV data greater than (width x height x 1.5)?
- How do I implement conversion between PixelMap and Base64?
- How do I compress an image to a size lower than a specified limit?
- Error code 62980096 is reported when setting pixelFormat to NV21 or NV12. What should I do?
- How do I convert a PixelMap received on the C++ side into the cv::Mat format?
- How do I save a PixelMap to an album?
- How do I save network images to an album?
- How do I generate a QR code with a logo?
- How do I compress GIF images?
- How do I play music in the background?
- What should I do when multiple video components cannot be used for playback?
- What should I do when the OpenSL ES audio recording sample crashes?
- Does SoundPool support audio in WMV format?
- How do I listen for recordings?
- In which audio processing scenarios are 3A algorithms (AEC, ANC, and AGC) embedded?
- Does AudioRenderer provide an API for seeking to a frame?
- How do I implement a short prompt sound (for example, a sound or sound effect in scenarios such as liking, favoriting, or receiving new messages)?
- How do I prevent audio focus from being occupied when playing audio silently?
- How does a third-party application choose an appropriate audio stream type?
- How do I switch audio application development from OpenSL ES to OHAudio?
- How do I change the default output device during audio playback?
- How do I adapt audio focus?
- How do I adapt WebView focus?
- What should I do if there is no pause after device switchover?
- Why does the boot animation still have sound during a restart when the phone is set to silent mode?
- How do I implement the automatic pause feature on an application based on the audio output device change information?
- How do I intercept the volume adjustment events?
- How do I correctly set the AVRecorderProfile parameter when using the AVRecorder to record audio files in WAV format?
- How do I play audio files in PCM format?
- How do I seek to a specified playback position when using the AudioRenderer to play audio?
- What should I do when the AVPlayer occasionally reports error codes 5400104 and 5400103?
- What streaming protocols and functions are supported by the system AVPlayer?
- How do I interrupt the current audio playback and play another audio using the AVPlayer?
- How do I enable the AVPlayer to continue playing the previous video when the application is switched from the background to the foreground?
- How do I refresh and reload a video when using the Video component, such as when there is a network exception causing playback failures?
- Why does playing a local video source immediately after adding it to the Video component fail?
- How do I obtain the first frame of a video?
- Are there any restrictions on the screen recording frame rate? How do I set the maximum frame rate?
- How does an application respond to loop mode switching commands from the media controller?
- How does an application update the progress bar?
- Why are some buttons in the media controller grayed out and unclickable?
- Can I customize control elements displayed in the media controller?
- How do I implement continuous casting?
- Does the system support casting to DLNA-compatible devices?
- How do I customize the AVCastPicker component?
- How do I implement output device selection?
- What should the display on the local device look like upon a successful casting?
- What control capabilities are supported after casting?
- What are the possible causes of device connection failure, slow startup, and slow callback progress during playback?
- Which format is supported by VideoDecoder, AVCC or AnnexB?
- What are the multiplexing formats and encoding formats for audio and video files?
- How do I obtain the codec capability supported by the system?
- How do I compress videos?
- How do I synthesize images into a video?
- How do I draw a custom animation using EGL?
- What should I do if a crash occurs when multiple threads call OH_Drawing_CreateFontCollection?
- Are EGL operations supported in multithreaded scenarios? How do I operate a buffer to draw a graphic in multithreaded scenarios?
- How do I send decoded frames for display?
- What should I do when OpenGL cannot normally render YUV data with some resolutions?
- What should I do when the error code "EGL_BAD_SURFACE (300d)" is reported during the call of the eglSwapBuffers API? The log information "QEGLPlatformContext: eglSwapBuffers failed: 300d" is displayed.
- What should I do when the error code "EGL_BAD_ALLOC" is reported during the call of the eglSwapBuffers API?
- What should I do when the same OpenGL context is used in multiple threads?
- How do I choose between the texture types GL_TEXTURE_2D and GL_TEXTURE_EXTERNAL_OES?
- Does an EGLSurface support simultaneous display and output to the encoder?
- How do I proactively disable CPU access to window buffers to reduce power consumption?
- How Do I transfer events only in one UIAbility instance?
- How do I listen to system common events, such as screen-off, screen-on, and power-on?
- What is the mechanism of applying for the notification permission with the requestEnableNotification API?
- What are the differences between system pop-ups and application message push?
- How do I rectify a failure to call notificationManager.publish to publish notifications?
- After emitter.off is called to unsubscribe from an event, will all pages that have subscribed to the event no longer receive it?
- How do I apply for the precise location permission?
- What coordinate system is used by the Location kit and how do I convert the coordinate system based on the actual application scenario?
- Why does the setting of Interval to 1 not take effect in the indoor continuous positioning scenario?
- What should I do if the connection to Gitee timed out during sample importing?
- How do I resolve the SSL certificate verification error during sample importing?
- How do I resolve the network connection error during HarmonyOS SDK downloads?
- What should I do if DevEco Studio won't open?
- How do I configure the DevEco Studio proxy?
- What should I do if npm package installation fails?
- How do I use ohpm in the CLI?
- What should I do if sdkmgr fails to download the Linux SDK in the pipeline scenario?
- Does ohpm-repo support HSP management?
- What should I do if ohpm registry access fails in the environment check?
- How do I resolve the automatic signing error "The signature does not take effect or has expired. It may be the current system time is inaccurate, please calibrate the system time and sign again"?
- How do I set automatic wrapping for log messages in DevEco Studio?
- What should I do if the "Import DevEco Studio Settings" dialog box is displayed during runtime?
- What should I do if the packaging fails and error message "00303153 Configuration Error" is reported when configuring JDK25 in the environment?
- How do I resolve the "Incorrect settings found in the build-profile.json5 file" error during a project check?
- What should I do if the environment diagnosis and project/module creation pages are blank?
- How do I resolve the "Install failed FetchPackageInfo: hypium failed" error that occurs when opening a historical project?
- How do I use the ArkTS code template in DevEco Studio?
- How do I convert an HSP into a HAR?
- How do I convert a HAR into an HSP?
- How do I configure DevEco Studio to print log content exceeding 1000 lines in the console?
- How does DevEco Studio automatically install dependencies?
- How do I disable the automatic formatting feature in DevEco Studio?
- How do I resolve the "Unable to rename the file. Cause: Unable to delete D:\xxx\default" error when uninstalling the SDK on Windows using DevEco Studio?
- What should I do if uint8_t in the .h file cannot be used?
- How do I use Git in DevEco Studio to manage multiple remote repositories?
- How do I install an npm package in offline mode?
- What should I do if multiple instances of the warning "-Wunused-command-line-argument" in the project, which affect the viewing of valid logs?
- How do I configure the currently opened file to be automatically highlighted in the project directory?
- What should I do if the directory tree disappears from the left side of the project view?
- What should I do if the system APIs of the SDK are displayed in the ExternalCpp view?
- What should I do if intelligent code completion and navigation features do not work?
- Does DevEco Studio provide a feature to check for unreferenced resources in one click?
- How do I automatically format modified code when committing in DevEco Studio?
- How do I preview the structure tree in DevEco Studio?
- What should I do if the breakpoint area on the left side of the DevEco Studio editor disappears?
- How do I set up DevEco Studio to automatically add header comments and copyright notices when creating new .ets files?
- How do I resolve the "Property 'BUILD_VERSION' does not exist on type 'typeof BuildProfile'" error reported regarding BuildProfile during custom field building?
- How do I exclude large files from editor scanning?
- What should I do if the editing feature fails and the message "ArkTS language service terminated due to memory constraints." is displayed?
- What should I do if using the Node-API generation feature results in the "Unsupported parameter type." or "Unsupported return type." error?
- How do I resolve the "Failed to generate NAPI, check the napi_init.cpp file and try again." error when using the Node-API generation feature?
- How do I resolve the "Could not find usage of napi_module_register in napi_init.cpp." error when using the Node-API generation feature?
- How do I resolve the "Scan files to index fail" error when starting DevEco Studio?
- What should I do if the server fails to be started and the process exits unexpectedly?
- What should I do if the editor displays "The default system capabilities of devices wearable do not include SystemCapability.ArkUI.ArkUI.Circle" when using the ArcList component on DevEco Studio?
- Why does the @since X in the comment of an ArkTS API seem to be later than the actual introduction time of the API?
- How do I set the pixel values for the Previewer in DevEco Studio?
- What should I do if the Compress Logs and Show in Explorer feature in the Help menu does not work during preview?
- How do I resolve the "@Consume/@Link decorated property not initialized" error during preview?
- How do I resolve the "There are properties not initialized" error during preview?
- What should I do if the error message "Node service error detected.Reinstall DevEco Studio to fix the error." is displayed during the Previewer startup?
- How do I resolve the white stripes appearing at the top and bottom of the preview window?
- What should I do if "JS heap out of memory" is reported during compilation?
- What should I do if "JavaScript heap out of memory" is reported during compilation in a Linux environment?
- What should I do if "The re-export name 'xx' need to be marked as type" is reported during compilation?
- What should I do if "Cannot find module XXX or its corresponding type declarations" is reported during compilation?
- What should I do if "ERROR: Failed:entry:default@CompileResource" is reported during compilation?
- What should I do if "Module 'xxx' has no exported member 'yyy'" is reported during compilation?
- What should I do if "Could not load ${file1} (imported by ${file2}): Maximum call stack size exceeded" is reported during compilation?
- What should I do if "Property xxx does not exist on type 'typeof BuildProfile'." is reported during compilation?
- What should I do if the PC does not respond during the C++ project compilation?
- What should I do if the build fails due to mismatch of the JDK version?
- What should I do if "LABEL_VALUE_ERROR" is reported?
- What should I do if "Schema validate failed" is reported?
- What should I do if "Schema validate failed" is reported during compilation?
- What should I do if "No available entry module found" is reported during compilation?
- What should I do if "keystore password was incorrect" is reported during compilation?
- What should I do if "please check deviceType or distroFilter/distributionFilter of the module" is reported during compilation?
- What should I do if "Failed to generate test project build system" is reported during build?
- Why does a third-party dependency library of a C/C++ project fail to be packaged into the HAP?
- Why does the files in the src/main/cpp directory of the Static Library module fail to be packaged into the HAR?
- What should I do if "The ArkUI-X project's structure has been changed" is reported?
- Why does an .ap file fail to be built using Target AOT?
- What should I do if "ArkTS:WARN: For details about ArkTS syntax errors" is reported during compilation and build?
- What should I do if "ninja: error: mkdir(xxx): No such file or directory" is reported during compilation?
- What should I do if "(is the command line too long?)" is reported during compilation?
- What should I do if "CMake Error: The following variables are used in this project, but they are set to NOTFOUND" is reported during compilation?
- What should I do if a Build Init error is reported when Hvigor and hvigor-ohos-plugin versions are changed during synchronization?
- Why does Build Init fail to find the dependency after which is configured when updating Hvigor?
- What should I do if "ERROR: Task xxx was not found in the project xxx" is reported during build?
- What should I do if "The reason and usedScene attributes are mandatory for user_grant permissions" is reported during compilation?
- What should I do if "Only one default card can be configured in the form_config.json file" is reported during compilation?
- What should I do if "In the form_config.json file, if the value of the updateEnabled field is true, the updateDuration and scheduleUpdateTime fields cannot be both empty" is reported during compilation?
- What should I do if "App Launch: To run and debug the Harmony device, configure the HarmonyOS runtime." is reported during compilation?
- What should I do if "Property 'XX' does not exist on type 'typeof BuildProfile'." is reported during compilation?
- What should I do if "Signing material error" is reported during compilation?
- How do I build a debug or release version without modifying build-profile.json5 file?
- How do I configure dynamic dependencies in oh-package.json5?
- What should I do if the .abc file cannot be executed due to SDK and image version mismatch?
- What should I do if the struct of a custom component does not support the get or set method for defining member variables?
- What should I do if the HAP is not signed when an application is packed into an .app file?
- How do I sign a new module online?
- How do I configure the DevEco Studio to debug the dynamic library?
- How do I configure a native C/C++ library in a project?
- How does a HAR file reference a .so file which locates in another HAR file?
- How do I set the files to be excluded in the compilation configuration?
- How do I add a custom task during compilation?
- What should I do if an include error is reported during compilation?
- How do I control the CPU usage during compilation?
- How do I export the dependency tree of a project from DevEco?
- How do I use an npm package in a custom Hvigor task?
- How do I write the compilation script of the HAR file?
- How do I customize multi-target and multi-product builds?
- Can I use self-developed plugins in DevEco Studio?
- What should I do if "Property xxx does not exist on type 'typeof BuildProfile' is reported during compilation?
- How do I perform preliminary performance analysis for DevEco Studio compilation and build?
- How do I resolve the issue that the DevEco Studio compiles HSP and closed-source HAR files slowly because the emit process takes a long time to generate a declaration file?
- How do I obtain the value in BuildProfile?
- Is it supported to read the BuildProfile on the native side?
- What should I do if exception occurs when I run the hdc file send command?
- What should I do if "Couldn't find hvigor/hvigor-wrapper.js" is reported during pipeline build?
- What should I do if an error is reported when sdkmgr downloads the development package in commandline-tools-linux during pipeline setup?
- What should I do if "Operation not permitted" is reported during compilation in DevEco Studio?
- How do I pass parameters using the command lines and obtain them using the extension plugin of Hvigor during compiling?
- What should I do if an error is reported when the signature is generating?
- How do I pass in signature information through build parameters?
- How do I exclude a specific kind of logs from DevEco Studio?
- How do I set the CPU architecture for compilation and packing?
- What should I do if "platform/OHOS to use this system, please post your config file on discourse.cmake.org so it can be added to cmake" is reported?
- What should I do if "Failed to request the remote SDK" is reported during pipeline build?
- How do I improve the code obfuscation rate?
- Is the LLVM on the HarmonyOS NDK changed? Does it support the reuse of some intermediate products?
- Does armeabi-v7a support Neon instruction extensions?
- What is the applicable scope of the ARM64, ARMv7, and x86_64 architectures respectively?
- What should I do if a static reference exception occurs after obfuscation?
- What should I do if "too many open files" is reported during compilation?
- How do I configure and optimize the oversized package size?
- How do I build an HAR in the release mode?
- What should I do if "Error while Deploy Hap" is reported when compilation is successful but installation fails?
- How do I execute shell scripts in a build task?
- What should I do if "no such file or directory, realpath 'xxx'" is reported during compilation?
- What should I do if the memory usage is too high during compilation?
- What should I do if "Duplicated files found in module entry. This may cause unexpected errors at runtime." is reported during compilation and build?
- How do I remove the error "Cannot read properties of undefined(reading 'XXX')"?
- How do I resolve the "Duplicated files found in module xxx. This may cause unexpected errors at runtime." error?
- How do I resolve the "input module releaseType is different" build error?
- How do I resolve the "debug is different" build error?
- How do I resolve the "proxy data is duplicated" build error?
- How do I resolve the "Init keystore failed: parseAlgParameters failed: ObjectIdentifier()" error?
- How do I resolve the "generate SignerBlock failed" error?
- How do I resolve the "java.io.IOException: DerValue.getOID, not an OID 49" error?
- How do I resolve the "A 'undefined symbol' error has occurred" error during C++ compilation?
- How do I resolve the "A 'unknown type name' error has occurred" error during C++ compilation?
- How do I resolve the "The path XX is not writable. Please choose a new location" error?
- How do I resolve the "The useNormalizedOHMUrl settings of packages xxx and the project useNormalizedOHMUrl: xxx do not match" error?
- How do I resolve the "Could not resolve 'xxx' from" error when the 'xxx' directory exists?
- What should I do if the user directory does not contain an .npmrc file?
- How do I resolve the "Error: 'icon' value `$media:icons` invalid value." error?
- How do I resolve the "Error: cJSON_Parse failed, please check the JSON file." error?
- How do I resolve the "Error: the name 'XXX' can only contain [a-zA-Z0-9_]" error?
- How do I resolve errors with require statements in third-party packages?
- How do I resolve the "Indexed access is not supported for fields(arkts-no-props-by-index)" error?
- How do I resolve the "Declaration merging is not supported (arkts-no-decl-merging)" or "Cannot redeclare block-scoped variable 'xxx'" error?
- How do I resolve the "The inferred type of 'xxx' cannot be named without a reference to 'xxx'. This is likely not portable. A type annotation is necessary." error?
- How do I resolve the "arkts-no-any-unknown" and "Cannot find module 'xx' or its corresponding type declarations" errors?
- How do I resolve the "ERROR: ArkTS Compiler Error ERROR: /bin/sh: "xxxx/es2abc": Operation not permitted" error?
- How do I resolve the "Cannot add xxxx items to index" error?
- How do I resolve the "resource busy or locked, open 'xxx\outputs\build-logs\build.log'" error?
- What should I do if the signing is intercepted when the dynamic library is loaded on macOS?
- Why can a file without a default export be imported as a default import without causing any compilation error?
- How do I resolve the "The service widget file contains one or more references to HSPs" error?
- How do I resolve the "The required attribute: module-name is missing" error?
- How do I resolve the "The required attribute module-srcPath is missing" error?
- How do I resolve the "The srcPath is not a relative path: xxx" error?
- How do I resolve the "Method setProperty validate failed in hvigorfile.ts" error?
- How do I resolve the "Cannot resolved import statement" error?
- How do I resolve the "The type of target device does not match the device type configured by module: xxx" error?
- How do I resolve the "useNormalizedOHMUrl can be true only when Compatible SDK Version is 5.0.0 (12) or later" error?
- How do I resolve the "The local dependency below in module %s is invalid." error?
- How do I resolve the "There are some dependency names that are inconsistent with the actual package names." error?
- How do I resolve the "Local dependency in parameterFile does not exist." error?
- How do I resolve the "Invalid form name 'xxx'." error?
- How do I resolve the "File 'string.json' is missing the required property 'string'." error?
- How do I resolve the "Invalid tag 'xxx' at 'xxx/xxx.json5'." error?
- How do I resolve the "The 'tag' keyword is not allowed for 'version' at 'xxx/oh-package.json5'." error?
- How do I resolve the "module.json5 file not found." error?
- How do I resolve the "The name of the 'xxx' module must be a string, but received a value of type 'xxx'." error?
- How do I resolve the "The version number of the module must be a string, but received a xxx." error?
- How do I resolve the "This project is in the FA model and does not allow for external dependencies." error?
- How do I resolve the "This project is in the stage model and does not allow for dependencies of modules in the FA model." error?
- How do I resolve the "Cannot depend on HAP modules outside of this project" error?
- How do I resolve the "Unrecognized archive format in parameterFile" error?
- How do I resolve the "The reason and usedScene attributes are mandatory for user_grant permissions." error?
- How do I resolve the "The reason attribute are mandatory for user_grant permissions." error?
- How do I resolve the "CMake task execution failed" error?
- How do I resolve the "Duplicate 'routerMap' object names detected." error?
- How do I resolve the "Failed to obtain the module type." error?
- How do I resolve the "The permission under requestPermissions must be a value that is predefined within the SDK or a custom one that you have included under definePermissions." error?
- How do I resolve the "The metadata field in FormExtensionAbility cannot be left blank or as an empty array." error?
- How do I resolve the "In FormExtensionAbility, metadata must contain an object with its name set to 'ohos.extension.form' and resource set to a second-level resource reference." error?
- How do I resolve the "byteCodeHar not supported when useNormalizedOHMUrl is not true." error?
- How do I resolve the "Duplicate 'Module-Abilities' object names detected." error?
- How do I disable all bytecode HAR configurations in a project?
- What should I do if the error message "Currently module for 'xxx.so' is not verified." is displayed when I use import { export } from 'xxx.so'; to import a .so file in a .ts file?
- What should I do if the error message "Ohos BundleTool [Error]: hsp has home ability;Ohos BundleTool [Error]: CompressEntrance::main exit, verify failed." is displayed during an HSP build?
- What should I do if the compilation error message "Error: open 'xxx\libimage_transcoder_shared.dll' failed" is displayed?
- What should I do if "Error message:cannot find record '&XXX/src/main/ets/YYY&x.y.z', please check the request path.'ZZZ.abc'." is reported when I deploy a package for debugging?
- What should I do if the command execution is suspended on the daemon startup log or the compilation error "ReferenceError, TransformStream is not defined in hvigorfile: XXX" is reported?
- What should I do if the "Cannot read properties of undefined (reading 'split')" message is displayed during compilation?
- What should I do if an error occurs during the compilation after react-native-openharmony is upgraded?
- What should I do if the error message "ENOENT: no such file or directory, uv_cwd" is displayed?
- What should I do if an error is reported when building an application for the ARKUI-X project in DevEco Studio 6.0.0 Beta1 and later versions?
- What should I do if an error message "EPERM: operation not permitted, symlink 'xxxxxxxx' -> 'xxxxxxx'......" is displayed on the console during the build process?
- What should I do if an error message "hvigor ERROR: Error: EINVAL: invalid argument, mkdir 'D:xxx\yyy\zzz\D:'/ 'C:xxx\yyy\zzz\C:at Object.mkdirSync (node:fs:1391:3)" is displayed?
- What should I do if resources in the ets directory cannot be loaded when creating a new project or module?
- How do I modify some source code for third-party SDK customization?
- What should I do if DevEco Studio crashes when multiple large HAP/HSP modules are compiled concurrently?
- How do I handle the compilation error "failed with:Exit code 0xc0000043"?
- What should I do if the login to DevEco Studio times out?
- What should I do if the Allow button is not displayed and browser does not redirect after entering a HUAWEI ID?
- What should I do if login failed after clicking the Allow button on the browser?
- What should I do if the website cannot be reached after I click Allow?
- What should I do if the browser window cannot be displayed during DevEco Studio login authorization?
- Can the same set of signing files be used by multiple people for debugging on different devices?
- What is the material folder generated after signing?
- What should I do if " hap-sign-tool:error:invalid CEN header (bad signature)" is reported during packing?
- What should I do if the keystore file is incompatible with the JDK version?
- What should I do if the password of the keystore file is incorrect?
- What should I do if the signing certificate file fails to be parsed?
- What should I do if the software package format is abnormal?
- What should I do if the signature verification fails?
- How do I sign the HAP or App Pack using DevEco Studio?
- What should I do if the debug signature configuration is abnormal?
- What should I do if the real-name authentication is required after login?
- What should I do if uninstalling an application on the local Emulator shows success, but it was not actually uninstalled?
- What should I do if "Failed to get the device apiVersion" is reported when a project is run on the local Emulator?
- What should I do if freezing occasionally occurs when local audio files are played on the Emulator?
- What should I do if the Emulator time is inconsistent with the system time?
- What should I do if the device cannot be identified after the Emulator is started?
- What should I do if "Hyper-V not enabled" is reported when the Emulator is started on a Windows PC?
- What should I do if the divider is not clear or displayed in the Settings of the Emulator or the List component?
- How do I access the local macOS HTTP service on the Emulator?
- What should I do if an error message is reported, indicating that libQt5Network.5.dylib cannot be opened because Apple cannot check whether the VM contains malware when the VM is started?
- What should I do if the application cannot be found after clicking Device Manager?
- What should I do if the Run button is always disabled on macOS after a file is modified on DevEco Studio?
- What should I do if the application crashes and exits when the Emulator is running?
- Why are image colors on the Emulator different from those on the real device?
- Why does macOS activity monitor show high memory usage of the Emulator?
- How do I increase the Emulator RAM?
- What are restrictions on using third-party C/C++ libraries on the Windows x86 Emulator?
- What should I do if the Emulator cannot connect to the Internet?
- How do I install a digital certificate for initiating HTTPS requests?
- How do I distinguish real devices from emulators in applications?
- What should I do if clicking the "New Emulator" button does not work?
- What should I do if the Windows x86 Emulator does not display the home screen?
- What should I do if the screen cannot be turned on in the Windows x86 Emulator?
- What should I do if "The system-image file is missing." is reported when the Emulator is started?
- How do I access files generated by an application running in the Emulator?
- What should I do if the audio would not play after the headset is removed and inserted during playback?
- What should I do if some videos cannot be played properly on the Emulator?
- What should I do if "insufficient memory" is reported when starting the Emulator on a Windows computer?
- What should I do if the network is abnormal when obtaining the template data in device manager and download the Emulator image?
- What should I do if the Emulator cannot connect to the Internet when multiple DNS servers exist?
- What should I do if breakpoints cannot be added during debugging?
- What should I do if a real device cannot be identified in DevEco Studio after it is connected?
- What should I do if running the "hdc list targets" command results in "[Empty]" after a real device is connected?
- What should I do if DevEco Studio fails to connect to the device after the ROM of the device is upgraded to 5.0.0.31 or later?
- What should I do if "Provision number exceeds limit" is displayed during automatic signing of a HarmonyOS application?
- What should I do if "Unsupported restricted ACL permission exist in the configuration" is displayed during automatic signing of a HarmonyOS application?
- What should I do if "TypeError: Cannot read property xxx of undefined" is displayed during runtime?
- What should I do if "compatibleSdkVersion and releaseType of the app do not match the apiVersion and releaseType on the device." is displayed during HAP installation?
- What should I do if "error: failed to start ability" is displayed during HAP installation?
- What should I do if "error: unlock screen failed in developer mode" is displayed during HAP installation?
- What should I do if "Waiting for application to come online notification" is displayed when debugging is started?
- What should I do if error messages related to stack trace analysis for release applications are displayed?
- What should I do if no ASan log is generated when an entry module references a local library?
- What should I do if "Hdc server port XXXX has been used" is displayed during running the HAP?
- What should I do if Hot Reload is not supported after code modification?
- What should I do if hot reload fails to be executed?
- What should I do if "Failed to connect to unix-abstract-connect" is displayed when C++ debugging is started?
- How do I use DevEco Studio to debug C/C++ code breakpoints?
- How do I export screenshots from a device to a local PC?
- What should I do if the application fails to be automatically signed, and the message "calibrate the system time and sign again" is displayed?
- How do I forcibly restart a device?
- What should I do if the network unit test case crashed?
- What should I do if lldb-server cannot be connected during native debugging?
- What should I do if "FileTransfer Failed: Error while Deploy Hap" is displayed during HAP installation on DevEco Studio?
- What should I do if "FileTransfer Failed: [Fail]Error opening file: no such file or directory" is displayed during HAP installation on DevEco Studio?
- What should I do if "FileTransfer Failed: [Fail]Error opening file: operation not permitted" is displayed during HAP installation on DevEco Studio?
- What should I do if "FileTransfer Failed: [Fail]Transfer Stop at:XXX, Reason: no space left on device" is displayed during HAP installation on DevEco Studio?
- What should I do if the error message "hap path error" is displayed during application running?
- What should I do if the parallel stack pane is blank when I am using the native debugging stack visualization feature?
- How do I configure DevEco Studio to ignore the assert signal caught by raise?
- How do I ensure user information stored in Preferences is not cleared after each run?
- How do I resolve the occasional connection timeout issue between ArkUI Inspector and an application?
- What should I do if attach and incremental debuggings fail on 2-in-1 devices?
- What should I do if the recording of a Profiler analysis task fails?
- What should I do if historical data fails to be imported?
- What should I do if DevEco Studio cannot run properly due to high memory usage?
- What should I do if application performance deteriorates after stability stress testing?
- How do I obtain native code information for Allocation recordings in Profiler?
- What should I do if the Profiler window fails to load?
- What should I do if an exception occurs when I enable lane recording for a wearable device using DevEco Profiler?
- What should I do if no data is displayed on the Load ETS Files and TOP Redundant tabs of the Details page of the Launch lane in DevEco Profiler?
- What are the possible causes of application check failure on MacOS X86_64?
- What should I do if the navigation of the diagnosis result code line of the health check tool is inaccurate?
- How do I avoid versioning prompts when using git after using AppAnalyzer?
- What should I do if "No Data" is displayed in trace-related lanes when Profiler is used to record data on macOS?
- What should I do if there is no data in the OpenGL ES sub-lane within the Graphic Memory lane when recording the Allocation template on a PC device?
- How can I view the memory information of the TaskPool thread during Snapshot template recording?
- What should I do if the memory of the Memory lane is different from that of the Native Allocation lane when recording the Allocation template?
- What should I do if the indicator detection value cannot be clicked to start the profiler?
- What should I do if test tasks fail to be executed after DevEco Studio is upgraded?
- What should I do if the task result tree is always in the loading state when a test case is run?
- What should I do if "container is not running" is displayed?
- What should I do if an error is reported and a blank screen is displayed after a UI test case times out?
- What should I do if test cases fail to be executed when the original project is opened using the new DevEco Studio version?
- What should I do if the stack path is incorrectly printed when the instrument test is executed using a command?
- What should I do if a cppcrash is reported during the test run because the ohosTest file references the method of the entry module?
- How do I resolve the "Load Page Failed: pages/Index" error that occurs when the ohosTest file references the exported method of the startup page?
- What should I do if an error is reported when the Python dependency is installed in DevEco Studio AppAnalyzer?
- How do I install Python on macOS without modifying environment variables?
- What should I do if recording fails and no recording file is generated?
- What should I do if recording succeeded but the playback effect did not meet expectations?
- What should I do if "No app with the specified package name is found under the team." is displayed during software package upload?
- What should I do if the message "tar.exe: Tool-small extra data: Need at least 4 bytes, but only found 1 bytes" is displayed when the application UI generates a plug-in and decompresses the .apk file?
- What should I do if a private key error occurs during publishing through Git Bash?
- How do I manage the uploaded packages after a private repository setup using ohpm-repo?
- What should I do if "ohpm ERROR: EINSTALL install failed, Error: Dependency node build failed Install failed" is displayed in DevEco Studio during compilation?
- What should I do if "decrypt data failed. error: Unsupported state or unable to authenticate data" is displayed when ohpm-repo uses the mysqlDB plugin to connect to MySQL?
- What should I do if "ohpm ERROR: JSON5: invalid end of input at 1:1" is displayed?
- What should I do if the system indicates that the package cannot be pushed again within 24 hours after I removed a component by mistake?
- What should I do if the modification of upload_max_times does not take effect in the ohpm private repository?
- What should I do if "The version field: 12.5.0.0-20-dev in the oh-package.json5 file does not satisfy the SemVer specification" is displayed when ohpm is used to release a HAR?
- How do I check for the HAR version conflicts in a project?
- What should I do if "the content of private key in the key_path error" is displayed when the ohpm publish command is executed in Git Bash?
- What should I do if "The publishId is invalid!" is displayed when the ohpm uploads a HAR file?
- How do I use ohpm to import third- and fourth-party libraries?
Does a time-consuming background operation of a UIAbility affect the onForeground lifecycle of another UIAbility?
- Different UIAbility lifecycles are independent of each other. The operations of one UIAbility do not affect the lifecycle of another UIAbility.
- In the lifecycle of a UIAbility, time-consuming operations will trigger system monitoring and cause the application to freeze or become unresponsive. During application development, you should use asynchronous methods to process time-consuming operations to prevent the UIAbility lifecycle from being affected.