Questions tagged [harmonyos]

HarmonyOS is a family of operating systems developed by Huawei to developer as part of the initiatives for the all-scenario strategy, adaptable to mobile office, fitness and health, social communication, and media entertainment, to name a few. HarmonyOS is built on a distributed architecture designed based on a set of system capabilities. It is able to run on a wide range of device forms, including mobile phones, tablets, wearables, smart TVs, head units.

131 questions
1
vote
1 answer

Application for lite wearable (huawei gt2 pro) works on the simulator and preview, but crashes on the device

Please help, I have been trying to solve the problem for 2 days. I am writing an application for a lite wearable watch (huawei gt2 pro), the application works on the simulator and preview, but crashes on the device. index.js export default { …
nixoid
  • 15
  • 4
1
vote
1 answer

I have an app created in expo that does not show the map on huawei devices, how can I fix this?

With the addition of HarmonyOS, the map that is from google is not available for Huawei devices. If I add the map that Huawei created for its devices, it will not be compatible with Android. Any ideas?
1
vote
1 answer

Dev Eco Studio Build error : mirrors.tools.huawei.com: nodename nor servname provided, or not known

I used the VCS option to import a harmonyOs project from gitee to my Dev Eco Studio and the build failed due to the above errors , please help me resolve it Gitee(link of the repo which i was trying to…
1
vote
1 answer

The Huawei Account Kit is integrated into the my Harmony app. After the fingerprint is set, still get error code 6003

Error 6003 is reported when the API of the account kit is called for sign-in, and The certificate fingerprint has been configured on the AGC, still get error code 6003. Here's the log: 11-02 10:18:01.407 2876-4650/com.example.hellohuawei I…
1
vote
0 answers

How can I run my application on a Huawei Phone with DevEco Studio?

I would like to use a Huawei phone emulator but the simulator only shows Tablet, TV and Smartwatch. It seems very strange to me that the most common device is the Telephone and and that is not available. DevEco Studio Version: 1.2.0.501
1
vote
2 answers

How to run task using Thread in Background

I wanted to do some task in the background like in android we can use AsyncTask to do some work using UI thread, in Harmony we have EventHandler which allows us to send and process InnerEvent and Runnable objects on asynchronous threads. I just want…
1
vote
1 answer

How to pass ability in Harmony using Intent

I was trying to pass ability like we pass in android Intent intent = new Intent(HomeActivity.this, cls); But in Harmony we have to use operation builder so used this method intent = new Intent(); Operation operation = new…
1
vote
2 answers

How to get rid of/resolve "invalid" status of emulator in DevEcoStudio

In order to test any HMOS app in the emulator in DevEcoStudio IDE, we have to the emulator via Tools->Device Manager. Seldom, devices show "invalid" status due to which cannot launch the emulator. It stays in the same state for longer, sometimes for…
Kanak Sony
  • 1,570
  • 1
  • 21
  • 37
1
vote
1 answer

Reference of drawable and drawable idrtl in Android Studio in DevEco?

Are 'drawable' and 'drawable Idrtl' under "res" in Android Studio the same as "graphic under resources" in DevEco Studio ? Below Attached images are as references: 1. 2.
1
vote
2 answers

How to check if the device is connected to internet and Connection type in Harmony Os

I was trying to check if the device is connected to internet and what is the network type. Here is an example of how we check it in android public boolean isConnectingToInternet(Activity act){ boolean isthere = false; …
1
vote
2 answers

How to code an app in Huawei GT 2 Pro wear to always keep on the screen active?

I investigated and Although I read documentations of Huawei Wear Engine, I couldn't find any things. I knows this I should change power or keep-on setting but I did not find anthing. Even I know implementing a service to will affect system…
1
vote
1 answer

What is the alternative method in Harmony OS for ViewParent.requestDisallowInterceptTouchEvent() in Android OS?

I am writing a class in JAVA to port a library from Android to Harmony OS. In the Android code given below, getParent() returns a ViewParent interface of the corresponding view view.getParent().requestDisallowInterceptTouchEvent(true); Now, the…
1
vote
2 answers

Intent and Serialization in DevEco

While creating a user info card in DevEco Studio we need to begin with empty ability or anything else ? If we begin with empty ability , there's already an intent present, creating a new one shows error !
1
vote
1 answer

While setting up DevEco I am not able to set the HarmonyOS SDK path, What is the issue?

While setting up DevEco I am not able to set the HarmonyOS SDK path, What is the issue?
1
vote
1 answer

I am not able to set the path, where to save my project. It is giving some errors

I am not able to set the path, where to save my project. It is giving some error. Can anyone help me with what the issue is?
1 2 3
8 9