# AnyShareOfAndroid **Repository Path**: androidfm/AnyShareOfAndroid ## Basic Information - **Project Name**: AnyShareOfAndroid - **Description**: 西瓜快传 仿照市场上的茄子快传 或者 360文件传输 在局域网内,如果没有局域网,接收方建立热点,发送发接入热点,进行文件(发送方的app、音视频、图片等文件) - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2015-09-29 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AnyShareOfAndroid file transfer on android 仿茄子快传 或者 360文件传输 在局域网内(如果没有接收方建立热点,发送方接入热点),进行文件(发送方的app、图片等文件,项目中只是进行了手机中的第三方app和手机图片的)的传输。 ## 实现原理: 设备发现:通过udp向255.255.255.255发送广播包 文件传输:通过NIO socket。 ## 注意 目前还在编码中,还是有bug的,因此只是将效果图放上来了。 我会对此项目持续进行更细,请关注。 # 效果图 需要两部手机,连接在同一个wifi环境下,会相互发现,并且通过点击发现后的对方,建立连接,进而进行文件的传输。 ![image](https://github.com/gpfduoduo/AnyShareOfAndroid/blob/master/filetransfer.gif "效果图") ## 引用库 * [雷达扫描图](https://github.com/gpfduoduo/RadarScanView) 作者:[本人](https://github.com/gpfduoduo) * compile 'com.android.support:appcompat-v7:22.2.0' * compile 'com.android.support:design:22.2.0' * compile 'com.android.support:support-v4:22.2.0' * compile 'com.github.bumptech.glide:glide:3.5.2' * compile 'com.android.support:support-v4:22.2.0' * compile 'com.android.support:recyclerview-v7:22.+' * compile 'com.github.bumptech.glide:glide:3.5.2' * compile project(':randomtextview') * compile project(':rippleview') * compile project(':rippleoutlayout') ## 感谢 杨蔚 及其 儿子