Git Product home page Git Product logo

anyshareofandroid's Introduction

AnyShareOfAndroid

file transfer on android 仿茄子快传 或者 360文件传输 在局域网内(如果没有接收方建立热点,发送方接入热点),进行文件(发送方的app、图片等文件,项目中只是进行了手机中的第三方app和手机图片的)的传输。

实现原理:

设备发现:通过udp向255.255.255.255发送广播包
文件传输:通过NIO socket。

注意

目前还在编码中,还是有bug的,因此只是将效果图放上来了。 我会对此项目持续进行更细,请关注。

效果图

需要两部手机,连接在同一个wifi环境下,会相互发现,并且通过点击发现后的对方,建立连接,进而进行文件的传输。

image

引用库

  • 雷达扫描图 作者:本人
  • 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')

感谢

杨蔚 及其 儿子

anyshareofandroid's People

Contributors

gpfduoduo avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.