listviewheSQLitezhishi
代码说明:
注意:本项目是基于android studio开发的,eclipse可能无法直接使用。 本项目是一个简单的基于安卓的记事本项目源码,添加或删除数据的时候会出现显示bug(实际数据不会受到影响),bug体现在添加或删除一条数据以后会在listview里面会展示复制一遍操作后的数据。而不会清除原有的列表文本。新手朋友可以拿这个项目来试试手感,顺便看看能不能独立解决这个问题。 本项目涉及的知识点有: 1、SQLite的基本使用,增删查改 2、listview,adapeter的基本使用 3、activity生命周期 4、intent、bundle传递参数 5、AlertDialog的基本使用(Note: this project is based on the development of studio eclipse, Android may not be able to directly use. This project is a simple Notepad program source code based on Android, add or delete data will appear when the display bug (actual data will not be affected), bug reflected in add or remove a data will be in inside the listview will show copy again after the operation data. And will not clear the original list of text. Novice friends can take this project to try to feel, by the way to solve this problem can not be solved independently. The knowledge points involved in this project are: 1, the basic use of SQLite, CRUD 2, listview, the basic use of adapeter 3, activity life cycle 4, intent, bundle transfer parameters 5, the basic use of AlertDialog)
文件列表:
Android项目源码带bug记事本可以学习基本的listview和SQLite知识
............................................................\My_Note
............................................................\.......\.gitignore,105,2015-12-13
............................................................\.......\app
............................................................\.......\...\.gitignore,8,2015-12-13
............................................................\.......\...\app.iml,7608,2015-12-13
............................................................\.......\...\build
............................................................\.......\...\.....\generated
............................................................\.......\...\.....\.........\res
............................................................\.......\...\.....\.........\...\resValues
............................................................\.......\...\.....\.........\...\.........\androidTest
............................................................\.......\...\.....\.........\...\rs
............................................................\.......\...\.....\.........\...\..\androidTest
............................................................\.......\...\.....\.........\...\..\...........\debug
............................................................\.......\...\.....\.........\...\..\debug
............................................................\.......\...\.....\.........\source
............................................................\.......\...\.....\.........\......\aidl
............................................................\.......\...\.....\.........\......\....\androidTest
............................................................\.......\...\.....\.........\......\....\...........\debug
............................................................\.......\...\.....\.........\......\....\debug
............................................................\.......\...\.....\.........\......\buildConfig
............................................................\.......\...\.....\.........\......\...........\androidTest
............................................................\.......\...\.....\.........\......\...........\...........\debug
............................................................\.......\...\.....\.........\......\...........\...........\.....\com
............................................................\.......\...\.....\.........\......\...........\...........\.....\...\example
............................................................\.......\...\.....\.........\......\...........\...........\.....\...\.......\my_note
............................................................\.......\...\.....\.........\......\...........\...........\.....\...\.......\.......\test
............................................................\.......\...\.....\.........\......\...........\...........\.....\...\.......\.......\....\BuildConfig.java,455,2015-12-13
............................................................\.......\...\.....\.........\......\...........\debug
............................................................\.......\...\.....\.........\......\...........\.....\com
............................................................\.......\...\.....\.........\......\...........\.....\...\example
............................................................\.......\...\.....\.........\......\...........\.....\...\.......\my_note
............................................................\.......\...\.....\.........\......\...........\.....\...\.......\.......\BuildConfig.java,445,2015-12-13
............................................................\.......\...\.....\.........\......\r
............................................................\.......\...\.....\.........\......\.\androidTest
............................................................\.......\...\.....\.........\......\.\...........\debug
............................................................\.......\...\.....\.........\......\.\debug
............................................................\.......\...\.....\.........\......\.\.....\android
............................................................\.......\...\.....\.........\......\.\.....\.......\support
............................................................\.......\...\.....\.........\......\.\.....\.......\.......\v7
............................................................\.......\...\.....\.........\......\.\.....\.......\.......\..\appcompat
............................................................\.......\...\.....\.........\......\.\.....\.......\.......\..\.........\R.java,81056,2015-12-13
............................................................\.......\...\.....\.........\......\.\.....\com
............................................................\.......\...\.....\.........\......\.\.....\...\example
............................................................\.......\...\.....\.........\......\.\.....\...\.......\my_note
............................................................\.......\...\.....\.........\......\.\.....\...\.......\.......\R.java,359885,2015-12-13
............................................................\.......\...\.....\.........\......\rs
............................................................\.......\...\.....\.........\......\..\androidTest
............................................................\.......\...\.....\.........\......\..\...........\debug
............................................................\.......\...\.....\.........\......\..\debug
............................................................\.......\...\.....\intermediates
............................................................\.......\...\.....\.............\assets
............................................................\.......\...\.....\.............\......\androidTest
............................................................\.......\...\.....\.............\......\...........\debug
............................................................\.......\...\.....\.............\......\debug
............................................................\.......\...\.....\.............\classes
............................................................\.......\...\.....\.............\.......\debug
............................................................\.......\...\.....\.............\.......\.....\android
............................................................\.......\...\.....\.............\.......\.....\.......\support
............................................................\.......\...\.....\.............\.......\.....\.......\.......\v7
............................................................\.......\...\.....\.............\.......\.....\.......\.......\..\appcompat
............................................................\.......\...\.....\.............\.......\.....\.......\.......\..\.........\R$anim.class,813,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\.......\.......\..\.........\R$attr.class,8734,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\.......\.......\..\.........\R$bool.class,820,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\.......\.......\..\.........\R$color.class,3770,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\.......\.......\..\.........\R$dimen.class,4283,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\.......\.......\..\.........\R$drawable.class,3659,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\.......\.......\..\.........\R$id.class,3666,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\.......\.......\..\.........\R$integer.class,657,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\.......\.......\..\.........\R$layout.class,2313,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\.......\.......\..\.........\R$string.class,1430,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\.......\.......\..\.........\R$style.class,18523,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\.......\.......\..\.........\R$styleable.class,18065,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\.......\.......\..\.........\R.class,1019,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\com
............................................................\.......\...\.....\.............\.......\.....\...\example
............................................................\.......\...\.....\.............\.......\.....\...\.......\my_note
............................................................\.......\...\.....\.............\.......\.....\...\.......\.......\BuildConfig.class,714,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\...\.......\.......\MainActivity$1.class,1335,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\...\.......\.......\MainActivity$2.class,1894,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\...\.......\.......\MainActivity$3.class,901,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\...\.......\.......\MainActivity.class,7044,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\...\.......\.......\NoteDateBaseHelper.class,1240,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\...\.......\.......\noteEdit.class,3830,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\...\.......\.......\R$anim.class,786,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\...\.......\.......\R$attr.class,8707,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\...\.......\.......\R$bool.class,793,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\...\.......\.......\R$color.class,3854,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\...\.......\.......\R$dimen.class,4354,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\...\.......\.......\R$drawable.class,3671,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\...\.......\.......\R$id.class,3870,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\...\.......\.......\R$integer.class,630,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\...\.......\.......\R$layout.class,2379,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\...\.......\.......\R$mipmap.class,404,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\...\.......\.......\R$string.class,1435,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\...\.......\.......\R$style.class,18528,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\...\.......\.......\R$styleable.class,18038,2015-12-13
............................................................\.......\...\.....\.............\.......\.....\...\.......\.......\R.class,944,2015-12-13
............................................................\.......\...\.....\.............\debug
............................................................\.......\...\.....\.............\.....\merging
下载说明:请别用迅雷下载,失败请重下,重下不扣分!