带源码的数据库实例
项目中首要包括如下一个首要的文件: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 codeSQLiteDemobincomkfsqliteDBHelper $DBOpenHelper.class
Database instance with source codeSQLiteDemobincomkfsqliteDBHelper.class
Database instance with source codeSQLiteDemobincomkfsqliteDbNews $News. class
Database instance with source codeSQLiteDemobincomkfsqliteDbNews. class
Database instance with source codeSQLiteDemobincomkfsqliteR $attr.class
Database instance with source codeSQLiteDemobincomkfsqliteR $drawable.class
Database instance with source codeSQLiteDemobincomkfsqliteR $id.class
Database instance with source codeSQLiteDemobincomkfsqliteR $layout. class
Database instance with source codeSQLiteDemobincomkfsqliteR $string.class
Database instance with source codeSQLiteDemobincomkfsqliteR.class
Database instance with source codeSQLiteDemobincomkfsqliteSeeDetailNews $1.class
Database instance with source codeSQLiteDemobincomkfsqliteSeeDetailNews.class
Database instance with source codeSQLiteDemobincomkfsqliteSQLiteDemo.class
Database instance with source codeSQLiteDemobinclasss.dex
Database instance with source codeSQLiteDemobinresources.ap_
Database instance with source codeSQLiteDemobinSQLiteDemo.apk
Database instance with source codeSQLiteDemogencomkfsqliteR.java
Database instance with source codeSQLiteDemoresdrawable-hdpiicon.png
Database instance with source codeSQLiteDemoresdrawable-ldpiicon.png
Database instance with source codeSQLiteDemoresdrawable mdpiicon.png
Database instance with source codeSQLiteDemoreslayoutdetail_ views.xml
Database instance with source codeSQLiteDemoreslayoutmain.xml
Database instance with source codeSQLiteDemoresvaluesstrings.xml
Database instance with source codeSQLiteDemosrccomkfsqliteDBHelper.java
Database instance with source codeSQLiteDemosrccomkfsqliteDbNews.java
Database instance with source codeSQLiteDemosrccomkfsqliteSeeDetailNews.java
Database instance with source codeSQLiteDemosrccomkfsqliteSQLiteDemo.java
Database instance with source codeSQLiteDemo . Classpath
Database instance with source codeSQLiteDemo . Project
Database instance with source codeSQLiteDemoAndroidManifest.xml
.....)
页:
[1]