diff --git a/Soft1606070302235/AndroidManifest.xml b/Soft1606070302235/AndroidManifest.xml
deleted file mode 100644
index 7865b92ba..000000000
--- a/Soft1606070302235/AndroidManifest.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Soft1606070302235/Soft1606070302235Activity.java b/Soft1606070302235/Soft1606070302235Activity.java
deleted file mode 100644
index ef4914d13..000000000
--- a/Soft1606070302235/Soft1606070302235Activity.java
+++ /dev/null
@@ -1,5 +0,0 @@
-package edu.hzuapps.androidlabs.soft1606070302235;
-
-public class Soft1606070302235Activity{
-
-}
\ No newline at end of file
diff --git a/Soft1606070302235/iBook.apk b/Soft1606070302235/iBook.apk
deleted file mode 100644
index b1672a44d..000000000
Binary files a/Soft1606070302235/iBook.apk and /dev/null differ
diff --git a/Soft1606070302235/java/edu/hzuapps/androidlabs/Soft1606070302235/SecondActivity.java b/Soft1606070302235/java/edu/hzuapps/androidlabs/Soft1606070302235/SecondActivity.java
deleted file mode 100644
index 763cc5769..000000000
--- a/Soft1606070302235/java/edu/hzuapps/androidlabs/Soft1606070302235/SecondActivity.java
+++ /dev/null
@@ -1,151 +0,0 @@
-package edu.hzuapps.androidlabs.soft1606070302235;
-
-import java.text.SimpleDateFormat;
-import java.util.Calendar;
-import java.util.Date;
-
-import com.example.beans.Cuns;
-import com.example.luoji.MyDataBase;
-import com.example.luoji.MyOpenHelper;
-
-import android.os.Bundle;
-import android.app.Activity;
-import android.app.AlertDialog;
-import android.content.DialogInterface;
-import android.content.Intent;
-import android.database.sqlite.SQLiteDatabase;
-import android.view.Menu;
-import android.view.MenuItem;
-import android.view.View;
-import android.view.View.OnClickListener;
-import android.widget.Button;
-import android.widget.EditText;
-import android.widget.Toast;
-
-/*
- *用来编辑日记
- *主要包括一个方法,isSave()用来保存数据;
- */
-public class SecondActivity extends Activity {
-
- EditText ed1,ed2;
- Button bt1;
- MyDataBase myDatabase;
- Cuns cun;
- int ids;
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_second);
- ed1=(EditText) findViewById(R.id.editText1);
- ed2=(EditText) findViewById(R.id.editText2);
- bt1=(Button) findViewById(R.id.button1);
- myDatabase=new MyDataBase(this);
-
- Intent intent=this.getIntent();
- ids=intent.getIntExtra("ids", 0);
- //默认为0,不为0,则为修改数据时跳转过来的
- if(ids!=0){
- cun=myDatabase.getTiandCon(ids);
- ed1.setText(cun.getTitle());
- ed2.setText(cun.getContent());
- }
- //保存按钮的点击事件,他和返回按钮是一样的功能,所以都调用isSave()方法;
- bt1.setOnClickListener(new OnClickListener() {
-
- @Override
- public void onClick(View v) {
- // TODO Auto-generated method stub
- isSave();
- }
- });
- }
- /*
- * 返回按钮调用的方法。
- * @see android.app.Activity#onBackPressed()
- */
- @Override
- public void onBackPressed() {
- // TODO Auto-generated method stub
- //super.onBackPressed();
- SimpleDateFormat formatter = new SimpleDateFormat ("yyyy.MM.dd HH:mm:ss");
- Date curDate = new Date(System.currentTimeMillis());//获取当前时间
- String times = formatter.format(curDate);
- String title=ed1.getText().toString();
- String content=ed2.getText().toString();
- //是要修改数据
- if(ids!=0){
- cun=new Cuns(title,ids, content, times);
- myDatabase.toUpdate(cun);
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
- //新建日记
- else{
- if(title.equals("")&&content.equals("")){
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
- else{
- cun=new Cuns(title,content,times);
- myDatabase.toInsert(cun);
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
-
- }
- }
- private void isSave(){
- SimpleDateFormat formatter = new SimpleDateFormat ("yyyy.MM.dd HH:mm:ss");
- Date curDate = new Date(System.currentTimeMillis());//获取当前时间
- String times = formatter.format(curDate);
- String title=ed1.getText().toString();
- String content=ed2.getText().toString();
- //是要修改数据
- if(ids!=0){
- cun=new Cuns(title,ids, content, times);
- myDatabase.toUpdate(cun);
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
- //新建日记
- else{
- cun=new Cuns(title,content,times);
- myDatabase.toInsert(cun);
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
- }
-
-
- @Override
- public boolean onCreateOptionsMenu(Menu menu) {
- // Inflate the menu; this adds items to the action bar if it is present.
- getMenuInflater().inflate(R.menu.second_activity, menu);
- return true;
- }
- @Override
- public boolean onOptionsItemSelected(MenuItem item) {
- // TODO Auto-generated method stub
- switch (item.getItemId()) {
- case R.id.action_settings:
- Intent intent=new Intent(Intent.ACTION_SEND);
- intent.setType("text/plain");
- intent.putExtra(Intent.EXTRA_TEXT, "标题:"+ed1.getText().toString()+" 内容:"+ed2.getText().toString());
- startActivity(intent);
- break;
-
- default:
- break;
- }
- return false;
- }
-
-
-}
-
diff --git a/Soft1606070302235/java/edu/hzuapps/androidlabs/Soft1606070302235/Soft1606070302235Activity.java b/Soft1606070302235/java/edu/hzuapps/androidlabs/Soft1606070302235/Soft1606070302235Activity.java
deleted file mode 100644
index 08b5b5573..000000000
--- a/Soft1606070302235/java/edu/hzuapps/androidlabs/Soft1606070302235/Soft1606070302235Activity.java
+++ /dev/null
@@ -1,149 +0,0 @@
-package edu.hzuapps.androidlabs.soft1606070302235;
-import java.util.ArrayList;
-
-import com.example.beans.Cuns;
-import com.example.luoji.MyAdapter;
-import com.example.luoji.MyDataBase;
-
-import android.os.Bundle;
-import android.app.Activity;
-import android.app.AlertDialog;
-import android.content.DialogInterface;
-import android.content.Intent;
-import android.view.LayoutInflater;
-import android.view.Menu;
-import android.view.MenuItem;
-import android.view.View;
-import android.view.View.OnClickListener;
-import android.view.View.OnLongClickListener;
-import android.widget.AdapterView;
-import android.widget.AdapterView.OnItemClickListener;
-import android.widget.AdapterView.OnItemLongClickListener;
-import android.widget.Button;
-import android.widget.ListView;
-
-/*
- * 这个类主要包括五个点击事件,分别为
- * 1,ListView的长按点击事件,用来AlertDialog来判断是否删除数据。
- * 2,ListView的点击事件,跳转到第二个界面,用来修改数据
- * 3,新建便签按钮的点击事件,跳转到第二界面,用来新建便签
- * 4,menu里的退出事件,用来退出程序
- * 5,menu里的新建事件,用来新建便签
- */
-public class Soft1606070302235Activity extends Activity {
-
- Button bt;
- ListView lv;
- LayoutInflater inflater;
- ArrayList array;
- MyDataBase mdb;
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_soft1606070302235);
-
- lv=(ListView) findViewById(R.id.listView1);
- bt=(Button) findViewById(R.id.button1);
- inflater=getLayoutInflater();
-
- mdb=new MyDataBase(this);
- array=mdb.getArray();
- MyAdapter adapter=new MyAdapter(inflater,array);
- lv.setAdapter(adapter);
- /*
- * 点击listView里面的item,进入到第二个页面,用来修改日记
- */
- lv.setOnItemClickListener(new OnItemClickListener() {
- @Override
- public void onItemClick(AdapterView> parent, View view,
- int position, long id) {
- // TODO Auto-generated method stub
- Intent intent=new Intent(getApplicationContext(),SecondActivity.class);
- intent.putExtra("ids",array.get(position).getIds() );
- startActivity(intent);
- Soft1606070302235Activity.this.finish();
- }
- });
- /*
- * 长点后来判断是否删除数据
- */
- lv.setOnItemLongClickListener(new OnItemLongClickListener() {
-
- @Override
- public boolean onItemLongClick(AdapterView> parent, View view,
- final int position, long id) {
- // TODO Auto-generated method stub
- //AlertDialog,来判断是否删除日记。
- new AlertDialog.Builder(Soft1606070302235Activity.this)
- .setTitle("删除")
- .setMessage("是否删除笔记")
- .setNegativeButton("取消", new DialogInterface.OnClickListener() {
-
- @Override
- public void onClick(DialogInterface dialog, int which) {
- // TODO Auto-generated method stub
-
- }
- })
- .setPositiveButton("确定", new DialogInterface.OnClickListener() {
-
- @Override
- public void onClick(DialogInterface dialog, int which) {
- // TODO Auto-generated method stub
- mdb.toDelete(array.get(position).getIds());
- array=mdb.getArray();
- MyAdapter adapter=new MyAdapter(inflater,array);
- lv.setAdapter(adapter);
- }
- })
- .create().show();
- return true;
- }
- });
- /*
- * 按钮点击事件,用来新建日记
- */
- bt.setOnClickListener(new OnClickListener() {
-
- @Override
- public void onClick(View v) {
- // TODO Auto-generated method stub
- Intent intent=new Intent(getApplicationContext(),SecondActivity.class);
- startActivity(intent);
- Soft1606070302235Activity.this.finish();
- }
- });
-
-
-
- }
-
- @Override
- public boolean onCreateOptionsMenu(Menu menu) {
- // Inflate the menu; this adds items to the action bar if it is present.
- getMenuInflater().inflate(R.menu.main, menu);
- return true;
- }
-
- @Override
- public boolean onOptionsItemSelected(MenuItem item) {
- // TODO Auto-generated method stub
- switch (item.getItemId()) {
- case R.id.item1:
- Intent intent=new Intent(getApplicationContext(),SecondActivity.class);
- startActivity(intent);
- this.finish();
- break;
- case R.id.item2:
- this.finish();
- break;
- default:
- break;
- }
- return true;
-
- }
-
-
-}
-
diff --git a/Soft1606070302235/java/edu/hzuapps/androidlabs/beans/Cuns.java b/Soft1606070302235/java/edu/hzuapps/androidlabs/beans/Cuns.java
deleted file mode 100644
index 5a8d3c72a..000000000
--- a/Soft1606070302235/java/edu/hzuapps/androidlabs/beans/Cuns.java
+++ /dev/null
@@ -1,43 +0,0 @@
-package com.example.beans;
-/*
- * ������ʱ�洢����
- */
-public class Cuns {
- private String title;//����
- private String content;//����
- private String times;//ʱ��
- private int ids;//���
- public Cuns(String ti,int id,String con ,String time){
- this.ids=id;
- this.title=ti;
- this.content=con;
- this.times=time;
- }
- public Cuns(String ti,String con,String time){
- this.title=ti;
- this.content=con;
- this.times=time;
- }
- public Cuns(int i,String ti,String time){
- this.ids=i;
- this.title=ti;
- this.times=time;
- }
- public Cuns(String ti,String con){
- this.title=ti;
- this.content=con;
- }
-public int getIds() {
- return ids;
-}
-public String getTitle() {
- return title;
-}
-public String getContent() {
- return content;
-}
-public String getTimes() {
- return times;
-}
-
-}
diff --git a/Soft1606070302235/java/edu/hzuapps/androidlabs/luoji/MyAdapter.java b/Soft1606070302235/java/edu/hzuapps/androidlabs/luoji/MyAdapter.java
deleted file mode 100644
index 409d5b953..000000000
--- a/Soft1606070302235/java/edu/hzuapps/androidlabs/luoji/MyAdapter.java
+++ /dev/null
@@ -1,63 +0,0 @@
-package com.example.luoji;
-
-import java.util.ArrayList;
-
-import com.example.beans.Cuns;
-import com.example.ibook.R;
-
-
-import android.view.LayoutInflater;
-import android.view.View;
-import android.view.ViewGroup;
-import android.widget.BaseAdapter;
-import android.widget.TextView;
-
-/*
- * �������ListView,��γɹ�����������ҳ����룬ֻҪ����������ֵ��inflater ,������ArrayList<>;
- */
-public class MyAdapter extends BaseAdapter{
-
- LayoutInflater inflater;
- ArrayList array;
- public MyAdapter(LayoutInflater inf,ArrayList arry){
- this.inflater=inf;
- this.array=arry;
- }
- @Override
- public int getCount() {
- // TODO Auto-generated method stub
- return array.size();
- }
-
- @Override
- public Object getItem(int position) {
- // TODO Auto-generated method stub
- return array.get(position);
- }
-
- @Override
- public long getItemId(int position) {
- // TODO Auto-generated method stub
- return position;
- }
-
- @Override
- public View getView(int position, View convertView, ViewGroup parent) {
- // TODO Auto-generated method stub
- ViewHolder vh;
- if(convertView==null){
- vh=new ViewHolder();
- convertView=inflater.inflate(R.layout.adapter_listview, null);//ע�������ϵͳ��
- vh.tv1=(TextView) convertView.findViewById(R.id.textView1);
- vh.tv2=(TextView) convertView.findViewById(R.id.textView2);
- convertView.setTag(vh);
- }
- vh=(ViewHolder) convertView.getTag();
- vh.tv1.setText(array.get(position).getTitle());
- vh.tv2.setText(array.get(position).getTimes());
- return convertView;
- }
- class ViewHolder{
- TextView tv1,tv2;
- }
-}
diff --git a/Soft1606070302235/java/edu/hzuapps/androidlabs/luoji/MyDataBase.java b/Soft1606070302235/java/edu/hzuapps/androidlabs/luoji/MyDataBase.java
deleted file mode 100644
index 39bd944a8..000000000
--- a/Soft1606070302235/java/edu/hzuapps/androidlabs/luoji/MyDataBase.java
+++ /dev/null
@@ -1,86 +0,0 @@
-package com.example.luoji;
-
-import java.util.ArrayList;
-
-import com.example.beans.Cuns;
-
-import android.content.Context;
-import android.database.Cursor;
-import android.database.sqlite.SQLiteDatabase;
-/*
- * ר���������ݿ�������࣬�����Ľ����Ƿdz���ȷ�ģ������е����ݿ�������ŵ���������������ֱ�ӵ��þͺ��ˡ�
- * ���ݵ�����ɾ���ģ��飬��������ʵ��
- */
-public class MyDataBase {
- Context context;
- MyOpenHelper myHelper;
- SQLiteDatabase myDatabase;
- /*
- * �����ʵ����������ͬʱ���������ݿ�
- */
- public MyDataBase(Context con){
- this.context=con;
- myHelper=new MyOpenHelper(context);
- }
- /*
- * �õ����ListView�õ�array���ݣ������ݿ�����Һ��������һ���������
- */
- public ArrayList getArray(){
- ArrayList array=new ArrayList();
- ArrayList array1=new ArrayList();
- myDatabase=myHelper.getWritableDatabase();
- Cursor cursor=myDatabase.rawQuery("select ids,title,times from mybook" , null);
- cursor.moveToFirst();
- while(!cursor.isAfterLast()){
- int id=cursor.getInt(cursor.getColumnIndex("ids"));
- String title=cursor.getString(cursor.getColumnIndex("title"));
- String times=cursor.getString(cursor.getColumnIndex("times"));
- Cuns cun=new Cuns(id, title, times);
- array.add(cun);
- cursor.moveToNext();
- }
- myDatabase.close();
- for (int i = array.size(); i >0; i--) {
- array1.add(array.get(i-1));
- }
- return array1;
- }
-
- /*
- * ���ؿ���Ҫ�ĵ����ݣ��ڶ���������á�
- */
- public Cuns getTiandCon(int id){
- myDatabase=myHelper.getWritableDatabase();
- Cursor cursor=myDatabase.rawQuery("select title,content from mybook where ids='"+id+"'" , null);
- cursor.moveToFirst();
- String title=cursor.getString(cursor.getColumnIndex("title"));
- String content=cursor.getString(cursor.getColumnIndex("content"));
- Cuns cun=new Cuns(title,content);
- myDatabase.close();
- return cun;
- }
- /*
- * �ڶ���������ã��������ռ�
- */
- public void toUpdate(Cuns cun){
- myDatabase=myHelper.getWritableDatabase();
- myDatabase.execSQL("update mybook set title='"+ cun.getTitle()+"',times='"+cun.getTimes()+"',content='"+cun.getContent() +"' where ids='"+ cun.getIds()+"'");
- myDatabase.close();
- }
- /*
- *�ڶ���������ã����������µ��ռ�
- */
- public void toInsert(Cuns cun){
- myDatabase=myHelper.getWritableDatabase();
- myDatabase.execSQL("insert into mybook(title,content,times)values('"+ cun.getTitle()+"','"+cun.getContent()+"','"+cun.getTimes()+"')");
- myDatabase.close();
- }
- /*
- * ��һ��������ã����������ѡ��ɾ���ռ�
- */
- public void toDelete(int ids){
- myDatabase=myHelper.getWritableDatabase();
- myDatabase.execSQL("delete from mybook where ids="+ids+"");
- myDatabase.close();
- }
-}
diff --git a/Soft1606070302235/java/edu/hzuapps/androidlabs/luoji/MyOpenHelper.java b/Soft1606070302235/java/edu/hzuapps/androidlabs/luoji/MyOpenHelper.java
deleted file mode 100644
index 3b7fbb541..000000000
--- a/Soft1606070302235/java/edu/hzuapps/androidlabs/luoji/MyOpenHelper.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package com.example.luoji;
-
-import android.content.Context;
-import android.database.sqlite.SQLiteDatabase;
-import android.database.sqlite.SQLiteDatabase.CursorFactory;
-import android.database.sqlite.SQLiteOpenHelper;
-
-/*
- * ��д��SQLiteOpenHelper�࣬�����������ݿ⣬���б����Լ���Ӧ�úú�ѧϰһ�¡�
- */
-public class MyOpenHelper extends SQLiteOpenHelper{
-
- public MyOpenHelper(Context context) {
- super(context, "mydate", null, 1);
- // TODO Auto-generated constructor stub
- }
-
- @Override
- public void onCreate(SQLiteDatabase db) {
- // TODO Auto-generated method stub
- db.execSQL("create table mybook(ids integer PRIMARY KEY autoincrement,title text,content text,times text)");
- }
-
- @Override
- public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
- // TODO Auto-generated method stub
-
- }
-
-
-}
diff --git a/Soft1606070302235/res/drawable-v24/ic_launcher_foreground.xml b/Soft1606070302235/res/drawable-v24/ic_launcher_foreground.xml
deleted file mode 100644
index c7bd21dbd..000000000
--- a/Soft1606070302235/res/drawable-v24/ic_launcher_foreground.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Soft1606070302235/res/drawable/btnselector.xml b/Soft1606070302235/res/drawable/btnselector.xml
deleted file mode 100644
index 1d1103b5d..000000000
--- a/Soft1606070302235/res/drawable/btnselector.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
diff --git a/Soft1606070302235/res/drawable/ic_launcher_background.xml b/Soft1606070302235/res/drawable/ic_launcher_background.xml
deleted file mode 100644
index d5fccc538..000000000
--- a/Soft1606070302235/res/drawable/ic_launcher_background.xml
+++ /dev/null
@@ -1,170 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Soft1606070302235/res/drawable/icon_app.png b/Soft1606070302235/res/drawable/icon_app.png
deleted file mode 100644
index 418aadc70..000000000
Binary files a/Soft1606070302235/res/drawable/icon_app.png and /dev/null differ
diff --git a/Soft1606070302235/res/drawable/new_note_normal.png b/Soft1606070302235/res/drawable/new_note_normal.png
deleted file mode 100644
index 40e3b8e0e..000000000
Binary files a/Soft1606070302235/res/drawable/new_note_normal.png and /dev/null differ
diff --git a/Soft1606070302235/res/drawable/new_note_pressed.png b/Soft1606070302235/res/drawable/new_note_pressed.png
deleted file mode 100644
index c7489362c..000000000
Binary files a/Soft1606070302235/res/drawable/new_note_pressed.png and /dev/null differ
diff --git a/Soft1606070302235/res/layout/activity_second.xml b/Soft1606070302235/res/layout/activity_second.xml
deleted file mode 100644
index 7970448cd..000000000
--- a/Soft1606070302235/res/layout/activity_second.xml
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Soft1606070302235/res/layout/activity_soft1606070302235.xml b/Soft1606070302235/res/layout/activity_soft1606070302235.xml
deleted file mode 100644
index b6a91db85..000000000
--- a/Soft1606070302235/res/layout/activity_soft1606070302235.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Soft1606070302235/res/layout/adapter_listview.xml b/Soft1606070302235/res/layout/adapter_listview.xml
deleted file mode 100644
index d8a18c915..000000000
--- a/Soft1606070302235/res/layout/adapter_listview.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/Soft1606070302235/res/layout/content_soft1606070302235.xml b/Soft1606070302235/res/layout/content_soft1606070302235.xml
deleted file mode 100644
index 431774878..000000000
--- a/Soft1606070302235/res/layout/content_soft1606070302235.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Soft1606070302235/res/menu/main.xml b/Soft1606070302235/res/menu/main.xml
deleted file mode 100644
index 9812cefa3..000000000
--- a/Soft1606070302235/res/menu/main.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-
diff --git a/Soft1606070302235/res/menu/menu_soft1606070302235.xml b/Soft1606070302235/res/menu/menu_soft1606070302235.xml
deleted file mode 100644
index d475d8d56..000000000
--- a/Soft1606070302235/res/menu/menu_soft1606070302235.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
diff --git a/Soft1606070302235/res/menu/second_activity.xml b/Soft1606070302235/res/menu/second_activity.xml
deleted file mode 100644
index 0b08300c2..000000000
--- a/Soft1606070302235/res/menu/second_activity.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
diff --git a/Soft1606070302235/res/mipmap-anydpi-v26/ic_launcher.xml b/Soft1606070302235/res/mipmap-anydpi-v26/ic_launcher.xml
deleted file mode 100644
index eca70cfe5..000000000
--- a/Soft1606070302235/res/mipmap-anydpi-v26/ic_launcher.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/Soft1606070302235/res/mipmap-anydpi-v26/ic_launcher_round.xml b/Soft1606070302235/res/mipmap-anydpi-v26/ic_launcher_round.xml
deleted file mode 100644
index eca70cfe5..000000000
--- a/Soft1606070302235/res/mipmap-anydpi-v26/ic_launcher_round.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/Soft1606070302235/res/mipmap-hdpi/ic_launcher.png b/Soft1606070302235/res/mipmap-hdpi/ic_launcher.png
deleted file mode 100644
index a2f590828..000000000
Binary files a/Soft1606070302235/res/mipmap-hdpi/ic_launcher.png and /dev/null differ
diff --git a/Soft1606070302235/res/mipmap-hdpi/ic_launcher_round.png b/Soft1606070302235/res/mipmap-hdpi/ic_launcher_round.png
deleted file mode 100644
index 1b5239980..000000000
Binary files a/Soft1606070302235/res/mipmap-hdpi/ic_launcher_round.png and /dev/null differ
diff --git a/Soft1606070302235/res/mipmap-mdpi/ic_launcher.png b/Soft1606070302235/res/mipmap-mdpi/ic_launcher.png
deleted file mode 100644
index ff10afd6e..000000000
Binary files a/Soft1606070302235/res/mipmap-mdpi/ic_launcher.png and /dev/null differ
diff --git a/Soft1606070302235/res/mipmap-mdpi/ic_launcher_round.png b/Soft1606070302235/res/mipmap-mdpi/ic_launcher_round.png
deleted file mode 100644
index 115a4c768..000000000
Binary files a/Soft1606070302235/res/mipmap-mdpi/ic_launcher_round.png and /dev/null differ
diff --git a/Soft1606070302235/res/mipmap-xhdpi/ic_launcher.png b/Soft1606070302235/res/mipmap-xhdpi/ic_launcher.png
deleted file mode 100644
index dcd3cd808..000000000
Binary files a/Soft1606070302235/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ
diff --git a/Soft1606070302235/res/mipmap-xhdpi/ic_launcher_round.png b/Soft1606070302235/res/mipmap-xhdpi/ic_launcher_round.png
deleted file mode 100644
index 459ca609d..000000000
Binary files a/Soft1606070302235/res/mipmap-xhdpi/ic_launcher_round.png and /dev/null differ
diff --git a/Soft1606070302235/res/mipmap-xxhdpi/ic_launcher.png b/Soft1606070302235/res/mipmap-xxhdpi/ic_launcher.png
deleted file mode 100644
index 8ca12fe02..000000000
Binary files a/Soft1606070302235/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ
diff --git a/Soft1606070302235/res/mipmap-xxhdpi/ic_launcher_round.png b/Soft1606070302235/res/mipmap-xxhdpi/ic_launcher_round.png
deleted file mode 100644
index 8e19b410a..000000000
Binary files a/Soft1606070302235/res/mipmap-xxhdpi/ic_launcher_round.png and /dev/null differ
diff --git a/Soft1606070302235/res/mipmap-xxxhdpi/ic_launcher.png b/Soft1606070302235/res/mipmap-xxxhdpi/ic_launcher.png
deleted file mode 100644
index b824ebdd4..000000000
Binary files a/Soft1606070302235/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ
diff --git a/Soft1606070302235/res/mipmap-xxxhdpi/ic_launcher_round.png b/Soft1606070302235/res/mipmap-xxxhdpi/ic_launcher_round.png
deleted file mode 100644
index 4c19a13c2..000000000
Binary files a/Soft1606070302235/res/mipmap-xxxhdpi/ic_launcher_round.png and /dev/null differ
diff --git a/Soft1606070302235/res/values/colors.xml b/Soft1606070302235/res/values/colors.xml
deleted file mode 100644
index 3ab3e9cbc..000000000
--- a/Soft1606070302235/res/values/colors.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
- #3F51B5
- #303F9F
- #FF4081
-
diff --git a/Soft1606070302235/res/values/dimens.xml b/Soft1606070302235/res/values/dimens.xml
deleted file mode 100644
index 59a0b0c4f..000000000
--- a/Soft1606070302235/res/values/dimens.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-
- 16dp
-
diff --git a/Soft1606070302235/res/values/strings.xml b/Soft1606070302235/res/values/strings.xml
deleted file mode 100644
index 1985fc57f..000000000
--- a/Soft1606070302235/res/values/strings.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
- Soft1606070302235
- 易迹
- Settings
- SecondActivity
-
diff --git a/Soft1606070302235/res/values/styles.xml b/Soft1606070302235/res/values/styles.xml
deleted file mode 100644
index 545b9c6d2..000000000
--- a/Soft1606070302235/res/values/styles.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\344\270\200\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276.png" "b/Soft1606070302235/\347\254\254\344\270\200\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276.png"
deleted file mode 100644
index 4df77a4ca..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\270\200\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\270\200\346\254\241\350\257\225\351\252\214.md" "b/Soft1606070302235/\347\254\254\344\270\200\346\254\241\350\257\225\351\252\214.md"
deleted file mode 100644
index f98435bd5..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\200\346\254\241\350\257\225\351\252\214.md"
+++ /dev/null
@@ -1,18 +0,0 @@
-第一次试验
-
-1、实验目的:
-
-(1)搭建开发环境,运行。 (2)了解并使用github克隆与上传文件的方法
-
-2、实验步骤:
-
-搭建开发环境(Android Studio 3.1正式版),运行(截图); 加入Git项目(Fork),将项目克隆(Clone)到自己帐号下; $ git clone https://github.com/YOUR_NAME/android-labs-2018/ 创建以学号命名的个人实验目录: soft123456 。 其中,com开头表示计算机班,soft开头表示软件班,数字为个人学号。 创建一个Java类:edu.hzuapps.androidlabs.soft123456.Soft123456Activity.java。 提交代码并发Pull Request,老师合并之后截图。 注意:请在自己选题的Issue中填写题目描述信息。 提交代码的命令: $ git add 你的路径net123456/Net123456Activity.java $ git commit -m "#1 #123 第1次实验" (注意:#123 是你自己创建的Issue号) $ git push
-
-3、实验结果:
-
-![](https://github.com/LJJ995/android-labs-2018/blob/master/Soft1606070302235/%E7%AC%AC%E4%B8%80%E6%AC%A1%E5%AE%9E%E9%AA%8C%E6%88%AA%E5%9B%BE.png)
-
-4、实验体会:
-
-这次在查看图片代码的时候有点难搞,还是有些不懂
-
diff --git "a/Soft1606070302235/\347\254\254\344\270\200\346\254\241\350\257\225\351\252\214/\347\254\254\344\270\200\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276.png" "b/Soft1606070302235/\347\254\254\344\270\200\346\254\241\350\257\225\351\252\214/\347\254\254\344\270\200\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276.png"
deleted file mode 100644
index 4df77a4ca..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\270\200\346\254\241\350\257\225\351\252\214/\347\254\254\344\270\200\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\270\200\346\254\241\350\257\225\351\252\214/\347\254\254\344\270\200\346\254\241\350\257\225\351\252\214.md" "b/Soft1606070302235/\347\254\254\344\270\200\346\254\241\350\257\225\351\252\214/\347\254\254\344\270\200\346\254\241\350\257\225\351\252\214.md"
deleted file mode 100644
index f98435bd5..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\200\346\254\241\350\257\225\351\252\214/\347\254\254\344\270\200\346\254\241\350\257\225\351\252\214.md"
+++ /dev/null
@@ -1,18 +0,0 @@
-第一次试验
-
-1、实验目的:
-
-(1)搭建开发环境,运行。 (2)了解并使用github克隆与上传文件的方法
-
-2、实验步骤:
-
-搭建开发环境(Android Studio 3.1正式版),运行(截图); 加入Git项目(Fork),将项目克隆(Clone)到自己帐号下; $ git clone https://github.com/YOUR_NAME/android-labs-2018/ 创建以学号命名的个人实验目录: soft123456 。 其中,com开头表示计算机班,soft开头表示软件班,数字为个人学号。 创建一个Java类:edu.hzuapps.androidlabs.soft123456.Soft123456Activity.java。 提交代码并发Pull Request,老师合并之后截图。 注意:请在自己选题的Issue中填写题目描述信息。 提交代码的命令: $ git add 你的路径net123456/Net123456Activity.java $ git commit -m "#1 #123 第1次实验" (注意:#123 是你自己创建的Issue号) $ git push
-
-3、实验结果:
-
-![](https://github.com/LJJ995/android-labs-2018/blob/master/Soft1606070302235/%E7%AC%AC%E4%B8%80%E6%AC%A1%E5%AE%9E%E9%AA%8C%E6%88%AA%E5%9B%BE.png)
-
-4、实验体会:
-
-这次在查看图片代码的时候有点难搞,还是有些不懂
-
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2101\357\274\211.png" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2101\357\274\211.png"
deleted file mode 100644
index 498b2ef9b..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2101\357\274\211.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2102\357\274\211.png" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2102\357\274\211.png"
deleted file mode 100644
index 7ced2aa2c..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2102\357\274\211.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214.md" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214.md"
deleted file mode 100644
index 6cf300716..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214.md"
+++ /dev/null
@@ -1,24 +0,0 @@
-# 第三次实验
-## 1、实验目标
-1.掌握在Android应用中使用图片等资源的方法。
-
-2.掌握点击按钮打开另一个Activity的方法。
-## 2、实验步骤
-1.将目标图片放入res/drawable文件里。
-
-2.在res/layout/activity_soft1606070302235.xml里加入显示图片代码。
-
-3.在res/layout/activity_soft1606070302235.xml里加入按钮的代码。
-
-4.新建一个Activity,命名为SecondActivity。
-
-5.在Soft1606070302235Activity.java文件里修改代码,即点击按钮时,打开SecondActivity.java。
-
-6.按要求提交文件。
-## 3、实验结果
-![](https://github.com/LJJ995/android-labs-2018/blob/master/Soft1606070302235/%E7%AC%AC%E4%B8%89%E6%AC%A1%E5%AE%9E%E9%AA%8C%E6%88%AA%E5%9B%BE%EF%BC%881%EF%BC%89.png)
-![](https://github.com/LJJ995/android-labs-2018/blob/master/Soft1606070302235/%E7%AC%AC%E4%B8%89%E6%AC%A1%E5%AE%9E%E9%AA%8C%E6%88%AA%E5%9B%BE%EF%BC%882%EF%BC%89.png)
-## 4、实验体会
-1.掌握了在Android studio上面显示图片的方法。
-
-2.掌握了用button打开另一个事件Activity。
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/AndroidManifest.xml" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/AndroidManifest.xml"
deleted file mode 100644
index 7865b92ba..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/AndroidManifest.xml"
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/SecondActivity.java" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/SecondActivity.java"
deleted file mode 100644
index 763cc5769..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/SecondActivity.java"
+++ /dev/null
@@ -1,151 +0,0 @@
-package edu.hzuapps.androidlabs.soft1606070302235;
-
-import java.text.SimpleDateFormat;
-import java.util.Calendar;
-import java.util.Date;
-
-import com.example.beans.Cuns;
-import com.example.luoji.MyDataBase;
-import com.example.luoji.MyOpenHelper;
-
-import android.os.Bundle;
-import android.app.Activity;
-import android.app.AlertDialog;
-import android.content.DialogInterface;
-import android.content.Intent;
-import android.database.sqlite.SQLiteDatabase;
-import android.view.Menu;
-import android.view.MenuItem;
-import android.view.View;
-import android.view.View.OnClickListener;
-import android.widget.Button;
-import android.widget.EditText;
-import android.widget.Toast;
-
-/*
- *用来编辑日记
- *主要包括一个方法,isSave()用来保存数据;
- */
-public class SecondActivity extends Activity {
-
- EditText ed1,ed2;
- Button bt1;
- MyDataBase myDatabase;
- Cuns cun;
- int ids;
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_second);
- ed1=(EditText) findViewById(R.id.editText1);
- ed2=(EditText) findViewById(R.id.editText2);
- bt1=(Button) findViewById(R.id.button1);
- myDatabase=new MyDataBase(this);
-
- Intent intent=this.getIntent();
- ids=intent.getIntExtra("ids", 0);
- //默认为0,不为0,则为修改数据时跳转过来的
- if(ids!=0){
- cun=myDatabase.getTiandCon(ids);
- ed1.setText(cun.getTitle());
- ed2.setText(cun.getContent());
- }
- //保存按钮的点击事件,他和返回按钮是一样的功能,所以都调用isSave()方法;
- bt1.setOnClickListener(new OnClickListener() {
-
- @Override
- public void onClick(View v) {
- // TODO Auto-generated method stub
- isSave();
- }
- });
- }
- /*
- * 返回按钮调用的方法。
- * @see android.app.Activity#onBackPressed()
- */
- @Override
- public void onBackPressed() {
- // TODO Auto-generated method stub
- //super.onBackPressed();
- SimpleDateFormat formatter = new SimpleDateFormat ("yyyy.MM.dd HH:mm:ss");
- Date curDate = new Date(System.currentTimeMillis());//获取当前时间
- String times = formatter.format(curDate);
- String title=ed1.getText().toString();
- String content=ed2.getText().toString();
- //是要修改数据
- if(ids!=0){
- cun=new Cuns(title,ids, content, times);
- myDatabase.toUpdate(cun);
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
- //新建日记
- else{
- if(title.equals("")&&content.equals("")){
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
- else{
- cun=new Cuns(title,content,times);
- myDatabase.toInsert(cun);
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
-
- }
- }
- private void isSave(){
- SimpleDateFormat formatter = new SimpleDateFormat ("yyyy.MM.dd HH:mm:ss");
- Date curDate = new Date(System.currentTimeMillis());//获取当前时间
- String times = formatter.format(curDate);
- String title=ed1.getText().toString();
- String content=ed2.getText().toString();
- //是要修改数据
- if(ids!=0){
- cun=new Cuns(title,ids, content, times);
- myDatabase.toUpdate(cun);
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
- //新建日记
- else{
- cun=new Cuns(title,content,times);
- myDatabase.toInsert(cun);
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
- }
-
-
- @Override
- public boolean onCreateOptionsMenu(Menu menu) {
- // Inflate the menu; this adds items to the action bar if it is present.
- getMenuInflater().inflate(R.menu.second_activity, menu);
- return true;
- }
- @Override
- public boolean onOptionsItemSelected(MenuItem item) {
- // TODO Auto-generated method stub
- switch (item.getItemId()) {
- case R.id.action_settings:
- Intent intent=new Intent(Intent.ACTION_SEND);
- intent.setType("text/plain");
- intent.putExtra(Intent.EXTRA_TEXT, "标题:"+ed1.getText().toString()+" 内容:"+ed2.getText().toString());
- startActivity(intent);
- break;
-
- default:
- break;
- }
- return false;
- }
-
-
-}
-
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/Soft1606070302235Activity.java" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/Soft1606070302235Activity.java"
deleted file mode 100644
index 08b5b5573..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/Soft1606070302235Activity.java"
+++ /dev/null
@@ -1,149 +0,0 @@
-package edu.hzuapps.androidlabs.soft1606070302235;
-import java.util.ArrayList;
-
-import com.example.beans.Cuns;
-import com.example.luoji.MyAdapter;
-import com.example.luoji.MyDataBase;
-
-import android.os.Bundle;
-import android.app.Activity;
-import android.app.AlertDialog;
-import android.content.DialogInterface;
-import android.content.Intent;
-import android.view.LayoutInflater;
-import android.view.Menu;
-import android.view.MenuItem;
-import android.view.View;
-import android.view.View.OnClickListener;
-import android.view.View.OnLongClickListener;
-import android.widget.AdapterView;
-import android.widget.AdapterView.OnItemClickListener;
-import android.widget.AdapterView.OnItemLongClickListener;
-import android.widget.Button;
-import android.widget.ListView;
-
-/*
- * 这个类主要包括五个点击事件,分别为
- * 1,ListView的长按点击事件,用来AlertDialog来判断是否删除数据。
- * 2,ListView的点击事件,跳转到第二个界面,用来修改数据
- * 3,新建便签按钮的点击事件,跳转到第二界面,用来新建便签
- * 4,menu里的退出事件,用来退出程序
- * 5,menu里的新建事件,用来新建便签
- */
-public class Soft1606070302235Activity extends Activity {
-
- Button bt;
- ListView lv;
- LayoutInflater inflater;
- ArrayList array;
- MyDataBase mdb;
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_soft1606070302235);
-
- lv=(ListView) findViewById(R.id.listView1);
- bt=(Button) findViewById(R.id.button1);
- inflater=getLayoutInflater();
-
- mdb=new MyDataBase(this);
- array=mdb.getArray();
- MyAdapter adapter=new MyAdapter(inflater,array);
- lv.setAdapter(adapter);
- /*
- * 点击listView里面的item,进入到第二个页面,用来修改日记
- */
- lv.setOnItemClickListener(new OnItemClickListener() {
- @Override
- public void onItemClick(AdapterView> parent, View view,
- int position, long id) {
- // TODO Auto-generated method stub
- Intent intent=new Intent(getApplicationContext(),SecondActivity.class);
- intent.putExtra("ids",array.get(position).getIds() );
- startActivity(intent);
- Soft1606070302235Activity.this.finish();
- }
- });
- /*
- * 长点后来判断是否删除数据
- */
- lv.setOnItemLongClickListener(new OnItemLongClickListener() {
-
- @Override
- public boolean onItemLongClick(AdapterView> parent, View view,
- final int position, long id) {
- // TODO Auto-generated method stub
- //AlertDialog,来判断是否删除日记。
- new AlertDialog.Builder(Soft1606070302235Activity.this)
- .setTitle("删除")
- .setMessage("是否删除笔记")
- .setNegativeButton("取消", new DialogInterface.OnClickListener() {
-
- @Override
- public void onClick(DialogInterface dialog, int which) {
- // TODO Auto-generated method stub
-
- }
- })
- .setPositiveButton("确定", new DialogInterface.OnClickListener() {
-
- @Override
- public void onClick(DialogInterface dialog, int which) {
- // TODO Auto-generated method stub
- mdb.toDelete(array.get(position).getIds());
- array=mdb.getArray();
- MyAdapter adapter=new MyAdapter(inflater,array);
- lv.setAdapter(adapter);
- }
- })
- .create().show();
- return true;
- }
- });
- /*
- * 按钮点击事件,用来新建日记
- */
- bt.setOnClickListener(new OnClickListener() {
-
- @Override
- public void onClick(View v) {
- // TODO Auto-generated method stub
- Intent intent=new Intent(getApplicationContext(),SecondActivity.class);
- startActivity(intent);
- Soft1606070302235Activity.this.finish();
- }
- });
-
-
-
- }
-
- @Override
- public boolean onCreateOptionsMenu(Menu menu) {
- // Inflate the menu; this adds items to the action bar if it is present.
- getMenuInflater().inflate(R.menu.main, menu);
- return true;
- }
-
- @Override
- public boolean onOptionsItemSelected(MenuItem item) {
- // TODO Auto-generated method stub
- switch (item.getItemId()) {
- case R.id.item1:
- Intent intent=new Intent(getApplicationContext(),SecondActivity.class);
- startActivity(intent);
- this.finish();
- break;
- case R.id.item2:
- this.finish();
- break;
- default:
- break;
- }
- return true;
-
- }
-
-
-}
-
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/beans/Cuns.java" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/beans/Cuns.java"
deleted file mode 100644
index 5a8d3c72a..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/beans/Cuns.java"
+++ /dev/null
@@ -1,43 +0,0 @@
-package com.example.beans;
-/*
- * ������ʱ�洢����
- */
-public class Cuns {
- private String title;//����
- private String content;//����
- private String times;//ʱ��
- private int ids;//���
- public Cuns(String ti,int id,String con ,String time){
- this.ids=id;
- this.title=ti;
- this.content=con;
- this.times=time;
- }
- public Cuns(String ti,String con,String time){
- this.title=ti;
- this.content=con;
- this.times=time;
- }
- public Cuns(int i,String ti,String time){
- this.ids=i;
- this.title=ti;
- this.times=time;
- }
- public Cuns(String ti,String con){
- this.title=ti;
- this.content=con;
- }
-public int getIds() {
- return ids;
-}
-public String getTitle() {
- return title;
-}
-public String getContent() {
- return content;
-}
-public String getTimes() {
- return times;
-}
-
-}
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyAdapter.java" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyAdapter.java"
deleted file mode 100644
index 409d5b953..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyAdapter.java"
+++ /dev/null
@@ -1,63 +0,0 @@
-package com.example.luoji;
-
-import java.util.ArrayList;
-
-import com.example.beans.Cuns;
-import com.example.ibook.R;
-
-
-import android.view.LayoutInflater;
-import android.view.View;
-import android.view.ViewGroup;
-import android.widget.BaseAdapter;
-import android.widget.TextView;
-
-/*
- * �������ListView,��γɹ�����������ҳ����룬ֻҪ����������ֵ��inflater ,������ArrayList<>;
- */
-public class MyAdapter extends BaseAdapter{
-
- LayoutInflater inflater;
- ArrayList array;
- public MyAdapter(LayoutInflater inf,ArrayList arry){
- this.inflater=inf;
- this.array=arry;
- }
- @Override
- public int getCount() {
- // TODO Auto-generated method stub
- return array.size();
- }
-
- @Override
- public Object getItem(int position) {
- // TODO Auto-generated method stub
- return array.get(position);
- }
-
- @Override
- public long getItemId(int position) {
- // TODO Auto-generated method stub
- return position;
- }
-
- @Override
- public View getView(int position, View convertView, ViewGroup parent) {
- // TODO Auto-generated method stub
- ViewHolder vh;
- if(convertView==null){
- vh=new ViewHolder();
- convertView=inflater.inflate(R.layout.adapter_listview, null);//ע�������ϵͳ��
- vh.tv1=(TextView) convertView.findViewById(R.id.textView1);
- vh.tv2=(TextView) convertView.findViewById(R.id.textView2);
- convertView.setTag(vh);
- }
- vh=(ViewHolder) convertView.getTag();
- vh.tv1.setText(array.get(position).getTitle());
- vh.tv2.setText(array.get(position).getTimes());
- return convertView;
- }
- class ViewHolder{
- TextView tv1,tv2;
- }
-}
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyDataBase.java" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyDataBase.java"
deleted file mode 100644
index 39bd944a8..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyDataBase.java"
+++ /dev/null
@@ -1,86 +0,0 @@
-package com.example.luoji;
-
-import java.util.ArrayList;
-
-import com.example.beans.Cuns;
-
-import android.content.Context;
-import android.database.Cursor;
-import android.database.sqlite.SQLiteDatabase;
-/*
- * ר���������ݿ�������࣬�����Ľ����Ƿdz���ȷ�ģ������е����ݿ�������ŵ���������������ֱ�ӵ��þͺ��ˡ�
- * ���ݵ�����ɾ���ģ��飬��������ʵ��
- */
-public class MyDataBase {
- Context context;
- MyOpenHelper myHelper;
- SQLiteDatabase myDatabase;
- /*
- * �����ʵ����������ͬʱ���������ݿ�
- */
- public MyDataBase(Context con){
- this.context=con;
- myHelper=new MyOpenHelper(context);
- }
- /*
- * �õ����ListView�õ�array���ݣ������ݿ�����Һ��������һ���������
- */
- public ArrayList getArray(){
- ArrayList array=new ArrayList();
- ArrayList array1=new ArrayList();
- myDatabase=myHelper.getWritableDatabase();
- Cursor cursor=myDatabase.rawQuery("select ids,title,times from mybook" , null);
- cursor.moveToFirst();
- while(!cursor.isAfterLast()){
- int id=cursor.getInt(cursor.getColumnIndex("ids"));
- String title=cursor.getString(cursor.getColumnIndex("title"));
- String times=cursor.getString(cursor.getColumnIndex("times"));
- Cuns cun=new Cuns(id, title, times);
- array.add(cun);
- cursor.moveToNext();
- }
- myDatabase.close();
- for (int i = array.size(); i >0; i--) {
- array1.add(array.get(i-1));
- }
- return array1;
- }
-
- /*
- * ���ؿ���Ҫ�ĵ����ݣ��ڶ���������á�
- */
- public Cuns getTiandCon(int id){
- myDatabase=myHelper.getWritableDatabase();
- Cursor cursor=myDatabase.rawQuery("select title,content from mybook where ids='"+id+"'" , null);
- cursor.moveToFirst();
- String title=cursor.getString(cursor.getColumnIndex("title"));
- String content=cursor.getString(cursor.getColumnIndex("content"));
- Cuns cun=new Cuns(title,content);
- myDatabase.close();
- return cun;
- }
- /*
- * �ڶ���������ã��������ռ�
- */
- public void toUpdate(Cuns cun){
- myDatabase=myHelper.getWritableDatabase();
- myDatabase.execSQL("update mybook set title='"+ cun.getTitle()+"',times='"+cun.getTimes()+"',content='"+cun.getContent() +"' where ids='"+ cun.getIds()+"'");
- myDatabase.close();
- }
- /*
- *�ڶ���������ã����������µ��ռ�
- */
- public void toInsert(Cuns cun){
- myDatabase=myHelper.getWritableDatabase();
- myDatabase.execSQL("insert into mybook(title,content,times)values('"+ cun.getTitle()+"','"+cun.getContent()+"','"+cun.getTimes()+"')");
- myDatabase.close();
- }
- /*
- * ��һ��������ã����������ѡ��ɾ���ռ�
- */
- public void toDelete(int ids){
- myDatabase=myHelper.getWritableDatabase();
- myDatabase.execSQL("delete from mybook where ids="+ids+"");
- myDatabase.close();
- }
-}
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyOpenHelper.java" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyOpenHelper.java"
deleted file mode 100644
index 3b7fbb541..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyOpenHelper.java"
+++ /dev/null
@@ -1,31 +0,0 @@
-package com.example.luoji;
-
-import android.content.Context;
-import android.database.sqlite.SQLiteDatabase;
-import android.database.sqlite.SQLiteDatabase.CursorFactory;
-import android.database.sqlite.SQLiteOpenHelper;
-
-/*
- * ��д��SQLiteOpenHelper�࣬�����������ݿ⣬���б����Լ���Ӧ�úú�ѧϰһ�¡�
- */
-public class MyOpenHelper extends SQLiteOpenHelper{
-
- public MyOpenHelper(Context context) {
- super(context, "mydate", null, 1);
- // TODO Auto-generated constructor stub
- }
-
- @Override
- public void onCreate(SQLiteDatabase db) {
- // TODO Auto-generated method stub
- db.execSQL("create table mybook(ids integer PRIMARY KEY autoincrement,title text,content text,times text)");
- }
-
- @Override
- public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
- // TODO Auto-generated method stub
-
- }
-
-
-}
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/drawable-v24/ic_launcher_foreground.xml" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/drawable-v24/ic_launcher_foreground.xml"
deleted file mode 100644
index c7bd21dbd..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/drawable-v24/ic_launcher_foreground.xml"
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/drawable/btnselector.xml" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/drawable/btnselector.xml"
deleted file mode 100644
index 1d1103b5d..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/drawable/btnselector.xml"
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/drawable/ic_launcher_background.xml" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/drawable/ic_launcher_background.xml"
deleted file mode 100644
index d5fccc538..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/drawable/ic_launcher_background.xml"
+++ /dev/null
@@ -1,170 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/drawable/icon_app.png" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/drawable/icon_app.png"
deleted file mode 100644
index 418aadc70..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/drawable/icon_app.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/drawable/new_note_normal.png" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/drawable/new_note_normal.png"
deleted file mode 100644
index 40e3b8e0e..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/drawable/new_note_normal.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/drawable/new_note_pressed.png" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/drawable/new_note_pressed.png"
deleted file mode 100644
index c7489362c..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/drawable/new_note_pressed.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/layout/activity_second.xml" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/layout/activity_second.xml"
deleted file mode 100644
index 7970448cd..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/layout/activity_second.xml"
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/layout/activity_soft1606070302235.xml" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/layout/activity_soft1606070302235.xml"
deleted file mode 100644
index b6a91db85..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/layout/activity_soft1606070302235.xml"
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/layout/adapter_listview.xml" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/layout/adapter_listview.xml"
deleted file mode 100644
index d8a18c915..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/layout/adapter_listview.xml"
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/layout/content_soft1606070302235.xml" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/layout/content_soft1606070302235.xml"
deleted file mode 100644
index 431774878..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/layout/content_soft1606070302235.xml"
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/menu/main.xml" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/menu/main.xml"
deleted file mode 100644
index 9812cefa3..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/menu/main.xml"
+++ /dev/null
@@ -1,14 +0,0 @@
-
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/menu/menu_soft1606070302235.xml" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/menu/menu_soft1606070302235.xml"
deleted file mode 100644
index d475d8d56..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/menu/menu_soft1606070302235.xml"
+++ /dev/null
@@ -1,10 +0,0 @@
-
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/menu/second_activity.xml" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/menu/second_activity.xml"
deleted file mode 100644
index 0b08300c2..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/menu/second_activity.xml"
+++ /dev/null
@@ -1,9 +0,0 @@
-
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher.xml" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher.xml"
deleted file mode 100644
index eca70cfe5..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher.xml"
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher_round.xml" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher_round.xml"
deleted file mode 100644
index eca70cfe5..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher_round.xml"
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher.png" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher.png"
deleted file mode 100644
index a2f590828..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher_round.png" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher_round.png"
deleted file mode 100644
index 1b5239980..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher_round.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher.png" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher.png"
deleted file mode 100644
index ff10afd6e..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher_round.png" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher_round.png"
deleted file mode 100644
index 115a4c768..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher_round.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher.png" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher.png"
deleted file mode 100644
index dcd3cd808..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher_round.png" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher_round.png"
deleted file mode 100644
index 459ca609d..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher_round.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher.png" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher.png"
deleted file mode 100644
index 8ca12fe02..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher_round.png" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher_round.png"
deleted file mode 100644
index 8e19b410a..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher_round.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher.png" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher.png"
deleted file mode 100644
index b824ebdd4..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher_round.png" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher_round.png"
deleted file mode 100644
index 4c19a13c2..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher_round.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/values/colors.xml" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/values/colors.xml"
deleted file mode 100644
index 3ab3e9cbc..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/values/colors.xml"
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
- #3F51B5
- #303F9F
- #FF4081
-
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/values/dimens.xml" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/values/dimens.xml"
deleted file mode 100644
index 59a0b0c4f..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/values/dimens.xml"
+++ /dev/null
@@ -1,3 +0,0 @@
-
- 16dp
-
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/values/strings.xml" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/values/strings.xml"
deleted file mode 100644
index 1985fc57f..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/values/strings.xml"
+++ /dev/null
@@ -1,6 +0,0 @@
-
- Soft1606070302235
- 易迹
- Settings
- SecondActivity
-
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/values/styles.xml" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/values/styles.xml"
deleted file mode 100644
index 545b9c6d2..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/res/values/styles.xml"
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/\347\254\254\344\270\211\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2101\357\274\211.png" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/\347\254\254\344\270\211\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2101\357\274\211.png"
deleted file mode 100644
index 498b2ef9b..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/\347\254\254\344\270\211\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2101\357\274\211.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/\347\254\254\344\270\211\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2102\357\274\211.png" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/\347\254\254\344\270\211\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2102\357\274\211.png"
deleted file mode 100644
index 7ced2aa2c..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/\347\254\254\344\270\211\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2102\357\274\211.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214.md" "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214.md"
deleted file mode 100644
index 6cf300716..000000000
--- "a/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214.md"
+++ /dev/null
@@ -1,24 +0,0 @@
-# 第三次实验
-## 1、实验目标
-1.掌握在Android应用中使用图片等资源的方法。
-
-2.掌握点击按钮打开另一个Activity的方法。
-## 2、实验步骤
-1.将目标图片放入res/drawable文件里。
-
-2.在res/layout/activity_soft1606070302235.xml里加入显示图片代码。
-
-3.在res/layout/activity_soft1606070302235.xml里加入按钮的代码。
-
-4.新建一个Activity,命名为SecondActivity。
-
-5.在Soft1606070302235Activity.java文件里修改代码,即点击按钮时,打开SecondActivity.java。
-
-6.按要求提交文件。
-## 3、实验结果
-![](https://github.com/LJJ995/android-labs-2018/blob/master/Soft1606070302235/%E7%AC%AC%E4%B8%89%E6%AC%A1%E5%AE%9E%E9%AA%8C%E6%88%AA%E5%9B%BE%EF%BC%881%EF%BC%89.png)
-![](https://github.com/LJJ995/android-labs-2018/blob/master/Soft1606070302235/%E7%AC%AC%E4%B8%89%E6%AC%A1%E5%AE%9E%E9%AA%8C%E6%88%AA%E5%9B%BE%EF%BC%882%EF%BC%89.png)
-## 4、实验体会
-1.掌握了在Android studio上面显示图片的方法。
-
-2.掌握了用button打开另一个事件Activity。
diff --git "a/Soft1606070302235/\347\254\254\344\272\214\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276.png" "b/Soft1606070302235/\347\254\254\344\272\214\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276.png"
deleted file mode 100644
index 9bd958346..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\272\214\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\272\214\346\254\241\350\257\225\351\252\214.md" "b/Soft1606070302235/\347\254\254\344\272\214\346\254\241\350\257\225\351\252\214.md"
deleted file mode 100644
index d1e464958..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\214\346\254\241\350\257\225\351\252\214.md"
+++ /dev/null
@@ -1,23 +0,0 @@
-# 第二次实验
-## 1、实验目标
-1.Android组件编程
-
-## 2、实验步骤
-1.在Issues中创建自己的选题:记事本。
-
-2.根据自选题目,在Android Studio中建立项目。
-
-3.在自己项目的JAVA包下建立了一个Basic Activity,命名为Soft1606070302235Activity。
-
-4.找到app/manifests/AndroidManifest.xml里面的android:label="@string/app_name"语句,按Ctrl键进入string.xml,在标题Soft1606070302235后面加入记事本。
-
-5.按要求上交四个文件。
-
-## 3、实验结果
-![](https://github.com/LJJ995/android-labs-2018/blob/master/Soft1606070302235/%E7%AC%AC%E4%BA%8C%E6%AC%A1%E5%AE%9E%E9%AA%8C%E6%88%AA%E5%9B%BE.png)
-## 4、实验体会
-1.对用git上交作业更熟悉了一些,基本命令语句也加深了理解。
-
-2.了解到了一般习惯上类的类名第一个字母要大写,包名小写.java文件的名字要跟类名相同。
-
-3.学会了建立一个Basic Activity。
diff --git "a/Soft1606070302235/\347\254\254\344\272\214\346\254\241\350\257\225\351\252\214/AndroidManifest.xml" "b/Soft1606070302235/\347\254\254\344\272\214\346\254\241\350\257\225\351\252\214/AndroidManifest.xml"
deleted file mode 100644
index 084fa7c5b..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\214\346\254\241\350\257\225\351\252\214/AndroidManifest.xml"
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\344\272\214\346\254\241\350\257\225\351\252\214/Soft1606070302235Activity.java" "b/Soft1606070302235/\347\254\254\344\272\214\346\254\241\350\257\225\351\252\214/Soft1606070302235Activity.java"
deleted file mode 100644
index ef4914d13..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\214\346\254\241\350\257\225\351\252\214/Soft1606070302235Activity.java"
+++ /dev/null
@@ -1,5 +0,0 @@
-package edu.hzuapps.androidlabs.soft1606070302235;
-
-public class Soft1606070302235Activity{
-
-}
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\344\272\214\346\254\241\350\257\225\351\252\214/\347\254\254\344\272\214\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276.png" "b/Soft1606070302235/\347\254\254\344\272\214\346\254\241\350\257\225\351\252\214/\347\254\254\344\272\214\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276.png"
deleted file mode 100644
index 9bd958346..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\272\214\346\254\241\350\257\225\351\252\214/\347\254\254\344\272\214\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\272\214\346\254\241\350\257\225\351\252\214/\347\254\254\344\272\214\346\254\241\350\257\225\351\252\214.md" "b/Soft1606070302235/\347\254\254\344\272\214\346\254\241\350\257\225\351\252\214/\347\254\254\344\272\214\346\254\241\350\257\225\351\252\214.md"
deleted file mode 100644
index d1e464958..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\214\346\254\241\350\257\225\351\252\214/\347\254\254\344\272\214\346\254\241\350\257\225\351\252\214.md"
+++ /dev/null
@@ -1,23 +0,0 @@
-# 第二次实验
-## 1、实验目标
-1.Android组件编程
-
-## 2、实验步骤
-1.在Issues中创建自己的选题:记事本。
-
-2.根据自选题目,在Android Studio中建立项目。
-
-3.在自己项目的JAVA包下建立了一个Basic Activity,命名为Soft1606070302235Activity。
-
-4.找到app/manifests/AndroidManifest.xml里面的android:label="@string/app_name"语句,按Ctrl键进入string.xml,在标题Soft1606070302235后面加入记事本。
-
-5.按要求上交四个文件。
-
-## 3、实验结果
-![](https://github.com/LJJ995/android-labs-2018/blob/master/Soft1606070302235/%E7%AC%AC%E4%BA%8C%E6%AC%A1%E5%AE%9E%E9%AA%8C%E6%88%AA%E5%9B%BE.png)
-## 4、实验体会
-1.对用git上交作业更熟悉了一些,基本命令语句也加深了理解。
-
-2.了解到了一般习惯上类的类名第一个字母要大写,包名小写.java文件的名字要跟类名相同。
-
-3.学会了建立一个Basic Activity。
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214.md" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214.md"
deleted file mode 100644
index 4ff7d1daa..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214.md"
+++ /dev/null
@@ -1,20 +0,0 @@
-# 第五次实验
-## 1、实验目标
-实现安卓应用中数据的存储
-
-## 2、实验步骤
-(1)打开项目Android Studio,打开SecondActivity;
-(2)在SecondActivity加入文件储存功能, 主要包括一个方法,isSave()用来保存数据;
-(3)新建一个文件夹luoji,建立一个新的MyDataBase.java文件,主要专门用来数据库操作的类,把所有的数据库操作都放到了这里来,其他直接调用就好了,数据的增,删,改,查,都在这里实现
-(4)打包成apk文件发在红米NOTE安卓手机上并运行成功
-(5)按要求上交文件上交
-
-## 3、实验结果
-(1)编辑记事本
-![](https://github.com/LJJ995/android-labs-2018/blob/master/Soft1606070302235/%E7%AC%AC%E4%BA%94%E6%AC%A1%E8%AF%95%E9%AA%8C%E6%88%AA%E5%9B%BE%EF%BC%881%EF%BC%89.png)
-(2)点击保存
-![](https://github.com/LJJ995/android-labs-2018/blob/master/Soft1606070302235/%E7%AC%AC%E4%BA%94%E6%AC%A1%E8%AF%95%E9%AA%8C%E6%88%AA%E5%9B%BE%EF%BC%882%EF%BC%89.png)
-
-## 4、实验体会
-1.此次实验学会了用数据库保存数据,对安卓应用中的数据存储还有待更进一步的加深学习。
-2.学习了新建一个新的java文件用来数据库操作的类,把所有操作放到同一个.java中,然后只需调用就好了,这样做起来程序就很简洁,给其他人看也很舒服。
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/AndroidManifest.xml" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/AndroidManifest.xml"
deleted file mode 100644
index 7865b92ba..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/AndroidManifest.xml"
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/SecondActivity.java" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/SecondActivity.java"
deleted file mode 100644
index 763cc5769..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/SecondActivity.java"
+++ /dev/null
@@ -1,151 +0,0 @@
-package edu.hzuapps.androidlabs.soft1606070302235;
-
-import java.text.SimpleDateFormat;
-import java.util.Calendar;
-import java.util.Date;
-
-import com.example.beans.Cuns;
-import com.example.luoji.MyDataBase;
-import com.example.luoji.MyOpenHelper;
-
-import android.os.Bundle;
-import android.app.Activity;
-import android.app.AlertDialog;
-import android.content.DialogInterface;
-import android.content.Intent;
-import android.database.sqlite.SQLiteDatabase;
-import android.view.Menu;
-import android.view.MenuItem;
-import android.view.View;
-import android.view.View.OnClickListener;
-import android.widget.Button;
-import android.widget.EditText;
-import android.widget.Toast;
-
-/*
- *用来编辑日记
- *主要包括一个方法,isSave()用来保存数据;
- */
-public class SecondActivity extends Activity {
-
- EditText ed1,ed2;
- Button bt1;
- MyDataBase myDatabase;
- Cuns cun;
- int ids;
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_second);
- ed1=(EditText) findViewById(R.id.editText1);
- ed2=(EditText) findViewById(R.id.editText2);
- bt1=(Button) findViewById(R.id.button1);
- myDatabase=new MyDataBase(this);
-
- Intent intent=this.getIntent();
- ids=intent.getIntExtra("ids", 0);
- //默认为0,不为0,则为修改数据时跳转过来的
- if(ids!=0){
- cun=myDatabase.getTiandCon(ids);
- ed1.setText(cun.getTitle());
- ed2.setText(cun.getContent());
- }
- //保存按钮的点击事件,他和返回按钮是一样的功能,所以都调用isSave()方法;
- bt1.setOnClickListener(new OnClickListener() {
-
- @Override
- public void onClick(View v) {
- // TODO Auto-generated method stub
- isSave();
- }
- });
- }
- /*
- * 返回按钮调用的方法。
- * @see android.app.Activity#onBackPressed()
- */
- @Override
- public void onBackPressed() {
- // TODO Auto-generated method stub
- //super.onBackPressed();
- SimpleDateFormat formatter = new SimpleDateFormat ("yyyy.MM.dd HH:mm:ss");
- Date curDate = new Date(System.currentTimeMillis());//获取当前时间
- String times = formatter.format(curDate);
- String title=ed1.getText().toString();
- String content=ed2.getText().toString();
- //是要修改数据
- if(ids!=0){
- cun=new Cuns(title,ids, content, times);
- myDatabase.toUpdate(cun);
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
- //新建日记
- else{
- if(title.equals("")&&content.equals("")){
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
- else{
- cun=new Cuns(title,content,times);
- myDatabase.toInsert(cun);
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
-
- }
- }
- private void isSave(){
- SimpleDateFormat formatter = new SimpleDateFormat ("yyyy.MM.dd HH:mm:ss");
- Date curDate = new Date(System.currentTimeMillis());//获取当前时间
- String times = formatter.format(curDate);
- String title=ed1.getText().toString();
- String content=ed2.getText().toString();
- //是要修改数据
- if(ids!=0){
- cun=new Cuns(title,ids, content, times);
- myDatabase.toUpdate(cun);
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
- //新建日记
- else{
- cun=new Cuns(title,content,times);
- myDatabase.toInsert(cun);
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
- }
-
-
- @Override
- public boolean onCreateOptionsMenu(Menu menu) {
- // Inflate the menu; this adds items to the action bar if it is present.
- getMenuInflater().inflate(R.menu.second_activity, menu);
- return true;
- }
- @Override
- public boolean onOptionsItemSelected(MenuItem item) {
- // TODO Auto-generated method stub
- switch (item.getItemId()) {
- case R.id.action_settings:
- Intent intent=new Intent(Intent.ACTION_SEND);
- intent.setType("text/plain");
- intent.putExtra(Intent.EXTRA_TEXT, "标题:"+ed1.getText().toString()+" 内容:"+ed2.getText().toString());
- startActivity(intent);
- break;
-
- default:
- break;
- }
- return false;
- }
-
-
-}
-
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/Soft1606070302235Activity.java" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/Soft1606070302235Activity.java"
deleted file mode 100644
index 08b5b5573..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/Soft1606070302235Activity.java"
+++ /dev/null
@@ -1,149 +0,0 @@
-package edu.hzuapps.androidlabs.soft1606070302235;
-import java.util.ArrayList;
-
-import com.example.beans.Cuns;
-import com.example.luoji.MyAdapter;
-import com.example.luoji.MyDataBase;
-
-import android.os.Bundle;
-import android.app.Activity;
-import android.app.AlertDialog;
-import android.content.DialogInterface;
-import android.content.Intent;
-import android.view.LayoutInflater;
-import android.view.Menu;
-import android.view.MenuItem;
-import android.view.View;
-import android.view.View.OnClickListener;
-import android.view.View.OnLongClickListener;
-import android.widget.AdapterView;
-import android.widget.AdapterView.OnItemClickListener;
-import android.widget.AdapterView.OnItemLongClickListener;
-import android.widget.Button;
-import android.widget.ListView;
-
-/*
- * 这个类主要包括五个点击事件,分别为
- * 1,ListView的长按点击事件,用来AlertDialog来判断是否删除数据。
- * 2,ListView的点击事件,跳转到第二个界面,用来修改数据
- * 3,新建便签按钮的点击事件,跳转到第二界面,用来新建便签
- * 4,menu里的退出事件,用来退出程序
- * 5,menu里的新建事件,用来新建便签
- */
-public class Soft1606070302235Activity extends Activity {
-
- Button bt;
- ListView lv;
- LayoutInflater inflater;
- ArrayList array;
- MyDataBase mdb;
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_soft1606070302235);
-
- lv=(ListView) findViewById(R.id.listView1);
- bt=(Button) findViewById(R.id.button1);
- inflater=getLayoutInflater();
-
- mdb=new MyDataBase(this);
- array=mdb.getArray();
- MyAdapter adapter=new MyAdapter(inflater,array);
- lv.setAdapter(adapter);
- /*
- * 点击listView里面的item,进入到第二个页面,用来修改日记
- */
- lv.setOnItemClickListener(new OnItemClickListener() {
- @Override
- public void onItemClick(AdapterView> parent, View view,
- int position, long id) {
- // TODO Auto-generated method stub
- Intent intent=new Intent(getApplicationContext(),SecondActivity.class);
- intent.putExtra("ids",array.get(position).getIds() );
- startActivity(intent);
- Soft1606070302235Activity.this.finish();
- }
- });
- /*
- * 长点后来判断是否删除数据
- */
- lv.setOnItemLongClickListener(new OnItemLongClickListener() {
-
- @Override
- public boolean onItemLongClick(AdapterView> parent, View view,
- final int position, long id) {
- // TODO Auto-generated method stub
- //AlertDialog,来判断是否删除日记。
- new AlertDialog.Builder(Soft1606070302235Activity.this)
- .setTitle("删除")
- .setMessage("是否删除笔记")
- .setNegativeButton("取消", new DialogInterface.OnClickListener() {
-
- @Override
- public void onClick(DialogInterface dialog, int which) {
- // TODO Auto-generated method stub
-
- }
- })
- .setPositiveButton("确定", new DialogInterface.OnClickListener() {
-
- @Override
- public void onClick(DialogInterface dialog, int which) {
- // TODO Auto-generated method stub
- mdb.toDelete(array.get(position).getIds());
- array=mdb.getArray();
- MyAdapter adapter=new MyAdapter(inflater,array);
- lv.setAdapter(adapter);
- }
- })
- .create().show();
- return true;
- }
- });
- /*
- * 按钮点击事件,用来新建日记
- */
- bt.setOnClickListener(new OnClickListener() {
-
- @Override
- public void onClick(View v) {
- // TODO Auto-generated method stub
- Intent intent=new Intent(getApplicationContext(),SecondActivity.class);
- startActivity(intent);
- Soft1606070302235Activity.this.finish();
- }
- });
-
-
-
- }
-
- @Override
- public boolean onCreateOptionsMenu(Menu menu) {
- // Inflate the menu; this adds items to the action bar if it is present.
- getMenuInflater().inflate(R.menu.main, menu);
- return true;
- }
-
- @Override
- public boolean onOptionsItemSelected(MenuItem item) {
- // TODO Auto-generated method stub
- switch (item.getItemId()) {
- case R.id.item1:
- Intent intent=new Intent(getApplicationContext(),SecondActivity.class);
- startActivity(intent);
- this.finish();
- break;
- case R.id.item2:
- this.finish();
- break;
- default:
- break;
- }
- return true;
-
- }
-
-
-}
-
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/beans/Cuns.java" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/beans/Cuns.java"
deleted file mode 100644
index 5a8d3c72a..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/beans/Cuns.java"
+++ /dev/null
@@ -1,43 +0,0 @@
-package com.example.beans;
-/*
- * ������ʱ�洢����
- */
-public class Cuns {
- private String title;//����
- private String content;//����
- private String times;//ʱ��
- private int ids;//���
- public Cuns(String ti,int id,String con ,String time){
- this.ids=id;
- this.title=ti;
- this.content=con;
- this.times=time;
- }
- public Cuns(String ti,String con,String time){
- this.title=ti;
- this.content=con;
- this.times=time;
- }
- public Cuns(int i,String ti,String time){
- this.ids=i;
- this.title=ti;
- this.times=time;
- }
- public Cuns(String ti,String con){
- this.title=ti;
- this.content=con;
- }
-public int getIds() {
- return ids;
-}
-public String getTitle() {
- return title;
-}
-public String getContent() {
- return content;
-}
-public String getTimes() {
- return times;
-}
-
-}
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyAdapter.java" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyAdapter.java"
deleted file mode 100644
index 409d5b953..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyAdapter.java"
+++ /dev/null
@@ -1,63 +0,0 @@
-package com.example.luoji;
-
-import java.util.ArrayList;
-
-import com.example.beans.Cuns;
-import com.example.ibook.R;
-
-
-import android.view.LayoutInflater;
-import android.view.View;
-import android.view.ViewGroup;
-import android.widget.BaseAdapter;
-import android.widget.TextView;
-
-/*
- * �������ListView,��γɹ�����������ҳ����룬ֻҪ����������ֵ��inflater ,������ArrayList<>;
- */
-public class MyAdapter extends BaseAdapter{
-
- LayoutInflater inflater;
- ArrayList array;
- public MyAdapter(LayoutInflater inf,ArrayList arry){
- this.inflater=inf;
- this.array=arry;
- }
- @Override
- public int getCount() {
- // TODO Auto-generated method stub
- return array.size();
- }
-
- @Override
- public Object getItem(int position) {
- // TODO Auto-generated method stub
- return array.get(position);
- }
-
- @Override
- public long getItemId(int position) {
- // TODO Auto-generated method stub
- return position;
- }
-
- @Override
- public View getView(int position, View convertView, ViewGroup parent) {
- // TODO Auto-generated method stub
- ViewHolder vh;
- if(convertView==null){
- vh=new ViewHolder();
- convertView=inflater.inflate(R.layout.adapter_listview, null);//ע�������ϵͳ��
- vh.tv1=(TextView) convertView.findViewById(R.id.textView1);
- vh.tv2=(TextView) convertView.findViewById(R.id.textView2);
- convertView.setTag(vh);
- }
- vh=(ViewHolder) convertView.getTag();
- vh.tv1.setText(array.get(position).getTitle());
- vh.tv2.setText(array.get(position).getTimes());
- return convertView;
- }
- class ViewHolder{
- TextView tv1,tv2;
- }
-}
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyDataBase.java" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyDataBase.java"
deleted file mode 100644
index 39bd944a8..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyDataBase.java"
+++ /dev/null
@@ -1,86 +0,0 @@
-package com.example.luoji;
-
-import java.util.ArrayList;
-
-import com.example.beans.Cuns;
-
-import android.content.Context;
-import android.database.Cursor;
-import android.database.sqlite.SQLiteDatabase;
-/*
- * ר���������ݿ�������࣬�����Ľ����Ƿdz���ȷ�ģ������е����ݿ�������ŵ���������������ֱ�ӵ��þͺ��ˡ�
- * ���ݵ�����ɾ���ģ��飬��������ʵ��
- */
-public class MyDataBase {
- Context context;
- MyOpenHelper myHelper;
- SQLiteDatabase myDatabase;
- /*
- * �����ʵ����������ͬʱ���������ݿ�
- */
- public MyDataBase(Context con){
- this.context=con;
- myHelper=new MyOpenHelper(context);
- }
- /*
- * �õ����ListView�õ�array���ݣ������ݿ�����Һ��������һ���������
- */
- public ArrayList getArray(){
- ArrayList array=new ArrayList();
- ArrayList array1=new ArrayList();
- myDatabase=myHelper.getWritableDatabase();
- Cursor cursor=myDatabase.rawQuery("select ids,title,times from mybook" , null);
- cursor.moveToFirst();
- while(!cursor.isAfterLast()){
- int id=cursor.getInt(cursor.getColumnIndex("ids"));
- String title=cursor.getString(cursor.getColumnIndex("title"));
- String times=cursor.getString(cursor.getColumnIndex("times"));
- Cuns cun=new Cuns(id, title, times);
- array.add(cun);
- cursor.moveToNext();
- }
- myDatabase.close();
- for (int i = array.size(); i >0; i--) {
- array1.add(array.get(i-1));
- }
- return array1;
- }
-
- /*
- * ���ؿ���Ҫ�ĵ����ݣ��ڶ���������á�
- */
- public Cuns getTiandCon(int id){
- myDatabase=myHelper.getWritableDatabase();
- Cursor cursor=myDatabase.rawQuery("select title,content from mybook where ids='"+id+"'" , null);
- cursor.moveToFirst();
- String title=cursor.getString(cursor.getColumnIndex("title"));
- String content=cursor.getString(cursor.getColumnIndex("content"));
- Cuns cun=new Cuns(title,content);
- myDatabase.close();
- return cun;
- }
- /*
- * �ڶ���������ã��������ռ�
- */
- public void toUpdate(Cuns cun){
- myDatabase=myHelper.getWritableDatabase();
- myDatabase.execSQL("update mybook set title='"+ cun.getTitle()+"',times='"+cun.getTimes()+"',content='"+cun.getContent() +"' where ids='"+ cun.getIds()+"'");
- myDatabase.close();
- }
- /*
- *�ڶ���������ã����������µ��ռ�
- */
- public void toInsert(Cuns cun){
- myDatabase=myHelper.getWritableDatabase();
- myDatabase.execSQL("insert into mybook(title,content,times)values('"+ cun.getTitle()+"','"+cun.getContent()+"','"+cun.getTimes()+"')");
- myDatabase.close();
- }
- /*
- * ��һ��������ã����������ѡ��ɾ���ռ�
- */
- public void toDelete(int ids){
- myDatabase=myHelper.getWritableDatabase();
- myDatabase.execSQL("delete from mybook where ids="+ids+"");
- myDatabase.close();
- }
-}
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyOpenHelper.java" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyOpenHelper.java"
deleted file mode 100644
index 3b7fbb541..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyOpenHelper.java"
+++ /dev/null
@@ -1,31 +0,0 @@
-package com.example.luoji;
-
-import android.content.Context;
-import android.database.sqlite.SQLiteDatabase;
-import android.database.sqlite.SQLiteDatabase.CursorFactory;
-import android.database.sqlite.SQLiteOpenHelper;
-
-/*
- * ��д��SQLiteOpenHelper�࣬�����������ݿ⣬���б����Լ���Ӧ�úú�ѧϰһ�¡�
- */
-public class MyOpenHelper extends SQLiteOpenHelper{
-
- public MyOpenHelper(Context context) {
- super(context, "mydate", null, 1);
- // TODO Auto-generated constructor stub
- }
-
- @Override
- public void onCreate(SQLiteDatabase db) {
- // TODO Auto-generated method stub
- db.execSQL("create table mybook(ids integer PRIMARY KEY autoincrement,title text,content text,times text)");
- }
-
- @Override
- public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
- // TODO Auto-generated method stub
-
- }
-
-
-}
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/drawable-v24/ic_launcher_foreground.xml" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/drawable-v24/ic_launcher_foreground.xml"
deleted file mode 100644
index c7bd21dbd..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/drawable-v24/ic_launcher_foreground.xml"
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/drawable/btnselector.xml" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/drawable/btnselector.xml"
deleted file mode 100644
index 1d1103b5d..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/drawable/btnselector.xml"
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/drawable/ic_launcher_background.xml" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/drawable/ic_launcher_background.xml"
deleted file mode 100644
index d5fccc538..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/drawable/ic_launcher_background.xml"
+++ /dev/null
@@ -1,170 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/drawable/icon_app.png" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/drawable/icon_app.png"
deleted file mode 100644
index 418aadc70..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/drawable/icon_app.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/drawable/new_note_normal.png" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/drawable/new_note_normal.png"
deleted file mode 100644
index 40e3b8e0e..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/drawable/new_note_normal.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/drawable/new_note_pressed.png" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/drawable/new_note_pressed.png"
deleted file mode 100644
index c7489362c..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/drawable/new_note_pressed.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/layout/activity_second.xml" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/layout/activity_second.xml"
deleted file mode 100644
index 7970448cd..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/layout/activity_second.xml"
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/layout/activity_soft1606070302235.xml" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/layout/activity_soft1606070302235.xml"
deleted file mode 100644
index b6a91db85..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/layout/activity_soft1606070302235.xml"
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/layout/adapter_listview.xml" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/layout/adapter_listview.xml"
deleted file mode 100644
index d8a18c915..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/layout/adapter_listview.xml"
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/layout/content_soft1606070302235.xml" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/layout/content_soft1606070302235.xml"
deleted file mode 100644
index 431774878..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/layout/content_soft1606070302235.xml"
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/menu/main.xml" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/menu/main.xml"
deleted file mode 100644
index 9812cefa3..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/menu/main.xml"
+++ /dev/null
@@ -1,14 +0,0 @@
-
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/menu/menu_soft1606070302235.xml" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/menu/menu_soft1606070302235.xml"
deleted file mode 100644
index d475d8d56..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/menu/menu_soft1606070302235.xml"
+++ /dev/null
@@ -1,10 +0,0 @@
-
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/menu/second_activity.xml" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/menu/second_activity.xml"
deleted file mode 100644
index 0b08300c2..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/menu/second_activity.xml"
+++ /dev/null
@@ -1,9 +0,0 @@
-
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher.xml" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher.xml"
deleted file mode 100644
index eca70cfe5..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher.xml"
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher_round.xml" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher_round.xml"
deleted file mode 100644
index eca70cfe5..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher_round.xml"
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher.png" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher.png"
deleted file mode 100644
index a2f590828..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher_round.png" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher_round.png"
deleted file mode 100644
index 1b5239980..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher_round.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher.png" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher.png"
deleted file mode 100644
index ff10afd6e..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher_round.png" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher_round.png"
deleted file mode 100644
index 115a4c768..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher_round.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher.png" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher.png"
deleted file mode 100644
index dcd3cd808..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher_round.png" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher_round.png"
deleted file mode 100644
index 459ca609d..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher_round.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher.png" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher.png"
deleted file mode 100644
index 8ca12fe02..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher_round.png" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher_round.png"
deleted file mode 100644
index 8e19b410a..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher_round.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher.png" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher.png"
deleted file mode 100644
index b824ebdd4..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher_round.png" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher_round.png"
deleted file mode 100644
index 4c19a13c2..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher_round.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/values/colors.xml" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/values/colors.xml"
deleted file mode 100644
index 3ab3e9cbc..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/values/colors.xml"
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
- #3F51B5
- #303F9F
- #FF4081
-
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/values/dimens.xml" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/values/dimens.xml"
deleted file mode 100644
index 59a0b0c4f..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/values/dimens.xml"
+++ /dev/null
@@ -1,3 +0,0 @@
-
- 16dp
-
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/values/strings.xml" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/values/strings.xml"
deleted file mode 100644
index 1985fc57f..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/values/strings.xml"
+++ /dev/null
@@ -1,6 +0,0 @@
-
- Soft1606070302235
- 易迹
- Settings
- SecondActivity
-
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/values/styles.xml" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/values/styles.xml"
deleted file mode 100644
index 545b9c6d2..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/res/values/styles.xml"
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214.md" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214.md"
deleted file mode 100644
index 4ff7d1daa..000000000
--- "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214.md"
+++ /dev/null
@@ -1,20 +0,0 @@
-# 第五次实验
-## 1、实验目标
-实现安卓应用中数据的存储
-
-## 2、实验步骤
-(1)打开项目Android Studio,打开SecondActivity;
-(2)在SecondActivity加入文件储存功能, 主要包括一个方法,isSave()用来保存数据;
-(3)新建一个文件夹luoji,建立一个新的MyDataBase.java文件,主要专门用来数据库操作的类,把所有的数据库操作都放到了这里来,其他直接调用就好了,数据的增,删,改,查,都在这里实现
-(4)打包成apk文件发在红米NOTE安卓手机上并运行成功
-(5)按要求上交文件上交
-
-## 3、实验结果
-(1)编辑记事本
-![](https://github.com/LJJ995/android-labs-2018/blob/master/Soft1606070302235/%E7%AC%AC%E4%BA%94%E6%AC%A1%E8%AF%95%E9%AA%8C%E6%88%AA%E5%9B%BE%EF%BC%881%EF%BC%89.png)
-(2)点击保存
-![](https://github.com/LJJ995/android-labs-2018/blob/master/Soft1606070302235/%E7%AC%AC%E4%BA%94%E6%AC%A1%E8%AF%95%E9%AA%8C%E6%88%AA%E5%9B%BE%EF%BC%882%EF%BC%89.png)
-
-## 4、实验体会
-1.此次实验学会了用数据库保存数据,对安卓应用中的数据存储还有待更进一步的加深学习。
-2.学习了新建一个新的java文件用来数据库操作的类,把所有操作放到同一个.java中,然后只需调用就好了,这样做起来程序就很简洁,给其他人看也很舒服。
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214\346\210\252\345\233\276\357\274\2101\357\274\211.png" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214\346\210\252\345\233\276\357\274\2101\357\274\211.png"
deleted file mode 100644
index cb507d8f9..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214\346\210\252\345\233\276\357\274\2101\357\274\211.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214\346\210\252\345\233\276\357\274\2102\357\274\211.png" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214\346\210\252\345\233\276\357\274\2102\357\274\211.png"
deleted file mode 100644
index 8df94e442..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214\346\210\252\345\233\276\357\274\2102\357\274\211.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214\346\210\252\345\233\276\357\274\2101\357\274\211.png" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214\346\210\252\345\233\276\357\274\2101\357\274\211.png"
deleted file mode 100644
index cb507d8f9..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214\346\210\252\345\233\276\357\274\2101\357\274\211.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214\346\210\252\345\233\276\357\274\2102\357\274\211.png" "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214\346\210\252\345\233\276\357\274\2102\357\274\211.png"
deleted file mode 100644
index 8df94e442..000000000
Binary files "a/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214\346\210\252\345\233\276\357\274\2102\357\274\211.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214.md" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214.md"
deleted file mode 100644
index dfcd43d2d..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214.md"
+++ /dev/null
@@ -1,32 +0,0 @@
-# 第六次实验
-## 一.实验目的
-
-1.掌握Android网络访问方法;
-
-## 二.实验内容
-
-1.从网络下载一个图片;
-
-2.保存到手机,在应用中使用文件;
-
-3.将应用运行结果截图。
-
-## 三.实验步骤
-
-1.先创建一个ThirdActivity负责下载图片
-
-2.创建按钮“下载”,并为之加一个监听器启动线程负责下载图片
-
-3.在xml文件上创建好ImageView,button和输入框
-
-4.在Activity线程上完善下载代码
-四.实验截图
-
-![](https://github.com/LJJ995/android-labs-2018/blob/master/Soft1606070302235/%E7%AC%AC%E5%85%AD%E6%AC%A1%E8%AF%95%E9%AA%8C/%E7%AC%AC%E5%85%AD%E6%AC%A1%E8%AF%95%E9%AA%8C.png)
-
-![](https://github.com/LJJ995/android-labs-2018/blob/master/Soft1606070302235/%E7%AC%AC%E5%85%AD%E6%AC%A1%E8%AF%95%E9%AA%8C/%E7%AC%AC%E5%85%AD%E6%AC%A1%E8%AF%95%E9%AA%8C2.png)
-
-
-## 五.实验体会
-1.通过这次实验,学会在网上下载一张图片并接其显示出来。
-2.学会了thread启动,并调用start()启动线程。
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/AndroidManifest.xml" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/AndroidManifest.xml"
deleted file mode 100644
index 82bd8eae7..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/AndroidManifest.xml"
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/ThirdActivity.java" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/ThirdActivity.java"
deleted file mode 100644
index 1b5e04162..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/ThirdActivity.java"
+++ /dev/null
@@ -1,102 +0,0 @@
-package edu.hzuapps.androidlabs.soft1606070302235;
-
-import android.os.Bundle;
-import android.support.design.widget.FloatingActionButton;
-import android.support.design.widget.Snackbar;
-import android.support.v7.app.AppCompatActivity;
-import android.support.v7.widget.Toolbar;
-import android.view.View;
-import java.io.File;
-import java.io.FileOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.net.MalformedURLException;
-import java.net.URL;
-
-import android.app.Activity;
-import android.content.Intent;
-import android.graphics.Bitmap;
-import android.graphics.BitmapFactory;
-import android.os.Bundle;
-import android.os.Environment;
-import android.os.Handler;
-import android.os.Message;
-import android.view.View;
-import android.view.View.OnClickListener;
-import android.widget.Button;
-import android.widget.EditText;
-import android.widget.ImageView;
-
-import static edu.hzuapps.androidlabs.soft1606070302235.R.id.fab;
-
-public class ThirdActivity extends AppCompatActivity {
- private EditText editText;
- private Button button;
- private ImageView imageView;
- private Bitmap bitmap;
-
- Handler h;
-
- {
- h= new Handler() {
- public void handleMessage(Message msg) {
- if (msg.what == 111) {
- imageView.setImageBitmap(bitmap);
- }
- }
-
- ;
- };
- }
-
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_third);
- Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
- setSupportActionBar(toolbar);
- setContentView(R.layout.activity_third);
- editText = (EditText) findViewById(R.id.imagepath);
- button = (Button) findViewById(R.id.upload);
- imageView = (ImageView) findViewById(R.id.imageView);
- button.setOnClickListener(new OnClickListener() {
- public void onClick(View arg0) {
- new Thread(t).start();
- }
- });
- }
-
- //为了下载图片资源,开辟一个新的子线程
- Thread t=new Thread(){
- public void run() {
- //下载图片的路径
- String iPath=editText.getText().toString();
- try {
- //对资源链接
- URL url=new URL(iPath);
- //打开输入流
- InputStream inputStream=url.openStream();
- //对网上资源进行下载转换位图图片
- bitmap=BitmapFactory.decodeStream(inputStream);
- h.sendEmptyMessage(111);
- inputStream.close();
-
- //再一次打开
- inputStream=url.openStream();
- File file=new File(Environment.getExternalStorageDirectory()+"/DCIM/");
- FileOutputStream fileOutputStream=new FileOutputStream(file);
- int hasRead=0;
- while((hasRead=inputStream.read())!=-1){
- fileOutputStream.write(hasRead);
- }
- fileOutputStream.close();
- inputStream.close();
- } catch (MalformedURLException e) {
- e.printStackTrace();
- } catch (IOException e) {
- e.printStackTrace();
- }
- };
- };
-
-
-}
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/activity_third.xml" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/activity_third.xml"
deleted file mode 100644
index 27fa12f7a..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/activity_third.xml"
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/SecondActivity.java" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/SecondActivity.java"
deleted file mode 100644
index 763cc5769..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/SecondActivity.java"
+++ /dev/null
@@ -1,151 +0,0 @@
-package edu.hzuapps.androidlabs.soft1606070302235;
-
-import java.text.SimpleDateFormat;
-import java.util.Calendar;
-import java.util.Date;
-
-import com.example.beans.Cuns;
-import com.example.luoji.MyDataBase;
-import com.example.luoji.MyOpenHelper;
-
-import android.os.Bundle;
-import android.app.Activity;
-import android.app.AlertDialog;
-import android.content.DialogInterface;
-import android.content.Intent;
-import android.database.sqlite.SQLiteDatabase;
-import android.view.Menu;
-import android.view.MenuItem;
-import android.view.View;
-import android.view.View.OnClickListener;
-import android.widget.Button;
-import android.widget.EditText;
-import android.widget.Toast;
-
-/*
- *用来编辑日记
- *主要包括一个方法,isSave()用来保存数据;
- */
-public class SecondActivity extends Activity {
-
- EditText ed1,ed2;
- Button bt1;
- MyDataBase myDatabase;
- Cuns cun;
- int ids;
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_second);
- ed1=(EditText) findViewById(R.id.editText1);
- ed2=(EditText) findViewById(R.id.editText2);
- bt1=(Button) findViewById(R.id.button1);
- myDatabase=new MyDataBase(this);
-
- Intent intent=this.getIntent();
- ids=intent.getIntExtra("ids", 0);
- //默认为0,不为0,则为修改数据时跳转过来的
- if(ids!=0){
- cun=myDatabase.getTiandCon(ids);
- ed1.setText(cun.getTitle());
- ed2.setText(cun.getContent());
- }
- //保存按钮的点击事件,他和返回按钮是一样的功能,所以都调用isSave()方法;
- bt1.setOnClickListener(new OnClickListener() {
-
- @Override
- public void onClick(View v) {
- // TODO Auto-generated method stub
- isSave();
- }
- });
- }
- /*
- * 返回按钮调用的方法。
- * @see android.app.Activity#onBackPressed()
- */
- @Override
- public void onBackPressed() {
- // TODO Auto-generated method stub
- //super.onBackPressed();
- SimpleDateFormat formatter = new SimpleDateFormat ("yyyy.MM.dd HH:mm:ss");
- Date curDate = new Date(System.currentTimeMillis());//获取当前时间
- String times = formatter.format(curDate);
- String title=ed1.getText().toString();
- String content=ed2.getText().toString();
- //是要修改数据
- if(ids!=0){
- cun=new Cuns(title,ids, content, times);
- myDatabase.toUpdate(cun);
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
- //新建日记
- else{
- if(title.equals("")&&content.equals("")){
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
- else{
- cun=new Cuns(title,content,times);
- myDatabase.toInsert(cun);
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
-
- }
- }
- private void isSave(){
- SimpleDateFormat formatter = new SimpleDateFormat ("yyyy.MM.dd HH:mm:ss");
- Date curDate = new Date(System.currentTimeMillis());//获取当前时间
- String times = formatter.format(curDate);
- String title=ed1.getText().toString();
- String content=ed2.getText().toString();
- //是要修改数据
- if(ids!=0){
- cun=new Cuns(title,ids, content, times);
- myDatabase.toUpdate(cun);
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
- //新建日记
- else{
- cun=new Cuns(title,content,times);
- myDatabase.toInsert(cun);
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
- }
-
-
- @Override
- public boolean onCreateOptionsMenu(Menu menu) {
- // Inflate the menu; this adds items to the action bar if it is present.
- getMenuInflater().inflate(R.menu.second_activity, menu);
- return true;
- }
- @Override
- public boolean onOptionsItemSelected(MenuItem item) {
- // TODO Auto-generated method stub
- switch (item.getItemId()) {
- case R.id.action_settings:
- Intent intent=new Intent(Intent.ACTION_SEND);
- intent.setType("text/plain");
- intent.putExtra(Intent.EXTRA_TEXT, "标题:"+ed1.getText().toString()+" 内容:"+ed2.getText().toString());
- startActivity(intent);
- break;
-
- default:
- break;
- }
- return false;
- }
-
-
-}
-
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/Soft1606070302235Activity.java" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/Soft1606070302235Activity.java"
deleted file mode 100644
index 08b5b5573..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/Soft1606070302235Activity.java"
+++ /dev/null
@@ -1,149 +0,0 @@
-package edu.hzuapps.androidlabs.soft1606070302235;
-import java.util.ArrayList;
-
-import com.example.beans.Cuns;
-import com.example.luoji.MyAdapter;
-import com.example.luoji.MyDataBase;
-
-import android.os.Bundle;
-import android.app.Activity;
-import android.app.AlertDialog;
-import android.content.DialogInterface;
-import android.content.Intent;
-import android.view.LayoutInflater;
-import android.view.Menu;
-import android.view.MenuItem;
-import android.view.View;
-import android.view.View.OnClickListener;
-import android.view.View.OnLongClickListener;
-import android.widget.AdapterView;
-import android.widget.AdapterView.OnItemClickListener;
-import android.widget.AdapterView.OnItemLongClickListener;
-import android.widget.Button;
-import android.widget.ListView;
-
-/*
- * 这个类主要包括五个点击事件,分别为
- * 1,ListView的长按点击事件,用来AlertDialog来判断是否删除数据。
- * 2,ListView的点击事件,跳转到第二个界面,用来修改数据
- * 3,新建便签按钮的点击事件,跳转到第二界面,用来新建便签
- * 4,menu里的退出事件,用来退出程序
- * 5,menu里的新建事件,用来新建便签
- */
-public class Soft1606070302235Activity extends Activity {
-
- Button bt;
- ListView lv;
- LayoutInflater inflater;
- ArrayList array;
- MyDataBase mdb;
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_soft1606070302235);
-
- lv=(ListView) findViewById(R.id.listView1);
- bt=(Button) findViewById(R.id.button1);
- inflater=getLayoutInflater();
-
- mdb=new MyDataBase(this);
- array=mdb.getArray();
- MyAdapter adapter=new MyAdapter(inflater,array);
- lv.setAdapter(adapter);
- /*
- * 点击listView里面的item,进入到第二个页面,用来修改日记
- */
- lv.setOnItemClickListener(new OnItemClickListener() {
- @Override
- public void onItemClick(AdapterView> parent, View view,
- int position, long id) {
- // TODO Auto-generated method stub
- Intent intent=new Intent(getApplicationContext(),SecondActivity.class);
- intent.putExtra("ids",array.get(position).getIds() );
- startActivity(intent);
- Soft1606070302235Activity.this.finish();
- }
- });
- /*
- * 长点后来判断是否删除数据
- */
- lv.setOnItemLongClickListener(new OnItemLongClickListener() {
-
- @Override
- public boolean onItemLongClick(AdapterView> parent, View view,
- final int position, long id) {
- // TODO Auto-generated method stub
- //AlertDialog,来判断是否删除日记。
- new AlertDialog.Builder(Soft1606070302235Activity.this)
- .setTitle("删除")
- .setMessage("是否删除笔记")
- .setNegativeButton("取消", new DialogInterface.OnClickListener() {
-
- @Override
- public void onClick(DialogInterface dialog, int which) {
- // TODO Auto-generated method stub
-
- }
- })
- .setPositiveButton("确定", new DialogInterface.OnClickListener() {
-
- @Override
- public void onClick(DialogInterface dialog, int which) {
- // TODO Auto-generated method stub
- mdb.toDelete(array.get(position).getIds());
- array=mdb.getArray();
- MyAdapter adapter=new MyAdapter(inflater,array);
- lv.setAdapter(adapter);
- }
- })
- .create().show();
- return true;
- }
- });
- /*
- * 按钮点击事件,用来新建日记
- */
- bt.setOnClickListener(new OnClickListener() {
-
- @Override
- public void onClick(View v) {
- // TODO Auto-generated method stub
- Intent intent=new Intent(getApplicationContext(),SecondActivity.class);
- startActivity(intent);
- Soft1606070302235Activity.this.finish();
- }
- });
-
-
-
- }
-
- @Override
- public boolean onCreateOptionsMenu(Menu menu) {
- // Inflate the menu; this adds items to the action bar if it is present.
- getMenuInflater().inflate(R.menu.main, menu);
- return true;
- }
-
- @Override
- public boolean onOptionsItemSelected(MenuItem item) {
- // TODO Auto-generated method stub
- switch (item.getItemId()) {
- case R.id.item1:
- Intent intent=new Intent(getApplicationContext(),SecondActivity.class);
- startActivity(intent);
- this.finish();
- break;
- case R.id.item2:
- this.finish();
- break;
- default:
- break;
- }
- return true;
-
- }
-
-
-}
-
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/beans/Cuns.java" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/beans/Cuns.java"
deleted file mode 100644
index 5a8d3c72a..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/beans/Cuns.java"
+++ /dev/null
@@ -1,43 +0,0 @@
-package com.example.beans;
-/*
- * ������ʱ�洢����
- */
-public class Cuns {
- private String title;//����
- private String content;//����
- private String times;//ʱ��
- private int ids;//���
- public Cuns(String ti,int id,String con ,String time){
- this.ids=id;
- this.title=ti;
- this.content=con;
- this.times=time;
- }
- public Cuns(String ti,String con,String time){
- this.title=ti;
- this.content=con;
- this.times=time;
- }
- public Cuns(int i,String ti,String time){
- this.ids=i;
- this.title=ti;
- this.times=time;
- }
- public Cuns(String ti,String con){
- this.title=ti;
- this.content=con;
- }
-public int getIds() {
- return ids;
-}
-public String getTitle() {
- return title;
-}
-public String getContent() {
- return content;
-}
-public String getTimes() {
- return times;
-}
-
-}
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyAdapter.java" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyAdapter.java"
deleted file mode 100644
index 409d5b953..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyAdapter.java"
+++ /dev/null
@@ -1,63 +0,0 @@
-package com.example.luoji;
-
-import java.util.ArrayList;
-
-import com.example.beans.Cuns;
-import com.example.ibook.R;
-
-
-import android.view.LayoutInflater;
-import android.view.View;
-import android.view.ViewGroup;
-import android.widget.BaseAdapter;
-import android.widget.TextView;
-
-/*
- * �������ListView,��γɹ�����������ҳ����룬ֻҪ����������ֵ��inflater ,������ArrayList<>;
- */
-public class MyAdapter extends BaseAdapter{
-
- LayoutInflater inflater;
- ArrayList array;
- public MyAdapter(LayoutInflater inf,ArrayList arry){
- this.inflater=inf;
- this.array=arry;
- }
- @Override
- public int getCount() {
- // TODO Auto-generated method stub
- return array.size();
- }
-
- @Override
- public Object getItem(int position) {
- // TODO Auto-generated method stub
- return array.get(position);
- }
-
- @Override
- public long getItemId(int position) {
- // TODO Auto-generated method stub
- return position;
- }
-
- @Override
- public View getView(int position, View convertView, ViewGroup parent) {
- // TODO Auto-generated method stub
- ViewHolder vh;
- if(convertView==null){
- vh=new ViewHolder();
- convertView=inflater.inflate(R.layout.adapter_listview, null);//ע�������ϵͳ��
- vh.tv1=(TextView) convertView.findViewById(R.id.textView1);
- vh.tv2=(TextView) convertView.findViewById(R.id.textView2);
- convertView.setTag(vh);
- }
- vh=(ViewHolder) convertView.getTag();
- vh.tv1.setText(array.get(position).getTitle());
- vh.tv2.setText(array.get(position).getTimes());
- return convertView;
- }
- class ViewHolder{
- TextView tv1,tv2;
- }
-}
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyDataBase.java" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyDataBase.java"
deleted file mode 100644
index 39bd944a8..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyDataBase.java"
+++ /dev/null
@@ -1,86 +0,0 @@
-package com.example.luoji;
-
-import java.util.ArrayList;
-
-import com.example.beans.Cuns;
-
-import android.content.Context;
-import android.database.Cursor;
-import android.database.sqlite.SQLiteDatabase;
-/*
- * ר���������ݿ�������࣬�����Ľ����Ƿdz���ȷ�ģ������е����ݿ�������ŵ���������������ֱ�ӵ��þͺ��ˡ�
- * ���ݵ�����ɾ���ģ��飬��������ʵ��
- */
-public class MyDataBase {
- Context context;
- MyOpenHelper myHelper;
- SQLiteDatabase myDatabase;
- /*
- * �����ʵ����������ͬʱ���������ݿ�
- */
- public MyDataBase(Context con){
- this.context=con;
- myHelper=new MyOpenHelper(context);
- }
- /*
- * �õ����ListView�õ�array���ݣ������ݿ�����Һ��������һ���������
- */
- public ArrayList getArray(){
- ArrayList array=new ArrayList();
- ArrayList array1=new ArrayList();
- myDatabase=myHelper.getWritableDatabase();
- Cursor cursor=myDatabase.rawQuery("select ids,title,times from mybook" , null);
- cursor.moveToFirst();
- while(!cursor.isAfterLast()){
- int id=cursor.getInt(cursor.getColumnIndex("ids"));
- String title=cursor.getString(cursor.getColumnIndex("title"));
- String times=cursor.getString(cursor.getColumnIndex("times"));
- Cuns cun=new Cuns(id, title, times);
- array.add(cun);
- cursor.moveToNext();
- }
- myDatabase.close();
- for (int i = array.size(); i >0; i--) {
- array1.add(array.get(i-1));
- }
- return array1;
- }
-
- /*
- * ���ؿ���Ҫ�ĵ����ݣ��ڶ���������á�
- */
- public Cuns getTiandCon(int id){
- myDatabase=myHelper.getWritableDatabase();
- Cursor cursor=myDatabase.rawQuery("select title,content from mybook where ids='"+id+"'" , null);
- cursor.moveToFirst();
- String title=cursor.getString(cursor.getColumnIndex("title"));
- String content=cursor.getString(cursor.getColumnIndex("content"));
- Cuns cun=new Cuns(title,content);
- myDatabase.close();
- return cun;
- }
- /*
- * �ڶ���������ã��������ռ�
- */
- public void toUpdate(Cuns cun){
- myDatabase=myHelper.getWritableDatabase();
- myDatabase.execSQL("update mybook set title='"+ cun.getTitle()+"',times='"+cun.getTimes()+"',content='"+cun.getContent() +"' where ids='"+ cun.getIds()+"'");
- myDatabase.close();
- }
- /*
- *�ڶ���������ã����������µ��ռ�
- */
- public void toInsert(Cuns cun){
- myDatabase=myHelper.getWritableDatabase();
- myDatabase.execSQL("insert into mybook(title,content,times)values('"+ cun.getTitle()+"','"+cun.getContent()+"','"+cun.getTimes()+"')");
- myDatabase.close();
- }
- /*
- * ��һ��������ã����������ѡ��ɾ���ռ�
- */
- public void toDelete(int ids){
- myDatabase=myHelper.getWritableDatabase();
- myDatabase.execSQL("delete from mybook where ids="+ids+"");
- myDatabase.close();
- }
-}
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyOpenHelper.java" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyOpenHelper.java"
deleted file mode 100644
index 3b7fbb541..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyOpenHelper.java"
+++ /dev/null
@@ -1,31 +0,0 @@
-package com.example.luoji;
-
-import android.content.Context;
-import android.database.sqlite.SQLiteDatabase;
-import android.database.sqlite.SQLiteDatabase.CursorFactory;
-import android.database.sqlite.SQLiteOpenHelper;
-
-/*
- * ��д��SQLiteOpenHelper�࣬�����������ݿ⣬���б����Լ���Ӧ�úú�ѧϰһ�¡�
- */
-public class MyOpenHelper extends SQLiteOpenHelper{
-
- public MyOpenHelper(Context context) {
- super(context, "mydate", null, 1);
- // TODO Auto-generated constructor stub
- }
-
- @Override
- public void onCreate(SQLiteDatabase db) {
- // TODO Auto-generated method stub
- db.execSQL("create table mybook(ids integer PRIMARY KEY autoincrement,title text,content text,times text)");
- }
-
- @Override
- public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
- // TODO Auto-generated method stub
-
- }
-
-
-}
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/drawable-v24/ic_launcher_foreground.xml" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/drawable-v24/ic_launcher_foreground.xml"
deleted file mode 100644
index c7bd21dbd..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/drawable-v24/ic_launcher_foreground.xml"
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/drawable/btnselector.xml" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/drawable/btnselector.xml"
deleted file mode 100644
index 1d1103b5d..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/drawable/btnselector.xml"
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/drawable/ic_launcher_background.xml" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/drawable/ic_launcher_background.xml"
deleted file mode 100644
index d5fccc538..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/drawable/ic_launcher_background.xml"
+++ /dev/null
@@ -1,170 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/drawable/icon_app.png" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/drawable/icon_app.png"
deleted file mode 100644
index 418aadc70..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/drawable/icon_app.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/drawable/new_note_normal.png" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/drawable/new_note_normal.png"
deleted file mode 100644
index 40e3b8e0e..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/drawable/new_note_normal.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/drawable/new_note_pressed.png" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/drawable/new_note_pressed.png"
deleted file mode 100644
index c7489362c..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/drawable/new_note_pressed.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/layout/activity_second.xml" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/layout/activity_second.xml"
deleted file mode 100644
index 7970448cd..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/layout/activity_second.xml"
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/layout/activity_soft1606070302235.xml" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/layout/activity_soft1606070302235.xml"
deleted file mode 100644
index b6a91db85..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/layout/activity_soft1606070302235.xml"
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/layout/adapter_listview.xml" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/layout/adapter_listview.xml"
deleted file mode 100644
index d8a18c915..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/layout/adapter_listview.xml"
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/layout/content_soft1606070302235.xml" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/layout/content_soft1606070302235.xml"
deleted file mode 100644
index 431774878..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/layout/content_soft1606070302235.xml"
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/menu/main.xml" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/menu/main.xml"
deleted file mode 100644
index 9812cefa3..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/menu/main.xml"
+++ /dev/null
@@ -1,14 +0,0 @@
-
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/menu/menu_soft1606070302235.xml" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/menu/menu_soft1606070302235.xml"
deleted file mode 100644
index d475d8d56..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/menu/menu_soft1606070302235.xml"
+++ /dev/null
@@ -1,10 +0,0 @@
-
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/menu/second_activity.xml" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/menu/second_activity.xml"
deleted file mode 100644
index 0b08300c2..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/menu/second_activity.xml"
+++ /dev/null
@@ -1,9 +0,0 @@
-
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher.xml" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher.xml"
deleted file mode 100644
index eca70cfe5..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher.xml"
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher_round.xml" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher_round.xml"
deleted file mode 100644
index eca70cfe5..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher_round.xml"
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher.png" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher.png"
deleted file mode 100644
index a2f590828..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher_round.png" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher_round.png"
deleted file mode 100644
index 1b5239980..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher_round.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher.png" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher.png"
deleted file mode 100644
index ff10afd6e..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher_round.png" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher_round.png"
deleted file mode 100644
index 115a4c768..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher_round.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher.png" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher.png"
deleted file mode 100644
index dcd3cd808..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher_round.png" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher_round.png"
deleted file mode 100644
index 459ca609d..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher_round.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher.png" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher.png"
deleted file mode 100644
index 8ca12fe02..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher_round.png" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher_round.png"
deleted file mode 100644
index 8e19b410a..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher_round.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher.png" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher.png"
deleted file mode 100644
index b824ebdd4..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher_round.png" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher_round.png"
deleted file mode 100644
index 4c19a13c2..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher_round.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/values/colors.xml" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/values/colors.xml"
deleted file mode 100644
index 3ab3e9cbc..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/values/colors.xml"
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
- #3F51B5
- #303F9F
- #FF4081
-
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/values/dimens.xml" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/values/dimens.xml"
deleted file mode 100644
index 59a0b0c4f..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/values/dimens.xml"
+++ /dev/null
@@ -1,3 +0,0 @@
-
- 16dp
-
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/values/strings.xml" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/values/strings.xml"
deleted file mode 100644
index 1985fc57f..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/values/strings.xml"
+++ /dev/null
@@ -1,6 +0,0 @@
-
- Soft1606070302235
- 易迹
- Settings
- SecondActivity
-
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/values/styles.xml" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/values/styles.xml"
deleted file mode 100644
index 545b9c6d2..000000000
--- "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/res/values/styles.xml"
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214.png" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214.png"
deleted file mode 100644
index dec17621d..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\2142.png" "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\2142.png"
deleted file mode 100644
index 775a73d8a..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\2142.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2101\357\274\211.png" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2101\357\274\211.png"
deleted file mode 100644
index 4c587076d..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2101\357\274\211.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2102\357\274\211.png" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2102\357\274\211.png"
deleted file mode 100644
index df9c2f541..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2102\357\274\211.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214.md" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214.md"
deleted file mode 100644
index 92c4bf7b4..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214.md"
+++ /dev/null
@@ -1,24 +0,0 @@
-# 第四次实验
-
-## 1、实验目的
-1.根据选题要求设计界面布局及控件使用。
-2.布局xml及界面控制操作代码提交并截图。
-3.将应用运行结果截图。
-
-## 2、实验内容
-1.使用一种布局方式,设计所选题目的界面。
-2.通过控件ID获取界面对象,执行相关操作。
-3.实现界面控件的事件处理,例如点击按钮。
-
-## 3、实验步骤
-1、在activity_second.xml中设置使用LinearLayout布局,设置Button节点并调整节点的大小和位置。
-2、在SecondActivity中实现OnClickListener,重写onClick方法。
-3、编译、运行程序,在红米NOTE中进行效果测试。
-
-## 4、实验截图
-![](https://github.com/LJJ995/android-labs-2018/blob/master/Soft1606070302235/%E7%AC%AC%E5%9B%9B%E6%AC%A1%E5%AE%9E%E9%AA%8C%E6%88%AA%E5%9B%BE%EF%BC%881%EF%BC%89.png)
-![](https://github.com/LJJ995/android-labs-2018/blob/master/Soft1606070302235/%E7%AC%AC%E5%9B%9B%E6%AC%A1%E5%AE%9E%E9%AA%8C%E6%88%AA%E5%9B%BE%EF%BC%882%EF%BC%89.png)
-## 5、实验体会
- 1、对java有更深入的了解。
- 2、本次实验学会了怎样布局,并在查找资料过程中学会各种布局方式,通过实现OnClickListener对事件监听。
- 3、要注意XML文件标签的开始与结束要相互对应。
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/AndroidManifest.xml" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/AndroidManifest.xml"
deleted file mode 100644
index 7865b92ba..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/AndroidManifest.xml"
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/SecondActivity.java" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/SecondActivity.java"
deleted file mode 100644
index 763cc5769..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/SecondActivity.java"
+++ /dev/null
@@ -1,151 +0,0 @@
-package edu.hzuapps.androidlabs.soft1606070302235;
-
-import java.text.SimpleDateFormat;
-import java.util.Calendar;
-import java.util.Date;
-
-import com.example.beans.Cuns;
-import com.example.luoji.MyDataBase;
-import com.example.luoji.MyOpenHelper;
-
-import android.os.Bundle;
-import android.app.Activity;
-import android.app.AlertDialog;
-import android.content.DialogInterface;
-import android.content.Intent;
-import android.database.sqlite.SQLiteDatabase;
-import android.view.Menu;
-import android.view.MenuItem;
-import android.view.View;
-import android.view.View.OnClickListener;
-import android.widget.Button;
-import android.widget.EditText;
-import android.widget.Toast;
-
-/*
- *用来编辑日记
- *主要包括一个方法,isSave()用来保存数据;
- */
-public class SecondActivity extends Activity {
-
- EditText ed1,ed2;
- Button bt1;
- MyDataBase myDatabase;
- Cuns cun;
- int ids;
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_second);
- ed1=(EditText) findViewById(R.id.editText1);
- ed2=(EditText) findViewById(R.id.editText2);
- bt1=(Button) findViewById(R.id.button1);
- myDatabase=new MyDataBase(this);
-
- Intent intent=this.getIntent();
- ids=intent.getIntExtra("ids", 0);
- //默认为0,不为0,则为修改数据时跳转过来的
- if(ids!=0){
- cun=myDatabase.getTiandCon(ids);
- ed1.setText(cun.getTitle());
- ed2.setText(cun.getContent());
- }
- //保存按钮的点击事件,他和返回按钮是一样的功能,所以都调用isSave()方法;
- bt1.setOnClickListener(new OnClickListener() {
-
- @Override
- public void onClick(View v) {
- // TODO Auto-generated method stub
- isSave();
- }
- });
- }
- /*
- * 返回按钮调用的方法。
- * @see android.app.Activity#onBackPressed()
- */
- @Override
- public void onBackPressed() {
- // TODO Auto-generated method stub
- //super.onBackPressed();
- SimpleDateFormat formatter = new SimpleDateFormat ("yyyy.MM.dd HH:mm:ss");
- Date curDate = new Date(System.currentTimeMillis());//获取当前时间
- String times = formatter.format(curDate);
- String title=ed1.getText().toString();
- String content=ed2.getText().toString();
- //是要修改数据
- if(ids!=0){
- cun=new Cuns(title,ids, content, times);
- myDatabase.toUpdate(cun);
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
- //新建日记
- else{
- if(title.equals("")&&content.equals("")){
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
- else{
- cun=new Cuns(title,content,times);
- myDatabase.toInsert(cun);
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
-
- }
- }
- private void isSave(){
- SimpleDateFormat formatter = new SimpleDateFormat ("yyyy.MM.dd HH:mm:ss");
- Date curDate = new Date(System.currentTimeMillis());//获取当前时间
- String times = formatter.format(curDate);
- String title=ed1.getText().toString();
- String content=ed2.getText().toString();
- //是要修改数据
- if(ids!=0){
- cun=new Cuns(title,ids, content, times);
- myDatabase.toUpdate(cun);
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
- //新建日记
- else{
- cun=new Cuns(title,content,times);
- myDatabase.toInsert(cun);
- Intent intent=new Intent(SecondActivity.this,Soft1606070302235Activity.class);
- startActivity(intent);
- SecondActivity.this.finish();
- }
- }
-
-
- @Override
- public boolean onCreateOptionsMenu(Menu menu) {
- // Inflate the menu; this adds items to the action bar if it is present.
- getMenuInflater().inflate(R.menu.second_activity, menu);
- return true;
- }
- @Override
- public boolean onOptionsItemSelected(MenuItem item) {
- // TODO Auto-generated method stub
- switch (item.getItemId()) {
- case R.id.action_settings:
- Intent intent=new Intent(Intent.ACTION_SEND);
- intent.setType("text/plain");
- intent.putExtra(Intent.EXTRA_TEXT, "标题:"+ed1.getText().toString()+" 内容:"+ed2.getText().toString());
- startActivity(intent);
- break;
-
- default:
- break;
- }
- return false;
- }
-
-
-}
-
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/Soft1606070302235Activity.java" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/Soft1606070302235Activity.java"
deleted file mode 100644
index 08b5b5573..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/Soft1606070302235/Soft1606070302235Activity.java"
+++ /dev/null
@@ -1,149 +0,0 @@
-package edu.hzuapps.androidlabs.soft1606070302235;
-import java.util.ArrayList;
-
-import com.example.beans.Cuns;
-import com.example.luoji.MyAdapter;
-import com.example.luoji.MyDataBase;
-
-import android.os.Bundle;
-import android.app.Activity;
-import android.app.AlertDialog;
-import android.content.DialogInterface;
-import android.content.Intent;
-import android.view.LayoutInflater;
-import android.view.Menu;
-import android.view.MenuItem;
-import android.view.View;
-import android.view.View.OnClickListener;
-import android.view.View.OnLongClickListener;
-import android.widget.AdapterView;
-import android.widget.AdapterView.OnItemClickListener;
-import android.widget.AdapterView.OnItemLongClickListener;
-import android.widget.Button;
-import android.widget.ListView;
-
-/*
- * 这个类主要包括五个点击事件,分别为
- * 1,ListView的长按点击事件,用来AlertDialog来判断是否删除数据。
- * 2,ListView的点击事件,跳转到第二个界面,用来修改数据
- * 3,新建便签按钮的点击事件,跳转到第二界面,用来新建便签
- * 4,menu里的退出事件,用来退出程序
- * 5,menu里的新建事件,用来新建便签
- */
-public class Soft1606070302235Activity extends Activity {
-
- Button bt;
- ListView lv;
- LayoutInflater inflater;
- ArrayList array;
- MyDataBase mdb;
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_soft1606070302235);
-
- lv=(ListView) findViewById(R.id.listView1);
- bt=(Button) findViewById(R.id.button1);
- inflater=getLayoutInflater();
-
- mdb=new MyDataBase(this);
- array=mdb.getArray();
- MyAdapter adapter=new MyAdapter(inflater,array);
- lv.setAdapter(adapter);
- /*
- * 点击listView里面的item,进入到第二个页面,用来修改日记
- */
- lv.setOnItemClickListener(new OnItemClickListener() {
- @Override
- public void onItemClick(AdapterView> parent, View view,
- int position, long id) {
- // TODO Auto-generated method stub
- Intent intent=new Intent(getApplicationContext(),SecondActivity.class);
- intent.putExtra("ids",array.get(position).getIds() );
- startActivity(intent);
- Soft1606070302235Activity.this.finish();
- }
- });
- /*
- * 长点后来判断是否删除数据
- */
- lv.setOnItemLongClickListener(new OnItemLongClickListener() {
-
- @Override
- public boolean onItemLongClick(AdapterView> parent, View view,
- final int position, long id) {
- // TODO Auto-generated method stub
- //AlertDialog,来判断是否删除日记。
- new AlertDialog.Builder(Soft1606070302235Activity.this)
- .setTitle("删除")
- .setMessage("是否删除笔记")
- .setNegativeButton("取消", new DialogInterface.OnClickListener() {
-
- @Override
- public void onClick(DialogInterface dialog, int which) {
- // TODO Auto-generated method stub
-
- }
- })
- .setPositiveButton("确定", new DialogInterface.OnClickListener() {
-
- @Override
- public void onClick(DialogInterface dialog, int which) {
- // TODO Auto-generated method stub
- mdb.toDelete(array.get(position).getIds());
- array=mdb.getArray();
- MyAdapter adapter=new MyAdapter(inflater,array);
- lv.setAdapter(adapter);
- }
- })
- .create().show();
- return true;
- }
- });
- /*
- * 按钮点击事件,用来新建日记
- */
- bt.setOnClickListener(new OnClickListener() {
-
- @Override
- public void onClick(View v) {
- // TODO Auto-generated method stub
- Intent intent=new Intent(getApplicationContext(),SecondActivity.class);
- startActivity(intent);
- Soft1606070302235Activity.this.finish();
- }
- });
-
-
-
- }
-
- @Override
- public boolean onCreateOptionsMenu(Menu menu) {
- // Inflate the menu; this adds items to the action bar if it is present.
- getMenuInflater().inflate(R.menu.main, menu);
- return true;
- }
-
- @Override
- public boolean onOptionsItemSelected(MenuItem item) {
- // TODO Auto-generated method stub
- switch (item.getItemId()) {
- case R.id.item1:
- Intent intent=new Intent(getApplicationContext(),SecondActivity.class);
- startActivity(intent);
- this.finish();
- break;
- case R.id.item2:
- this.finish();
- break;
- default:
- break;
- }
- return true;
-
- }
-
-
-}
-
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/beans/Cuns.java" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/beans/Cuns.java"
deleted file mode 100644
index 5a8d3c72a..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/beans/Cuns.java"
+++ /dev/null
@@ -1,43 +0,0 @@
-package com.example.beans;
-/*
- * ������ʱ�洢����
- */
-public class Cuns {
- private String title;//����
- private String content;//����
- private String times;//ʱ��
- private int ids;//���
- public Cuns(String ti,int id,String con ,String time){
- this.ids=id;
- this.title=ti;
- this.content=con;
- this.times=time;
- }
- public Cuns(String ti,String con,String time){
- this.title=ti;
- this.content=con;
- this.times=time;
- }
- public Cuns(int i,String ti,String time){
- this.ids=i;
- this.title=ti;
- this.times=time;
- }
- public Cuns(String ti,String con){
- this.title=ti;
- this.content=con;
- }
-public int getIds() {
- return ids;
-}
-public String getTitle() {
- return title;
-}
-public String getContent() {
- return content;
-}
-public String getTimes() {
- return times;
-}
-
-}
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyAdapter.java" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyAdapter.java"
deleted file mode 100644
index 409d5b953..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyAdapter.java"
+++ /dev/null
@@ -1,63 +0,0 @@
-package com.example.luoji;
-
-import java.util.ArrayList;
-
-import com.example.beans.Cuns;
-import com.example.ibook.R;
-
-
-import android.view.LayoutInflater;
-import android.view.View;
-import android.view.ViewGroup;
-import android.widget.BaseAdapter;
-import android.widget.TextView;
-
-/*
- * �������ListView,��γɹ�����������ҳ����룬ֻҪ����������ֵ��inflater ,������ArrayList<>;
- */
-public class MyAdapter extends BaseAdapter{
-
- LayoutInflater inflater;
- ArrayList array;
- public MyAdapter(LayoutInflater inf,ArrayList arry){
- this.inflater=inf;
- this.array=arry;
- }
- @Override
- public int getCount() {
- // TODO Auto-generated method stub
- return array.size();
- }
-
- @Override
- public Object getItem(int position) {
- // TODO Auto-generated method stub
- return array.get(position);
- }
-
- @Override
- public long getItemId(int position) {
- // TODO Auto-generated method stub
- return position;
- }
-
- @Override
- public View getView(int position, View convertView, ViewGroup parent) {
- // TODO Auto-generated method stub
- ViewHolder vh;
- if(convertView==null){
- vh=new ViewHolder();
- convertView=inflater.inflate(R.layout.adapter_listview, null);//ע�������ϵͳ��
- vh.tv1=(TextView) convertView.findViewById(R.id.textView1);
- vh.tv2=(TextView) convertView.findViewById(R.id.textView2);
- convertView.setTag(vh);
- }
- vh=(ViewHolder) convertView.getTag();
- vh.tv1.setText(array.get(position).getTitle());
- vh.tv2.setText(array.get(position).getTimes());
- return convertView;
- }
- class ViewHolder{
- TextView tv1,tv2;
- }
-}
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyDataBase.java" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyDataBase.java"
deleted file mode 100644
index 39bd944a8..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyDataBase.java"
+++ /dev/null
@@ -1,86 +0,0 @@
-package com.example.luoji;
-
-import java.util.ArrayList;
-
-import com.example.beans.Cuns;
-
-import android.content.Context;
-import android.database.Cursor;
-import android.database.sqlite.SQLiteDatabase;
-/*
- * ר���������ݿ�������࣬�����Ľ����Ƿdz���ȷ�ģ������е����ݿ�������ŵ���������������ֱ�ӵ��þͺ��ˡ�
- * ���ݵ�����ɾ���ģ��飬��������ʵ��
- */
-public class MyDataBase {
- Context context;
- MyOpenHelper myHelper;
- SQLiteDatabase myDatabase;
- /*
- * �����ʵ����������ͬʱ���������ݿ�
- */
- public MyDataBase(Context con){
- this.context=con;
- myHelper=new MyOpenHelper(context);
- }
- /*
- * �õ����ListView�õ�array���ݣ������ݿ�����Һ��������һ���������
- */
- public ArrayList getArray(){
- ArrayList array=new ArrayList();
- ArrayList array1=new ArrayList();
- myDatabase=myHelper.getWritableDatabase();
- Cursor cursor=myDatabase.rawQuery("select ids,title,times from mybook" , null);
- cursor.moveToFirst();
- while(!cursor.isAfterLast()){
- int id=cursor.getInt(cursor.getColumnIndex("ids"));
- String title=cursor.getString(cursor.getColumnIndex("title"));
- String times=cursor.getString(cursor.getColumnIndex("times"));
- Cuns cun=new Cuns(id, title, times);
- array.add(cun);
- cursor.moveToNext();
- }
- myDatabase.close();
- for (int i = array.size(); i >0; i--) {
- array1.add(array.get(i-1));
- }
- return array1;
- }
-
- /*
- * ���ؿ���Ҫ�ĵ����ݣ��ڶ���������á�
- */
- public Cuns getTiandCon(int id){
- myDatabase=myHelper.getWritableDatabase();
- Cursor cursor=myDatabase.rawQuery("select title,content from mybook where ids='"+id+"'" , null);
- cursor.moveToFirst();
- String title=cursor.getString(cursor.getColumnIndex("title"));
- String content=cursor.getString(cursor.getColumnIndex("content"));
- Cuns cun=new Cuns(title,content);
- myDatabase.close();
- return cun;
- }
- /*
- * �ڶ���������ã��������ռ�
- */
- public void toUpdate(Cuns cun){
- myDatabase=myHelper.getWritableDatabase();
- myDatabase.execSQL("update mybook set title='"+ cun.getTitle()+"',times='"+cun.getTimes()+"',content='"+cun.getContent() +"' where ids='"+ cun.getIds()+"'");
- myDatabase.close();
- }
- /*
- *�ڶ���������ã����������µ��ռ�
- */
- public void toInsert(Cuns cun){
- myDatabase=myHelper.getWritableDatabase();
- myDatabase.execSQL("insert into mybook(title,content,times)values('"+ cun.getTitle()+"','"+cun.getContent()+"','"+cun.getTimes()+"')");
- myDatabase.close();
- }
- /*
- * ��һ��������ã����������ѡ��ɾ���ռ�
- */
- public void toDelete(int ids){
- myDatabase=myHelper.getWritableDatabase();
- myDatabase.execSQL("delete from mybook where ids="+ids+"");
- myDatabase.close();
- }
-}
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyOpenHelper.java" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyOpenHelper.java"
deleted file mode 100644
index 3b7fbb541..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/java/edu/hzuapps/androidlabs/luoji/MyOpenHelper.java"
+++ /dev/null
@@ -1,31 +0,0 @@
-package com.example.luoji;
-
-import android.content.Context;
-import android.database.sqlite.SQLiteDatabase;
-import android.database.sqlite.SQLiteDatabase.CursorFactory;
-import android.database.sqlite.SQLiteOpenHelper;
-
-/*
- * ��д��SQLiteOpenHelper�࣬�����������ݿ⣬���б����Լ���Ӧ�úú�ѧϰһ�¡�
- */
-public class MyOpenHelper extends SQLiteOpenHelper{
-
- public MyOpenHelper(Context context) {
- super(context, "mydate", null, 1);
- // TODO Auto-generated constructor stub
- }
-
- @Override
- public void onCreate(SQLiteDatabase db) {
- // TODO Auto-generated method stub
- db.execSQL("create table mybook(ids integer PRIMARY KEY autoincrement,title text,content text,times text)");
- }
-
- @Override
- public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
- // TODO Auto-generated method stub
-
- }
-
-
-}
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/drawable-v24/ic_launcher_foreground.xml" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/drawable-v24/ic_launcher_foreground.xml"
deleted file mode 100644
index c7bd21dbd..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/drawable-v24/ic_launcher_foreground.xml"
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/drawable/btnselector.xml" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/drawable/btnselector.xml"
deleted file mode 100644
index 1d1103b5d..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/drawable/btnselector.xml"
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/drawable/ic_launcher_background.xml" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/drawable/ic_launcher_background.xml"
deleted file mode 100644
index d5fccc538..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/drawable/ic_launcher_background.xml"
+++ /dev/null
@@ -1,170 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/drawable/icon_app.png" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/drawable/icon_app.png"
deleted file mode 100644
index 418aadc70..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/drawable/icon_app.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/drawable/new_note_normal.png" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/drawable/new_note_normal.png"
deleted file mode 100644
index 40e3b8e0e..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/drawable/new_note_normal.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/drawable/new_note_pressed.png" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/drawable/new_note_pressed.png"
deleted file mode 100644
index c7489362c..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/drawable/new_note_pressed.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/layout/activity_second.xml" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/layout/activity_second.xml"
deleted file mode 100644
index 7970448cd..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/layout/activity_second.xml"
+++ /dev/null
@@ -1,80 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/layout/activity_soft1606070302235.xml" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/layout/activity_soft1606070302235.xml"
deleted file mode 100644
index b6a91db85..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/layout/activity_soft1606070302235.xml"
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/layout/adapter_listview.xml" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/layout/adapter_listview.xml"
deleted file mode 100644
index d8a18c915..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/layout/adapter_listview.xml"
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/layout/content_soft1606070302235.xml" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/layout/content_soft1606070302235.xml"
deleted file mode 100644
index 431774878..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/layout/content_soft1606070302235.xml"
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/menu/main.xml" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/menu/main.xml"
deleted file mode 100644
index 9812cefa3..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/menu/main.xml"
+++ /dev/null
@@ -1,14 +0,0 @@
-
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/menu/menu_soft1606070302235.xml" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/menu/menu_soft1606070302235.xml"
deleted file mode 100644
index d475d8d56..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/menu/menu_soft1606070302235.xml"
+++ /dev/null
@@ -1,10 +0,0 @@
-
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/menu/second_activity.xml" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/menu/second_activity.xml"
deleted file mode 100644
index 0b08300c2..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/menu/second_activity.xml"
+++ /dev/null
@@ -1,9 +0,0 @@
-
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher.xml" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher.xml"
deleted file mode 100644
index eca70cfe5..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher.xml"
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher_round.xml" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher_round.xml"
deleted file mode 100644
index eca70cfe5..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-anydpi-v26/ic_launcher_round.xml"
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher.png" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher.png"
deleted file mode 100644
index a2f590828..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher_round.png" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher_round.png"
deleted file mode 100644
index 1b5239980..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-hdpi/ic_launcher_round.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher.png" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher.png"
deleted file mode 100644
index ff10afd6e..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher_round.png" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher_round.png"
deleted file mode 100644
index 115a4c768..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-mdpi/ic_launcher_round.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher.png" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher.png"
deleted file mode 100644
index dcd3cd808..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher_round.png" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher_round.png"
deleted file mode 100644
index 459ca609d..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-xhdpi/ic_launcher_round.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher.png" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher.png"
deleted file mode 100644
index 8ca12fe02..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher_round.png" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher_round.png"
deleted file mode 100644
index 8e19b410a..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-xxhdpi/ic_launcher_round.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher.png" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher.png"
deleted file mode 100644
index b824ebdd4..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher_round.png" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher_round.png"
deleted file mode 100644
index 4c19a13c2..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/mipmap-xxxhdpi/ic_launcher_round.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/values/colors.xml" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/values/colors.xml"
deleted file mode 100644
index 3ab3e9cbc..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/values/colors.xml"
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
- #3F51B5
- #303F9F
- #FF4081
-
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/values/dimens.xml" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/values/dimens.xml"
deleted file mode 100644
index 59a0b0c4f..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/values/dimens.xml"
+++ /dev/null
@@ -1,3 +0,0 @@
-
- 16dp
-
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/values/strings.xml" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/values/strings.xml"
deleted file mode 100644
index 1985fc57f..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/values/strings.xml"
+++ /dev/null
@@ -1,6 +0,0 @@
-
- Soft1606070302235
- 易迹
- Settings
- SecondActivity
-
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/values/styles.xml" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/values/styles.xml"
deleted file mode 100644
index 545b9c6d2..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/res/values/styles.xml"
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/\347\254\254\345\233\233\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2101\357\274\211.png" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/\347\254\254\345\233\233\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2101\357\274\211.png"
deleted file mode 100644
index 4c587076d..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/\347\254\254\345\233\233\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2101\357\274\211.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/\347\254\254\345\233\233\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2102\357\274\211.png" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/\347\254\254\345\233\233\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2102\357\274\211.png"
deleted file mode 100644
index df9c2f541..000000000
Binary files "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/\347\254\254\345\233\233\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276\357\274\2102\357\274\211.png" and /dev/null differ
diff --git "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214.md" "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214.md"
deleted file mode 100644
index 92c4bf7b4..000000000
--- "a/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214.md"
+++ /dev/null
@@ -1,24 +0,0 @@
-# 第四次实验
-
-## 1、实验目的
-1.根据选题要求设计界面布局及控件使用。
-2.布局xml及界面控制操作代码提交并截图。
-3.将应用运行结果截图。
-
-## 2、实验内容
-1.使用一种布局方式,设计所选题目的界面。
-2.通过控件ID获取界面对象,执行相关操作。
-3.实现界面控件的事件处理,例如点击按钮。
-
-## 3、实验步骤
-1、在activity_second.xml中设置使用LinearLayout布局,设置Button节点并调整节点的大小和位置。
-2、在SecondActivity中实现OnClickListener,重写onClick方法。
-3、编译、运行程序,在红米NOTE中进行效果测试。
-
-## 4、实验截图
-![](https://github.com/LJJ995/android-labs-2018/blob/master/Soft1606070302235/%E7%AC%AC%E5%9B%9B%E6%AC%A1%E5%AE%9E%E9%AA%8C%E6%88%AA%E5%9B%BE%EF%BC%881%EF%BC%89.png)
-![](https://github.com/LJJ995/android-labs-2018/blob/master/Soft1606070302235/%E7%AC%AC%E5%9B%9B%E6%AC%A1%E5%AE%9E%E9%AA%8C%E6%88%AA%E5%9B%BE%EF%BC%882%EF%BC%89.png)
-## 5、实验体会
- 1、对java有更深入的了解。
- 2、本次实验学会了怎样布局,并在查找资料过程中学会各种布局方式,通过实现OnClickListener对事件监听。
- 3、要注意XML文件标签的开始与结束要相互对应。