diff --git a/Soft1606070302235/AndroidManifest.xml b/Soft1606070302235/AndroidManifest.xml
new file mode 100644
index 000000000..7865b92ba
--- /dev/null
+++ b/Soft1606070302235/AndroidManifest.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Soft1606070302235/Soft1606070302235Activity.java b/Soft1606070302235/Soft1606070302235Activity.java
new file mode 100644
index 000000000..ef4914d13
--- /dev/null
+++ b/Soft1606070302235/Soft1606070302235Activity.java
@@ -0,0 +1,5 @@
+package edu.hzuapps.androidlabs.soft1606070302235;
+
+public class Soft1606070302235Activity{
+
+}
\ No newline at end of file
diff --git a/Soft1606070302235/iBook.apk b/Soft1606070302235/iBook.apk
new file mode 100644
index 000000000..b1672a44d
Binary files /dev/null and b/Soft1606070302235/iBook.apk differ
diff --git a/Soft1606070302235/java/edu/hzuapps/androidlabs/Soft1606070302235/SecondActivity.java b/Soft1606070302235/java/edu/hzuapps/androidlabs/Soft1606070302235/SecondActivity.java
new file mode 100644
index 000000000..763cc5769
--- /dev/null
+++ b/Soft1606070302235/java/edu/hzuapps/androidlabs/Soft1606070302235/SecondActivity.java
@@ -0,0 +1,151 @@
+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
new file mode 100644
index 000000000..08b5b5573
--- /dev/null
+++ b/Soft1606070302235/java/edu/hzuapps/androidlabs/Soft1606070302235/Soft1606070302235Activity.java
@@ -0,0 +1,149 @@
+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
new file mode 100644
index 000000000..5a8d3c72a
--- /dev/null
+++ b/Soft1606070302235/java/edu/hzuapps/androidlabs/beans/Cuns.java
@@ -0,0 +1,43 @@
+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
new file mode 100644
index 000000000..409d5b953
--- /dev/null
+++ b/Soft1606070302235/java/edu/hzuapps/androidlabs/luoji/MyAdapter.java
@@ -0,0 +1,63 @@
+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
new file mode 100644
index 000000000..39bd944a8
--- /dev/null
+++ b/Soft1606070302235/java/edu/hzuapps/androidlabs/luoji/MyDataBase.java
@@ -0,0 +1,86 @@
+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
new file mode 100644
index 000000000..3b7fbb541
--- /dev/null
+++ b/Soft1606070302235/java/edu/hzuapps/androidlabs/luoji/MyOpenHelper.java
@@ -0,0 +1,31 @@
+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
new file mode 100644
index 000000000..c7bd21dbd
--- /dev/null
+++ b/Soft1606070302235/res/drawable-v24/ic_launcher_foreground.xml
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Soft1606070302235/res/drawable/btnselector.xml b/Soft1606070302235/res/drawable/btnselector.xml
new file mode 100644
index 000000000..1d1103b5d
--- /dev/null
+++ b/Soft1606070302235/res/drawable/btnselector.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
diff --git a/Soft1606070302235/res/drawable/ic_launcher_background.xml b/Soft1606070302235/res/drawable/ic_launcher_background.xml
new file mode 100644
index 000000000..d5fccc538
--- /dev/null
+++ b/Soft1606070302235/res/drawable/ic_launcher_background.xml
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Soft1606070302235/res/drawable/icon_app.png b/Soft1606070302235/res/drawable/icon_app.png
new file mode 100644
index 000000000..418aadc70
Binary files /dev/null and b/Soft1606070302235/res/drawable/icon_app.png differ
diff --git a/Soft1606070302235/res/drawable/new_note_normal.png b/Soft1606070302235/res/drawable/new_note_normal.png
new file mode 100644
index 000000000..40e3b8e0e
Binary files /dev/null and b/Soft1606070302235/res/drawable/new_note_normal.png differ
diff --git a/Soft1606070302235/res/drawable/new_note_pressed.png b/Soft1606070302235/res/drawable/new_note_pressed.png
new file mode 100644
index 000000000..c7489362c
Binary files /dev/null and b/Soft1606070302235/res/drawable/new_note_pressed.png differ
diff --git a/Soft1606070302235/res/layout/activity_second.xml b/Soft1606070302235/res/layout/activity_second.xml
new file mode 100644
index 000000000..7970448cd
--- /dev/null
+++ b/Soft1606070302235/res/layout/activity_second.xml
@@ -0,0 +1,80 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Soft1606070302235/res/layout/activity_soft1606070302235.xml b/Soft1606070302235/res/layout/activity_soft1606070302235.xml
new file mode 100644
index 000000000..b6a91db85
--- /dev/null
+++ b/Soft1606070302235/res/layout/activity_soft1606070302235.xml
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Soft1606070302235/res/layout/adapter_listview.xml b/Soft1606070302235/res/layout/adapter_listview.xml
new file mode 100644
index 000000000..d8a18c915
--- /dev/null
+++ b/Soft1606070302235/res/layout/adapter_listview.xml
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
diff --git a/Soft1606070302235/res/layout/content_soft1606070302235.xml b/Soft1606070302235/res/layout/content_soft1606070302235.xml
new file mode 100644
index 000000000..431774878
--- /dev/null
+++ b/Soft1606070302235/res/layout/content_soft1606070302235.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Soft1606070302235/res/menu/main.xml b/Soft1606070302235/res/menu/main.xml
new file mode 100644
index 000000000..9812cefa3
--- /dev/null
+++ b/Soft1606070302235/res/menu/main.xml
@@ -0,0 +1,14 @@
+
diff --git a/Soft1606070302235/res/menu/menu_soft1606070302235.xml b/Soft1606070302235/res/menu/menu_soft1606070302235.xml
new file mode 100644
index 000000000..d475d8d56
--- /dev/null
+++ b/Soft1606070302235/res/menu/menu_soft1606070302235.xml
@@ -0,0 +1,10 @@
+
diff --git a/Soft1606070302235/res/menu/second_activity.xml b/Soft1606070302235/res/menu/second_activity.xml
new file mode 100644
index 000000000..0b08300c2
--- /dev/null
+++ b/Soft1606070302235/res/menu/second_activity.xml
@@ -0,0 +1,9 @@
+
diff --git a/Soft1606070302235/res/mipmap-anydpi-v26/ic_launcher.xml b/Soft1606070302235/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 000000000..eca70cfe5
--- /dev/null
+++ b/Soft1606070302235/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ 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
new file mode 100644
index 000000000..eca70cfe5
--- /dev/null
+++ b/Soft1606070302235/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Soft1606070302235/res/mipmap-hdpi/ic_launcher.png b/Soft1606070302235/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 000000000..a2f590828
Binary files /dev/null and b/Soft1606070302235/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/Soft1606070302235/res/mipmap-hdpi/ic_launcher_round.png b/Soft1606070302235/res/mipmap-hdpi/ic_launcher_round.png
new file mode 100644
index 000000000..1b5239980
Binary files /dev/null and b/Soft1606070302235/res/mipmap-hdpi/ic_launcher_round.png differ
diff --git a/Soft1606070302235/res/mipmap-mdpi/ic_launcher.png b/Soft1606070302235/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 000000000..ff10afd6e
Binary files /dev/null and b/Soft1606070302235/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/Soft1606070302235/res/mipmap-mdpi/ic_launcher_round.png b/Soft1606070302235/res/mipmap-mdpi/ic_launcher_round.png
new file mode 100644
index 000000000..115a4c768
Binary files /dev/null and b/Soft1606070302235/res/mipmap-mdpi/ic_launcher_round.png differ
diff --git a/Soft1606070302235/res/mipmap-xhdpi/ic_launcher.png b/Soft1606070302235/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 000000000..dcd3cd808
Binary files /dev/null and b/Soft1606070302235/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/Soft1606070302235/res/mipmap-xhdpi/ic_launcher_round.png b/Soft1606070302235/res/mipmap-xhdpi/ic_launcher_round.png
new file mode 100644
index 000000000..459ca609d
Binary files /dev/null and b/Soft1606070302235/res/mipmap-xhdpi/ic_launcher_round.png differ
diff --git a/Soft1606070302235/res/mipmap-xxhdpi/ic_launcher.png b/Soft1606070302235/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 000000000..8ca12fe02
Binary files /dev/null and b/Soft1606070302235/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/Soft1606070302235/res/mipmap-xxhdpi/ic_launcher_round.png b/Soft1606070302235/res/mipmap-xxhdpi/ic_launcher_round.png
new file mode 100644
index 000000000..8e19b410a
Binary files /dev/null and b/Soft1606070302235/res/mipmap-xxhdpi/ic_launcher_round.png differ
diff --git a/Soft1606070302235/res/mipmap-xxxhdpi/ic_launcher.png b/Soft1606070302235/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 000000000..b824ebdd4
Binary files /dev/null and b/Soft1606070302235/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/Soft1606070302235/res/mipmap-xxxhdpi/ic_launcher_round.png b/Soft1606070302235/res/mipmap-xxxhdpi/ic_launcher_round.png
new file mode 100644
index 000000000..4c19a13c2
Binary files /dev/null and b/Soft1606070302235/res/mipmap-xxxhdpi/ic_launcher_round.png differ
diff --git a/Soft1606070302235/res/values/colors.xml b/Soft1606070302235/res/values/colors.xml
new file mode 100644
index 000000000..3ab3e9cbc
--- /dev/null
+++ b/Soft1606070302235/res/values/colors.xml
@@ -0,0 +1,6 @@
+
+
+ #3F51B5
+ #303F9F
+ #FF4081
+
diff --git a/Soft1606070302235/res/values/dimens.xml b/Soft1606070302235/res/values/dimens.xml
new file mode 100644
index 000000000..59a0b0c4f
--- /dev/null
+++ b/Soft1606070302235/res/values/dimens.xml
@@ -0,0 +1,3 @@
+
+ 16dp
+
diff --git a/Soft1606070302235/res/values/strings.xml b/Soft1606070302235/res/values/strings.xml
new file mode 100644
index 000000000..1985fc57f
--- /dev/null
+++ b/Soft1606070302235/res/values/strings.xml
@@ -0,0 +1,6 @@
+
+ Soft1606070302235
+ 易迹
+ Settings
+ SecondActivity
+
diff --git a/Soft1606070302235/res/values/styles.xml b/Soft1606070302235/res/values/styles.xml
new file mode 100644
index 000000000..545b9c6d2
--- /dev/null
+++ b/Soft1606070302235/res/values/styles.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
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"
new file mode 100644
index 000000000..4df77a4ca
Binary files /dev/null and "b/Soft1606070302235/\347\254\254\344\270\200\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276.png" 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"
new file mode 100644
index 000000000..f98435bd5
--- /dev/null
+++ "b/Soft1606070302235/\347\254\254\344\270\200\346\254\241\350\257\225\351\252\214.md"
@@ -0,0 +1,18 @@
+第一次试验
+
+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"
new file mode 100644
index 000000000..498b2ef9b
Binary files /dev/null and "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" 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"
new file mode 100644
index 000000000..7ced2aa2c
Binary files /dev/null and "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" 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"
new file mode 100644
index 000000000..6cf300716
--- /dev/null
+++ "b/Soft1606070302235/\347\254\254\344\270\211\346\254\241\350\257\225\351\252\214.md"
@@ -0,0 +1,24 @@
+# 第三次实验
+## 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"
new file mode 100644
index 000000000..9bd958346
Binary files /dev/null and "b/Soft1606070302235/\347\254\254\344\272\214\346\254\241\345\256\236\351\252\214\346\210\252\345\233\276.png" 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"
new file mode 100644
index 000000000..d1e464958
--- /dev/null
+++ "b/Soft1606070302235/\347\254\254\344\272\214\346\254\241\350\257\225\351\252\214.md"
@@ -0,0 +1,23 @@
+# 第二次实验
+## 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"
new file mode 100644
index 000000000..4ff7d1daa
--- /dev/null
+++ "b/Soft1606070302235/\347\254\254\344\272\224\346\254\241\350\257\225\351\252\214.md"
@@ -0,0 +1,20 @@
+# 第五次实验
+## 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\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"
new file mode 100644
index 000000000..cb507d8f9
Binary files /dev/null and "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" 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"
new file mode 100644
index 000000000..8df94e442
Binary files /dev/null and "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" 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"
new file mode 100644
index 000000000..dfcd43d2d
--- /dev/null
+++ "b/Soft1606070302235/\347\254\254\345\205\255\346\254\241\350\257\225\351\252\214.md"
@@ -0,0 +1,32 @@
+# 第六次实验
+## 一.实验目的
+
+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\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"
new file mode 100644
index 000000000..4c587076d
Binary files /dev/null and "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" 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"
new file mode 100644
index 000000000..df9c2f541
Binary files /dev/null and "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" 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"
new file mode 100644
index 000000000..92c4bf7b4
--- /dev/null
+++ "b/Soft1606070302235/\347\254\254\345\233\233\346\254\241\350\257\225\351\252\214.md"
@@ -0,0 +1,24 @@
+# 第四次实验
+
+## 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文件标签的开始与结束要相互对应。