很简单,将iCal4j库的jar包以及其dependencies的jar包加到Android工程的lib目录下即可:

  • iCal4j包

下载:http://build.mnode.org/snapshots/org/mnode/ical4j/ical4j/

当前最新版本是ical4j-1.0.2

也可以下载代码自己编译:http://ical4j.hg.sourceforge.net/hgweb/ical4j/ical4j/

当前最新版本是ical4j-1.0.3

  • backport-util-concurrent包

下载:http://backport-jsr166.sourceforge.net/

当前最新版本是3.1

  • commons-lang 2.x包

下载:http://commons.apache.org/lang/download_lang.cgi

当前最新版本是commons-lang-2.6

  • commons-codec包

下载:http://commons.apache.org/codec/download_codec.cgi

当前最新版本是commons-codec-1.6

  • commons-logging包

下载:http://commons.apache.org/logging/download_logging.cgi

当前最新版本是commons-logging-1.1.1

注意:commons-lang一定要是2.x版本,而不是最新的3.x版本。

参考:

http://wiki.modularity.net.au/ical4j/index.php?title=Android

http://ical4j.hg.sourceforge.net/hgweb/ical4j/ical4j-android-test/

http://code.google.com/p/caldav4j/source/browse/android/Android.mk

http://code.google.com/p/ical4android/

http://wiki.modularity.net.au/ical4j/index.php?title=FAQ

Q. Does iCal4j work with Android? I tried using it in my Android project but I get a "verifier rejected class" error.

A. iCal4j does seem to work with Android, however you must remember to include the following iCal4j dependencies in addition to the iCal4j library:

  • commons-lang
  • commons-logging (Possibly optional - due to unofficial inclusion with Android)
  • commons-codec (Possibly optional - due to unofficial inclusion with Android)

更多相关文章

  1. android版本更新功能
  2. Android中获取当前屏幕的尺寸大小
  3. Mono for Android(安卓)设计器错误:Disconnected from layout ren
  4. Ubuntu下android源码下载
  5. Android(安卓)控件之DatePicker,TimePicker,Calender
  6. android adb bundle下载
  7. CyanogenMod开源代码
  8. Android中的DownloadManager
  9. android.os.NetworkOnMainThreadException

随机推荐

  1. Android上多进程中使用webview的问题
  2. 通过网络使用ADB ( Connect to android w
  3. 解析Android消息处理机制:Handler/Thread/
  4. android添加WMS图层
  5. RecyclerView 局部更新
  6. android之Tween动画
  7. android滑动之Scroller
  8. [Android] Json格式解析和文字图片传输
  9. android正则并不完全兼容java正则
  10. android背景选择器selector用法汇总