android - 如何从源代码编译 google android Gingerbread 日历应用程序?

标签 android android-calendar

我正在尝试从找到的源代码编译谷歌日历应用程序 here .

android版本为Gingerbread Level 10。

我在eclipse上导入了项目,但是貌似有多个android源码的引用,没有编译,例如:

import dalvik.system.VMRuntime;
import android.provider.Calendar.Events;

我一直在网上搜索,但到目前为止没有任何帮助。 我在哪里可以找到包含所有这些类的 jar ?有什么解决方法吗?

最佳答案

AOSP 应用不是 SDK 应用。它们被设计为作为完整操作系统构建的一部分构建。可以在 the AOSP site 上找到相关说明。 .

或者,欢迎您做其他人已经做过的事情(例如,K-9 邮件的原始作者,源自 AOSP 电子邮件应用程序)并修改日历应用程序的源代码以删除任何非SDK 引用,可能以丢失某些功能为代价。

关于android - 如何从源代码编译 google android Gingerbread 日历应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17051211/

相关文章:

java - 使用 Android 日历的 setMinDate() 时出现 StackOverflowError

android - 计算从现在开始的某个时期的日期

java - 打开跟踪文件 : No such file or directory(2) (1) no such table: ContactListTable Tried for hours can't find solution 时出错

android - Activity 已泄露 ServiceConnection com.android.org.chromium.com.googlecode.eyesfree.braille.selfbraille.SelfBrailleClient$Connection

android - 如何将条目(指向 Activity )添加到 "Home Screen -> Menu -> Add-> Shortcuts"?

Android 日历时区不随 CalendarContract 改变

java - 获取两个日期之间的所有周开始日期

java - TextView 中的 SQLite 数据库问题

安卓 : how to reload custom markers once the image is downloaded via Picasso?

android - SQLite : Exception:unknown error (code 14): Could not open database