openharmony_ci daf262817b !276 fix code warning
Merge pull request !276 from 小城茶语/master
2025-08-30 07:19:56 +00:00
2025-08-30 07:19:56 +00:00
2024-12-18 17:13:14 +08:00
2025-02-04 11:29:51 +08:00
2024-12-18 17:13:14 +08:00
2024-12-18 17:13:14 +08:00
2023-07-13 15:55:27 +08:00
2024-12-18 17:13:14 +08:00
2024-12-18 17:13:14 +08:00
2023-11-25 11:14:44 +08:00
2023-07-13 15:55:27 +08:00
2023-07-13 15:55:27 +08:00
2025-07-23 03:04:04 +00:00
2025-07-05 11:52:40 +08:00
2023-07-13 15:55:27 +08:00
2023-07-13 15:55:27 +08:00
2023-07-13 15:55:27 +08:00
2023-10-26 06:03:00 +00:00
2024-12-18 17:13:14 +08:00
2023-07-18 21:56:17 +08:00
2023-07-18 21:58:56 +08:00

CalendarData

Introduction

CalendarData is a preset application in OpenHarmony. It allows users to add, delete, modify, and query calendars.

Directory Structure

├─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

Architecture

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.

How to Use

Building based on IDE

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.

Building based on OpenHarmony version

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.

Constraints

  • 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.

S
Description
日历存储应用及SDK
Readme 2.1 MiB
Languages
C++ 98.9%
JavaScript 0.9%
TypeScript 0.2%