CalendarData is a preset application in OpenHarmony. It allows users to add, delete, modify, and query calendars.
├─AppScope
│ │
│ └─resources # Resource files
├─common
│ │
│ └─src
│ └─main
│ └─ets # Common methods
├─datamanager
│ └─src
│ └─main
│ └─ets # Data manager
├─dataprovider
│ └─src
│ └─main
│ └─ets # Data manager proxy
├─datastructure
│ └─src
│ └─main
│ └─ets # Data structure
├─entry
│ └─src
│ └─main # Application entry
├─rrule
│ └─src
│ └─main
│ └─ets # Recurrence rule
└─signature # Certificate file
As a built-in basic application, Calendar implements basic user operations such as querying daily and monthly views and creating and querying calendars. The Calendar APIs provide SQL-free, object-based data read and write capabilities. CalendarData manages calendars, reminders, and data.
Open a project in DevEco Studio and choose Build > Build Haps(s)/APP(s) > Build Hap(s).
After the build is complete, a HAP file is generated in \build\outputs in the project directory. (If no signature is configured, an unsigned HAP file is generated.)
Run the hdc_std install "hap package address" command to install the compiled HAP file.
In the root directory of the OpenHarmony source code, run the following command to build the CalendarData separately:
./build.sh --product-name rk3568 --ccache --build-target calendar_data
NOTE
--product-name specifies the product name, for example, rk3568.
--ccache specifies the cache function used during the compilation.
--build-target specifies the component to build.
Development environments
DevEco Studio for OpenHarmony: version later than 3.1.1.101
OpenHarmony SDK: API version 10
For details about the initial DevEco Studio configuration, see the DevEco Studio usage document.
Programming language
ArkTS
Limitations
This application can only be run on standard-system devices.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。