diff --git a/com1614080901140/6.0.png b/com1614080901140/6.0.png
new file mode 100644
index 000000000..dc409372b
Binary files /dev/null and b/com1614080901140/6.0.png differ
diff --git a/com1614080901140/6.1.png b/com1614080901140/6.1.png
new file mode 100644
index 000000000..a88caabd9
Binary files /dev/null and b/com1614080901140/6.1.png differ
diff --git a/com1614080901140/6.2.png b/com1614080901140/6.2.png
new file mode 100644
index 000000000..6f28e67ab
Binary files /dev/null and b/com1614080901140/6.2.png differ
diff --git a/com1614080901140/app/src/main/AndroidManifest.xml b/com1614080901140/app/src/main/AndroidManifest.xml
new file mode 100644
index 000000000..f56534f14
--- /dev/null
+++ b/com1614080901140/app/src/main/AndroidManifest.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/com1614080901140/app/src/main/java/edu/hzuapps/androidlabs/Com1614080901140/SecondActivity.java b/com1614080901140/app/src/main/java/edu/hzuapps/androidlabs/Com1614080901140/SecondActivity.java
new file mode 100644
index 000000000..8dd1ef456
--- /dev/null
+++ b/com1614080901140/app/src/main/java/edu/hzuapps/androidlabs/Com1614080901140/SecondActivity.java
@@ -0,0 +1,93 @@
+package edu.hzuapps.androidlabs.com1614080901140;
+
+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 android.content.ContextWrapper;
+import android.widget.Button;
+import android.widget.EditText;
+import java.io.BufferedWriter;
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.OutputStreamWriter;
+import android.content.Intent;
+import android.widget.Toast;
+
+public class SecondActivity extends AppCompatActivity {
+
+ private Button nextbtn;
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_second);
+
+ ((Button) findViewById(R.id.btn_save)).
+
+ setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View v) {
+ String text = ((EditText) findViewById(R.id.et_info)).getText().toString();
+ save(text);
+ }
+ });
+ ((Button) findViewById(R.id.btn_read)).
+
+ setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View v) {
+ readsy5();
+ }
+ });
+ nextbtn=(Button)findViewById(R.id.btn_t);
+ nextbtn.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ Intent intent=new Intent(SecondActivity.this,ThirdActivity.class);
+ startActivity(intent);
+ }
+ });
+
+ }
+
+ public void save(String text) {
+ FileOutputStream out = null;
+ BufferedWriter writer = null;
+ try {
+ out = openFileOutput("sy.txt", ContextWrapper.MODE_APPEND);
+ writer = new BufferedWriter(new OutputStreamWriter(out));
+ writer.write(text);
+ } catch (IOException e) {
+ e.printStackTrace();
+ } finally {
+ try {
+ if (writer != null) {
+ writer.close();
+ }
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ Toast.makeText(SecondActivity.this, "订单保存成功", Toast.LENGTH_SHORT).show();
+ }
+ }
+
+ public void readsy5() {
+ String content = "";
+ try {
+ FileInputStream fis = openFileInput("sy.txt");
+ byte[] buffer = new byte[fis.available()];
+ fis.read(buffer);
+ content = new String(buffer);
+ fis.close();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ Toast.makeText(SecondActivity.this, "您的订单号是" + content, Toast.LENGTH_SHORT).show();
+
+ }
+}
\ No newline at end of file
diff --git a/com1614080901140/app/src/main/java/edu/hzuapps/androidlabs/Com1614080901140/ThirdActivity.java b/com1614080901140/app/src/main/java/edu/hzuapps/androidlabs/Com1614080901140/ThirdActivity.java
new file mode 100644
index 000000000..610d7cf27
--- /dev/null
+++ b/com1614080901140/app/src/main/java/edu/hzuapps/androidlabs/Com1614080901140/ThirdActivity.java
@@ -0,0 +1,115 @@
+package edu.hzuapps.androidlabs.com1614080901140;
+
+import android.support.v7.app.AppCompatActivity;
+import android.os.Bundle;
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.InputStream;
+import java.net.HttpURLConnection;
+import java.net.URL;
+import android.os.AsyncTask;
+import android.os.Environment;
+import android.os.Handler;
+import android.os.Message;
+import android.app.Activity;
+import android.graphics.Bitmap;
+import android.graphics.BitmapFactory;
+import android.view.View;
+import android.view.View.OnClickListener;
+import android.widget.Button;
+import android.widget.ImageView;
+import android.widget.Toast;
+
+
+public class ThirdActivity extends AppCompatActivity implements OnClickListener{
+
+ Button content;
+ ImageView image;
+ Bitmap bitmap;
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_third);
+ content=(Button)findViewById(R.id.content);
+ image=(ImageView)findViewById(R.id.image);
+
+ content.setOnClickListener(this);;
+ image.setOnClickListener(this);;
+ }
+
+ public Bitmap GetImageInputStream(String imageurl){
+ URL url;
+ HttpURLConnection connection=null;
+ Bitmap bitmap=null;
+ try {
+ url = new URL(imageurl);
+ connection=(HttpURLConnection)url.openConnection();
+ connection.setConnectTimeout(6000);
+ connection.setDoInput(true);
+ connection.setUseCaches(false);
+ InputStream inputStream=connection.getInputStream();
+ bitmap=BitmapFactory.decodeStream(inputStream);
+ inputStream.close();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ return bitmap;
+ }
+
+ public void onClick(View v) {
+ switch (v.getId()) {
+ case R.id.content:
+
+ new Task().execute("http://img.szhome.com/images/sznews/2012/07/20120703105442315.JPG");
+ break;
+
+ case R.id.image:
+
+ SavaImage(bitmap, Environment.getExternalStorageDirectory().getPath()+"/Test");
+ Toast.makeText(getBaseContext(), "图片保存", Toast.LENGTH_SHORT).show();
+ break;
+
+ default:
+ break;
+ }
+ }
+
+ Handler handler=new Handler(){
+ public void handleMessage(android.os.Message msg) {
+ if(msg.what==0x123){
+ image.setImageBitmap(bitmap);
+ }
+ };
+ };
+
+
+ class Task extends AsyncTask{
+
+ protected Void doInBackground(String... params) {
+ bitmap=GetImageInputStream((String)params[0]);
+ return null;
+ }
+
+ protected void onPostExecute(Void result) {
+ super.onPostExecute(result);
+ Message message=new Message();
+ message.what=0x123;
+ handler.sendMessage(message);
+ }
+
+ }
+
+ public void SavaImage(Bitmap bitmap, String path){
+ File file=new File(path);
+ FileOutputStream fileOutputStream=null;
+ if(!file.exists()){
+ file.mkdir();
+ }
+ try {
+ fileOutputStream=new FileOutputStream(path+"/"+System.currentTimeMillis()+".png");
+ bitmap.compress(Bitmap.CompressFormat.JPEG, 100,fileOutputStream);
+ fileOutputStream.close();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+}
\ No newline at end of file
diff --git a/com1614080901140/app/src/main/res/layout/activity_second.xml b/com1614080901140/app/src/main/res/layout/activity_second.xml
new file mode 100644
index 000000000..62144583d
--- /dev/null
+++ b/com1614080901140/app/src/main/res/layout/activity_second.xml
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/com1614080901140/app/src/main/res/layout/activity_third.xml b/com1614080901140/app/src/main/res/layout/activity_third.xml
new file mode 100644
index 000000000..790e11cb1
--- /dev/null
+++ b/com1614080901140/app/src/main/res/layout/activity_third.xml
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+