Code Labs
Due to the current limitations of DevEco Studio for OpenHarmony, only a limited number of application sample demos are available.
Available application samples for OpenHarmony with DevEco Studio 4.1(API 9/API 11):
- Guess Number
- Time Around World
- Super Bright Flashlight
- Bmicalculator
- Workout Logbook
- Quote Of The Day
- Water Tracker
- Magic8Ball
- Throw The Dice
The following apps are recommended to use real device, if you are not familar with runing application on real device, follow the instruction Running Application on Real Device
If you have any problem when building the application, check Common Problems
- Discord
- Gmail
- Youtube
- PlayScout
- Unit Converter
- Pokemon List
- Pinwheel
- MyList
- Duolingo
- MyMeteo
- OniroNews
- OniroGPT(This app you need to get your own token)
Common Problems
install failed due to grant request permissions failed
We need to change application permission level
Solution:
1. Open the directory where the OpenHarmony SDK is located (you can view it by clicking Tools > SDK Manager > OpenHarmony SDK in the DevEco Studio menu bar).
-
Navigate to the Toolchains > {Version} > lib folder under the SDK directory, and open the
UnsignedReleasedProfileTemplate.json
file. -
Change the parameter in
bundle-info
as following:
Note
If switching the system permissions does not work, try regenerating the automatic signature files.