CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 数据库系统 其他数据库

文件名称:GreenDaoDemo

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2015-01-17
  • 文件大小:
    3.48mb
  • 已下载:
    1次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

SQL LITE對於在開發程式的性能進行最佳化。由於程式中有涉及到了大量的緩衝存取處理以及資料庫的運用,所以需要對資料庫做讀寫、查詢等操作,內容繁雜。因此首先我所想到的就是對整個程式的資料庫做更好的方式去執行。

原先使用我們是要用android本身內置的SQL LITE來做撰寫,也就是使用的最基本的SQLiteOpenHelper的方法,這種方法對我們來說比較方便也比較容易懂。但是實際在使用過程中感覺到很繁瑣,從一開始的建立表一直到對表的增加,修改,查詢,刪除等操作,那就更別提到要交叉查詢了,想是我們如果表的對象的屬性很多,就需要使用到很大量的代碼來進行執行建表、插入等。在代碼執行中還需要對資料庫和指標的進行及時關閉(開啟使用,用完關閉),而且還需要部分SQL語言,這在開發中產生BUG進行調試時尤其不方便。

  後來就在網路上查詢了android經常用的orm框架主要有greenDAO、OrmLite、AndrORM。綜合了網上的各種評價以及學長的建議使用greenDAO,greenDAO的運行效率最高,內存消耗最少,性能最佳。因此決定採用greenDAO框架,對項目的orm框架進行改進。-SQL LITE for performance in the development program will be optimized. Because the program has involved the use of a buffer to a large processing and access, so they need to do to read and write , query and other operations, the content complicated. So first of all I think of is the repository for the entire program to do a better way to do it. We use the original android itself using the built-in SQL LITE do write, which is the most basic way to use SQLiteOpenHelper, this method is more convenient for us, but also relatively easy to understand. But in the course of the actual feel very cumbersome, the beginning has been to increase the establishment of the table to the table, modify, query, delete operation, let alone to have to cross-check it, and think it is our object if the table' s Many attribute, you need to use very large amounts of code to  construction of the table, insert and so on. In the code needed to carry out the execution repository and timely indicators closed (
(系统自动生成,下载前可以参看下载内容)

下载文件列表

GreenDaoDemo/GreenDaoSimpleDemo/.classpath
GreenDaoDemo/GreenDaoSimpleDemo/.project
GreenDaoDemo/GreenDaoSimpleDemo/AndroidManifest.xml
GreenDaoDemo/GreenDaoSimpleDemo/bin/5_0_GreenDaoReview_Android.apk
GreenDaoDemo/GreenDaoSimpleDemo/bin/AndroidManifest.xml
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/activity/MainActivity.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/adapter/ListViewAdapter$ViewHolder.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/adapter/ListViewAdapter.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/db/bean/DaoMaster$DevOpenHelper.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/db/bean/DaoMaster$OpenHelper.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/db/bean/DaoMaster.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/db/bean/DaoSession.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/db/bean/Person.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/db/bean/PersonDao$Properties.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/db/bean/PersonDao.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/db/utils/DaoUtils.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/greendao/BuildConfig.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/greendao/R$attr.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/greendao/R$dimen.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/greendao/R$drawable.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/greendao/R$id.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/greendao/R$layout.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/greendao/R$menu.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/greendao/R$string.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/greendao/R$style.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/greendao/R.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/greendaodemo/BuildConfig.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/greendaodemo/R$attr.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/greendaodemo/R$dimen.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/greendaodemo/R$drawable.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/greendaodemo/R$id.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/greendaodemo/R$layout.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/greendaodemo/R$menu.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/greendaodemo/R$string.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/greendaodemo/R$style.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes/com/example/greendaodemo/R.class
GreenDaoDemo/GreenDaoSimpleDemo/bin/classes.dex
GreenDaoDemo/GreenDaoSimpleDemo/bin/dexedLibs/android-support-v4-6b57ca588d1d4d40966b4b5ca773741b.jar
GreenDaoDemo/GreenDaoSimpleDemo/bin/dexedLibs/android-support-v4-6e57f0c475f297fc2d4a0b5902a8b890.jar
GreenDaoDemo/GreenDaoSimpleDemo/bin/dexedLibs/android-support-v4-ec868b64e122ad13ff2474647e799db6.jar
GreenDaoDemo/GreenDaoSimpleDemo/bin/dexedLibs/greendao-1.3.7-48d51901971ead9137d2c11624565321.jar
GreenDaoDemo/GreenDaoSimpleDemo/bin/dexedLibs/greendao-1.3.7-77d68615cf6a6d9b743affd1862aa6b6.jar
GreenDaoDemo/GreenDaoSimpleDemo/bin/dexedLibs/greendao-1.3.7-ce3072085e46456858f390b1df80cd0f.jar
GreenDaoDemo/GreenDaoSimpleDemo/bin/Gaoji_5_0_GreenDaoReview_Android.apk
GreenDaoDemo/GreenDaoSimpleDemo/bin/GreenDaoSimpleDemo.apk
GreenDaoDemo/GreenDaoSimpleDemo/bin/jarlist.cache
GreenDaoDemo/GreenDaoSimpleDemo/bin/res/crunch/drawable-hdpi/ic_launcher.png
GreenDaoDemo/GreenDaoSimpleDemo/bin/res/crunch/drawable-mdpi/ic_launcher.png
GreenDaoDemo/GreenDaoSimpleDemo/bin/res/crunch/drawable-xhdpi/ic_launcher.png
GreenDaoDemo/GreenDaoSimpleDemo/bin/res/crunch/drawable-xxhdpi/ic_launcher.png
GreenDaoDemo/GreenDaoSimpleDemo/bin/resources.ap_
GreenDaoDemo/GreenDaoSimpleDemo/gen/com/example/greendao/BuildConfig.java
GreenDaoDemo/GreenDaoSimpleDemo/gen/com/example/greendao/R.java
GreenDaoDemo/GreenDaoSimpleDemo/gen/com/example/greendaodemo/BuildConfig.java
GreenDaoDemo/GreenDaoSimpleDemo/gen/com/example/greendaodemo/R.java
GreenDaoDemo/GreenDaoSimpleDemo/ic_launcher-web.png
GreenDaoDemo/GreenDaoSimpleDemo/libs/android-support-v4.jar
GreenDaoDemo/GreenDaoSimpleDemo/libs/greendao-1.3.7.jar
GreenDaoDemo/GreenDaoSimpleDemo/proguard-project.txt
GreenDaoDemo/GreenDaoSimpleDemo/project.properties
GreenDaoDemo/GreenDaoSimpleDemo/res/drawable-hdpi/ic_launcher.png
GreenDaoDemo/GreenDaoSimpleDemo/res/drawable-mdpi/ic_launcher.png
GreenDaoDemo/GreenDaoSimpleDemo/res/drawable-xhdpi/ic_launcher.png
GreenDaoDemo/GreenDaoSimpleDemo/res/drawable-xxhdpi/ic_launcher.png
GreenDaoDemo/GreenDaoSimpleDemo/res/layout/activity_main.xml
GreenDaoDemo/GreenDaoSimpleDemo/res/layout/items.xml
GreenDaoDemo/GreenDaoSimpleDemo/res/menu/main.xml
GreenDaoDemo/GreenDaoSimpleDemo/res/values/dimens.xml
GreenDaoDemo/GreenDaoSimpleDemo/res/values/strings.xml
GreenDaoDemo/Gree

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com