Skip to content

Commit

Permalink
hzuapps#6 hzuapps#1641 #第六次实验
Browse files Browse the repository at this point in the history
  • Loading branch information
AngleBeatQAQ committed May 8, 2019
1 parent 4bca6e8 commit fe7e0f5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions students/soft1714080902425/实验六/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
android:theme="@style/AppTheme">
<activity android:name=".MusicList1"></activity>


<service
android:name=".MusicPlayerService"
android:enabled="true"
Expand Down
3 changes: 1 addition & 2 deletions students/soft1714080902425/实验六/FileUtils.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
package edu.androidlabs.thirdtest;
package edu.androidlabs.thirdtest;


import android.os.Environment;

import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
Expand Down
3 changes: 1 addition & 2 deletions students/soft1714080902425/实验六/HttpDownloader.java
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
package edu.androidlabs.thirdtest;
package edu.androidlabs.thirdtest;

import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;


public class HttpDownloader {

//可以下载任意文件,例如MP3,并把文件存储在制定目录(-1:下载失败,0:下载成功,1:文件已存在)
Expand Down
3 changes: 1 addition & 2 deletions students/soft1714080902425/实验六/MainActivity.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package edu.androidlabs.thirdtest;
package edu.androidlabs.thirdtest;


import android.content.Context;
Expand All @@ -15,7 +15,6 @@

public class MainActivity extends AppCompatActivity{


private Button listbtn = null, stopbtn = null;
private TextView etinfo;
private Button but2;
Expand Down
3 changes: 2 additions & 1 deletion students/soft1714080902425/实验六/activity_main.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
Expand All @@ -11,6 +11,7 @@
android:gravity="center_horizontal"
android:orientation="vertical"
android:background="#00BB64">

<Button
android:id="@+id/musicList"
android:layout_width="match_parent"
Expand Down

0 comments on commit fe7e0f5

Please sign in to comment.