Giter Club home page Giter Club logo

fileshare's Introduction

FileShare

Now implement LAN file sharing feature in your Android App using FileShare library with ease!

Adding FileShare to your Android project

The library is published in the jCenter repository. So you just add this in your App's build.gradle file, in dependencies :

compile 'io.github.karuppiah7890:fileshare:0.1.0'

API Usage

See the API Usage Wiki page

Demo App

FileSharer is a Demo App that is built using FileShare library. You can see the source code in the FileSharerDemoApp folder. The APK for the Demo App is available in the releases.

I am yet to do some automation. These are the steps to use the App and to see how the Demo App works based on FileShare

Install the App in two Android devices.

In Receiver device :

  1. Create WiFi hotspot
  2. Open App
  3. click "Get File"
  4. The app should show a code on top of the button. And say "Listening" as a Toast

In Sender device :

  1. Connect to hotspot created by receiver
  2. Open App
  3. Type the code you saw in Receiver device
  4. Click "Pick File and Send"
  5. Pick a file (only docs can be picked) and select Done on top right

The file should get sent and you will see Toast messages accordingly in between for "Connected" , "Sending file", "Receiving file" etc in the two devices and finally the Receiver device will also show the location of the stored file as a Toast

License

The library is available under MIT License

Sponsor

fileshare's People

Contributors

karuppiah7890 avatar

Watchers

James Cloos avatar Jaspreet SIngh 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.