Giter Club home page Giter Club logo

remote-storage-android-things's Introduction

Remote Storage

Build Status

Your one stop solution for remote file storage.

Connect your old usb hard drive with USB port or the thumb drive in Raspberry pi and access it anywhere in you home wireless. This application will turn you raspberry pi a FTP server. Once you mount your usb drive with the Android system, This will make it available it in your local network.

Mount USB drive:

  • Plug you USB drive at any of the USB port in your Raspberry Pi.
  • Open adb shell by typing below command in terminal (Make sure your raspberry pi is connected via adb):
adb shell
  • Mount the USB drive by running below command in adb shell (Your USB drive srould be formatted in FAT file system.):
su
mkdir /mnt/usb
mount -t vfat -o rw /dev/block/sda1 /mnt/usb
  • Run "Remote Storage" application.

Build and run the application:

  • Connect your rapberry pi running on Android Things via adb.
  • On Android Studio, select the module in the select box by the "Run" button, and then click on the "Run" button. If you prefer to run on the command line, run following command in terminal in the root of the project.
./gradlew app:installDebug
adb shell am start com.example.androidthings.simplepio/com.kevalpatel2106.remotestorage.MainActivity

Access the FTP server:

  • FTP server is running on the IP on which your rapberry pi is connected. The port address is 53705.
    • Port : 53705
    • URL : ftp://{YOUR IP}:53705
    • Username : admin
    • Password : admin

How to access on my bowser?

  • Open ftp://{YOUR IP}:53705 url in your bowser and enter username and password.

How to access on my computer?

How to access on my mobile?

  • Android : Download ES File manager and create new FTP connection under Network section. Use above credentials and connect.

Note:

Everytime raspberry pi restarts you need to mount USB drive and run the application.

Questions?๐Ÿค”

Hit me on twitter Twitter

License

Copyright 2017 Keval Patel

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.

remote-storage-android-things's People

Contributors

kevalpatel2106 avatar

Watchers

 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.