Description: Socket-based communication HTTP source files, mainly for Android client, FileService.java each thread has access to download the file length, when the file upload is complete, delete the corresponding records uploaded StreamTool.java primarily used to read to read file stream, byte array returned uploading files, upload files using Android can not understand the reference to the example of a step by step to achieve some of the code can be shared
To Search:
File list (Check if you may need any files):
FileUpload\.classpath
..........\.project
..........\AndroidManifest.xml
..........\bin\classes.dex
..........\...\.n\itcast\service\DBOpenHelper.class
..........\...\..\......\.......\FileService.class
..........\...\..\......\upload\R$attr.class
..........\...\..\......\......\R$drawable.class
..........\...\..\......\......\R$id.class
..........\...\..\......\......\R$layout.class
..........\...\..\......\......\R$string.class
..........\...\..\......\......\R.class
..........\...\..\......\......\UploadActivity$1.class
..........\...\..\......\......\UploadActivity$2.class
..........\...\..\......\......\UploadActivity$3.class
..........\...\..\......\......\UploadActivity.class
..........\...\..\......\.tils\StreamTool.class
..........\...\FileUpload.apk
..........\...\resources.ap_
..........\default.properties
..........\gen\cn\itcast\upload\R.java
..........\res\drawable-hdpi\icon.png
..........\...\.........ldpi\icon.png
..........\...\.........mdpi\icon.png
..........\...\layout\main.xml
..........\...\values\strings.xml
..........\src\cn\itcast\service\DBOpenHelper.java
..........\...\..\......\.......\FileService.java
..........\...\..\......\upload\UploadActivity.java
..........\...\..\......\.tils\StreamTool.java
..........\bin\cn\itcast\service
..........\...\..\......\upload
..........\...\..\......\utils
..........\gen\cn\itcast\upload
..........\src\cn\itcast\service
..........\...\..\......\upload
..........\...\..\......\utils
..........\bin\cn\itcast
..........\gen\cn\itcast
..........\src\cn\itcast
..........\bin\cn
..........\gen\cn
..........\res\drawable-hdpi
..........\...\drawable-ldpi
..........\...\drawable-mdpi
..........\...\layout
..........\...\values
..........\src\cn
..........\assets
..........\bin
..........\gen
..........\res
..........\src
FileUpload