简体   繁体   English

可以在内置的Android日历中添加按钮吗?

[英]Possible to add a button to the built-in android calendar?

I don't know if this is even possible, but what i want to do is this: When the user enters the android calendar and opens the "add new event", i want to add an extra button inside the built-in "new event" activity. 我不知道这是否有可能,但是我想做的是:当用户输入android日历并打开“添加新事件”时,我想在内置的“新建”中添加一个额外的按钮事件”活动。 Is this possible? 这可能吗?

If not, is it possible for me to run my own implementation of "add new event" instead of the built-in one? 如果不是,我是否可以运行自己的“添加新事件”实现而不是内置事件?

I am new when it comes to working with android calendars, so i dont really know how to do it, if it is even possible. 关于Android日历,我是新手,所以即使可能,我也不知道该怎么做。 If it is possible, i would be really gratefull for some basic code-examples :) 如果可能的话,我将非常感谢一些基本的代码示例:)

Thanks 谢谢

The answer to your first question is NO, you cannot add a button the the calendar app (simply because it is a google proprietary app). 第一个问题的答案为否,您无法在日历应用中添加按钮(仅仅是因为它是Google专有应用)。 A solution, more clear and secure, is to develop a thirdy-part application that uses the Google Calendar API , and interface your app with the google's calendar app and it can adds the particular button (with its particular operation). 一种更清晰和安全的解决方案是开发一个使用Google Calendar API的第三方应用程序,并将您的应用程序与Google的日历应用程序接口,然后可以添加特定的按钮(具有其特定的操作)。

This is a sample application . 这是一个示例应用程序

More info are on Google Developers Site , it is very well documented 有关更多信息,请访问Google Developers网站 ,该文档已被很好地记录在案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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