6 Star 6 Fork 16

OpenHarmony / applications_calendar_data

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 2.69 KB
一键复制 编辑 原始数据 按行查看 历史
zcl 提交于 2023-07-18 21:58 . readme修改

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.

C/C++
1
https://gitee.com/openharmony/applications_calendar_data.git
git@gitee.com:openharmony/applications_calendar_data.git
openharmony
applications_calendar_data
applications_calendar_data
master

搜索帮助