简体   繁体   中英

Create sub-calendar in android primary google calendar account in android

我想从主要Google日历帐户发送请求,以使用Android中的Google API(以编程方式)创建子日历(称为朋友的日历)。

You can use Google Calendar API Java Client Library in your app to INSERT a new calendar.

If you use Gradle, you can put compile 'com.google.api-client:google-api-client:1.18.0-rc' in dependencies to get the client library.

You can follow this example to insert a new calendar. After you insert a new calendar, you can use Calendar Provider to retrieve the new calendar , or use Google Calendar API's GET method to retrieve the new calendar.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM