kuanfan

所属分类:Java编程
开发工具:Java
文件大小:548KB
下载次数:0
上传日期:2020-03-06 10:53:18
上 传 者5411326
说明:  一个仿茄子快传的一款文件传输应用, 涉及到Socket通信,包括TCP,UDP通信。 快传有两种方式可以传输文件: Android应用端发送到Android应用端
(A file transfer application that mimics eggplant fast transfer, which involves socket communication, including TCP and UDP communication. There are two ways to transfer files in Quick Transfer: Android application sends to Android application)

文件列表:
Android项目源码本站第二款仿茄子快传的一款文件传输应用 (0, 2016-12-22)
.idea (0, 2016-12-20)
.idea\.name (9, 2016-12-20)
.idea\compiler.xml (709, 2016-12-20)
.idea\copyright (0, 2016-12-20)
.idea\copyright\profiles_settings.xml (74, 2016-12-20)
.idea\encodings.xml (159, 2016-12-20)
.idea\gradle.xml (608, 2016-12-20)
.idea\inspectionProfiles (0, 2016-12-20)
.idea\inspectionProfiles\profiles_settings.xml (235, 2016-12-20)
.idea\inspectionProfiles\Project_Default.xml (710, 2016-12-20)
.idea\misc.xml (2629, 2016-12-20)
.idea\modules.xml (355, 2016-12-20)
.idea\runConfigurations.xml (564, 2016-12-20)
.idea\vcs.xml (164, 2016-12-20)
app (0, 2016-12-20)
app\app.iml (8339, 2016-12-20)
app\build.gradle (1167, 2016-12-20)
app\proguard-rules.pro (680, 2016-12-20)
app\src (0, 2016-12-20)
app\src\androidTest (0, 2016-12-20)
app\src\androidTest\java (0, 2016-12-20)
app\src\androidTest\java\io (0, 2016-12-20)
app\src\androidTest\java\io\github (0, 2016-12-20)
app\src\androidTest\java\io\github\mayubao (0, 2016-12-20)
app\src\androidTest\java\io\github\mayubao\kuaichuan (0, 2016-12-20)
app\src\androidTest\java\io\github\mayubao\kuaichuan\ApplicationTest.java (1124, 2016-12-20)
app\src\androidTest\java\io\github\mayubao\kuaichuan\StringTest.java (499, 2016-12-20)
app\src\main (0, 2016-12-20)
app\src\main\AndroidManifest.xml (2915, 2016-12-20)
app\src\main\assets (0, 2016-12-20)
app\src\main\assets\classify.template (122, 2016-12-20)
app\src\main\assets\file.template (221, 2016-12-20)
app\src\main\assets\index.html (7284, 2016-12-20)
app\src\main\assets\index_bak.html (9600, 2016-12-20)
app\src\main\ic_logo-web.png (98794, 2016-12-20)
app\src\main\java (0, 2016-12-20)
... ...

# KuaiChuan(仿茄子快传) [English](https://github.com/mayubao/KuaiChuan/blob/master/README_EN.md) 仿茄子快传的一款文件传输应用, 涉及到Socket通信,包括TCP,UDP通信。(喜欢的给一个star, 有帮助的给一个fork, 欢迎Star和Fork ^_^) [下载](http://fir.im/6ntz) 点击下载去下载应用。 ## 效果预览 ### 主页 ### ![Alt text](https://github.com/mayubao/KuaiChuan/blob/master/ScreenShot/home.gif) ### 文件发送端 ### ![Alt text](https://github.com/mayubao/KuaiChuan/blob/master/ScreenShot/fs_1.gif) ![Alt text](https://github.com/mayubao/KuaiChuan/blob/master/ScreenShot/fs_2.gif) ![Alt text](https://github.com/mayubao/KuaiChuan/blob/master/ScreenShot/fs_3.gif) ### 文件接收端 ### ![Alt text](https://github.com/mayubao/KuaiChuan/blob/master/ScreenShot/fr_1.gif) ![Alt text](https://github.com/mayubao/KuaiChuan/blob/master/ScreenShot/fr_2.gif) ### 网页传(20161218新增) ### ![Alt text](https://github.com/mayubao/KuaiChuan/blob/master/ScreenShot/w_1.gif) ![Alt text](https://github.com/mayubao/KuaiChuan/blob/master/ScreenShot/w_2.jpg) ![Alt text](https://github.com/mayubao/KuaiChuan/blob/master/ScreenShot/w_3.jpg) ## 原理 快传有两种方式可以传输文件: 1. Android应用端发送到Android应用端(必须安装应用) 2. 通过Web浏览器来实现文件的传送 (不必安装应用) 第一种方式主要是是通过设备间发送文件。 文件传输在文件发送端或者是文件接收端通过自定义协议的Socket通信来实现。由于文件接收方和文件发送方都要有文件的缩略图,这里采用了header + body的自定义协议, header部分包括了文件的信息(长度,大小,缩略图), body部分就是文件。 第二种方式主要是在android应用端架设微型Http服务器来实现文件的传输。这里可以用ftp来实现,为什么不用ftp呢?因为没有缩略图,这是重点! ## 测试 (必须在真机下测试) 在Android测试机 分别是 魅蓝2 与 华为 SCL-TL00, Vivo xs1 运行正常 ## 感谢 google: stackoverflow ## 版本 ### v1.0 ### 完成了Android端到Android端的文件传输 ### v1.1 ### 完成了网页传模块的功能 ## issue QQ:345269374 Email:345269374@qq.com ## License Copyright 2016 mayubao Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

近期下载者

相关文件


收藏者