[英]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. 您可以在应用中使用Google Calendar API Java客户端库来插入新日历。
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. 如果您使用Gradle,则可以将
compile 'com.google.api-client:google-api-client:1.18.0-rc'
依赖项,以获取客户端库。
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.
插入新日历后,可以使用Calendar Provider 检索新日历 ,或使用Google Calendar API的GET方法检索新日历。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.