找回密码
 立即注册
SQLiteDemodatabase数据库源码 | 数据库编程 2022-10-29 81 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
项目中首要包括如下一个首要的文件:1、DbNews.java与数据库及数据库表对应的类,包括内部类News,与news表对应。首要提供列名引用及对表的封装。2、DBHelper.java封装的数据库操作类,包括对数据库的多种操作。其内部类DBOpenHelper承继自SQLiteOpenHelper,担任数据库的创建、升级等。初始化数据库的同时存入了5条记录。3、SQLiteDemo.java承继自ListActivity,关于显示数据库中的记录。4、SeeDetailNews.java关于显示每一条详细的记录。5、布局文件不再介绍。本资料共包括以下附件:
源码的数据库实例\SQLiteDemo\bin\com\kf\sqlite\DBHelper$DBOpenHelper.class
带源码的数据库实例\SQLiteDemo\bin\com\kf\sqlite\DBHelper.class
带源码的数据库实例\SQLiteDemo\bin\com\kf\sqlite\DbNews$News.class
带源码的数据库实例\SQLiteDemo\bin\com\kf\sqlite\DbNews.class
带源码的数据库实例\SQLiteDemo\bin\com\kf\sqlite\R$attr.class
带源码的数据库实例\SQLiteDemo\bin\com\kf\sqlite\R$drawable.class
带源码的数据库实例\SQLiteDemo\bin\com\kf\sqlite\R$id.class
带源码的数据库实例\SQLiteDemo\bin\com\kf\sqlite\R$layout.class
带源码的数据库实例\SQLiteDemo\bin\com\kf\sqlite\R$string.class
带源码的数据库实例\SQLiteDemo\bin\com\kf\sqlite\R.class
带源码的数据库实例\SQLiteDemo\bin\com\kf\sqlite\SeeDetailNews$1.class
带源码的数据库实例\SQLiteDemo\bin\com\kf\sqlite\SeeDetailNews.class
带源码的数据库实例\SQLiteDemo\bin\com\kf\sqlite\SQLiteDemo.class
带源码的数据库实例\SQLiteDemo\bin\classes.dex
带源码的数据库实例\SQLiteDemo\bin\resources.ap_
带源码的数据库实例\SQLiteDemo\bin\SQLiteDemo.apk
带源码的数据库实例\SQLiteDemo\gen\com\kf\sqlite\R.java
带源码的数据库实例\SQLiteDemo\res\drawable-hdpi\icon.png
带源码的数据库实例\SQLiteDemo\res\drawable-ldpi\icon.png
带源码的数据库实例\SQLiteDemo\res\drawable-mdpi\icon.png
带源码的数据库实例\SQLiteDemo\res\layout\detail_views.xml
带源码的数据库实例\SQLiteDemo\res\layout\main.xml
带源码的数据库实例\SQLiteDemo\res\values\strings.xml
带源码的数据库实例\SQLiteDemo\src\com\kf\sqlite\DBHelper.java
带源码的数据库实例\SQLiteDemo\src\com\kf\sqlite\DbNews.java
带源码的数据库实例\SQLiteDemo\src\com\kf\sqlite\SeeDetailNews.java
带源码的数据库实例\SQLiteDemo\src\com\kf\sqlite\SQLiteDemo.java
带源码的数据库实例\SQLiteDemo\.classpath
带源码的数据库实例\SQLiteDemo\.project
带源码的数据库实例\SQLiteDemo\AndroidManifest.xml
.....

(The project mainly includes the following documents: 1. DbNews Java is the class corresponding to the database and database table, including the internal class News, which corresponds to the news table. It mainly provides column name reference and table encapsulation. 2、DBHelper. Java encapsulated database operation class, including multiple operations on the database. Its internal class DBOpenHelper is inherited from SQLiteOpenHelper and serves as the creation and upgrade of databases. Five records are stored while initializing the database. 3. SQLiteDemo.java, inherited from ListActivity, is about displaying records in the database. 4、SeeDetailNews. Java displays each detailed record. 5. Layout files are no longer introduced. This document includes the following annexes:
Database instance with source code  SQLiteDemo  bin  com  kf  sqlite  DBHelper $DBOpenHelper.class
Database instance with source code  SQLiteDemo  bin  com  kf  sqlite  DBHelper.class
Database instance with source code  SQLiteDemo  bin  com  kf  sqlite  DbNews $News. class
Database instance with source code  SQLiteDemo  bin  com  kf  sqlite  DbNews. class
Database instance with source code  SQLiteDemo  bin  com  kf  sqlite  R $attr.class
Database instance with source code  SQLiteDemo  bin  com  kf  sqlite  R $drawable.class
Database instance with source code  SQLiteDemo  bin  com  kf  sqlite  R $id.class
Database instance with source code  SQLiteDemo  bin  com  kf  sqlite  R $layout. class
Database instance with source code  SQLiteDemo  bin  com  kf  sqlite  R $string.class
Database instance with source code  SQLiteDemo  bin  com  kf  sqlite  R.class
Database instance with source code  SQLiteDemo  bin  com  kf  sqlite  SeeDetailNews $1.class
Database instance with source code  SQLiteDemo  bin  com  kf  sqlite  SeeDetailNews.class
Database instance with source code  SQLiteDemo  bin  com  kf  sqlite  SQLiteDemo.class
Database instance with source code  SQLiteDemo  bin  classs.dex
Database instance with source code  SQLiteDemo  bin  resources.ap_
Database instance with source code  SQLiteDemo  bin  SQLiteDemo.apk
Database instance with source code  SQLiteDemo  gen  com  kf  sqlite  R.java
Database instance with source code  SQLiteDemo  res  drawable-hdpi  icon.png
Database instance with source code  SQLiteDemo  res  drawable-ldpi  icon.png
Database instance with source code  SQLiteDemo  res  drawable mdpi  icon.png
Database instance with source code  SQLiteDemo  res  layout  detail_ views.xml
Database instance with source code  SQLiteDemo  res  layout  main.xml
Database instance with source code  SQLiteDemo  res  values  strings.xml
Database instance with source code  SQLiteDemo  src  com  kf  sqlite  DBHelper.java
Database instance with source code  SQLiteDemo  src  com  kf  sqlite  DbNews.java
Database instance with source code  SQLiteDemo  src  com  kf  sqlite  SeeDetailNews.java
Database instance with source code  SQLiteDemo  src  com  kf  sqlite  SQLiteDemo.java
Database instance with source code  SQLiteDemo . Classpath
Database instance with source code  SQLiteDemo . Project
Database instance with source code  SQLiteDemo  AndroidManifest.xml
.....)

[下载]20510186274.rar




上一篇:通讯录的实例
下一篇:具有增删改查功能的个人通讯录