java - How to install and use db4o for Android? - Stack Overflow

2 down vote favorite 4

I have to admit that I'm new to Java and Android. db4o seems to be an excellent DB framework to replace SQLite http://developer.db4o.com/Platforms/Java/Android.aspx. I want to use it for my Android application. I don't know how to: Import/Install/Attach/Upload db4o to Android phone. Where should I put the JAR file db4o-7.12.132.14217-all-java5.jar so that it was uploaded to Android phone and it could be called from the application? Please kindly advise! Many thanks!!!

EDIT

In addition to the answer, here goes the official documentation: http://developer.db4o.com/Documentation/Reference/db4o-7.4/net2/reference/html/reference/platform_specific_issues/android.html

java android persistence db4o
share | edit | flag edited Apr 9 '10 at 12:58 asked Apr 9 '10 at 11:22 Viet
3,245 6 35 79
87% accept rate

1 Answer

active oldest votes
up vote 4 down vote accepted

Put it anywhere you like, maybe make a new directory 'libs' in your application root and add it there. Then go to Project->Properties->Java Build Path->Add External JARs, and select this file.

The imports should now work. Eclipse will prompt you with the lightbulb in the left margin when you start using the classes, to add an import automatically.

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. android中轮播图的实现
  2. OpenCV自学笔记31. Android 上使用jni和o
  3. 自定义Android(安卓)Toasts风格
  4. Android开发——了解android项目目录结构
  5. 58同城android客户端手机号码解密方法
  6. Android开发FAQ之二
  7. Android Robotium的几个小tips
  8. ORB_SLAM2移植到Android,完整配置+填各种
  9. androidstudio使用kotlin开发APP
  10. Android开发常见“疑难杂症”解决方案汇