Git Product home page Git Product logo

Comments (4)

SUPERCILEX avatar SUPERCILEX commented on June 5, 2024

Sigh. Apparently, all of the nearby stuff only works if you are connected to the internet. 😢 I guess I'll have to rough it up and deal with sockets, raw bytes, and whatever else lies in this mess: https://github.com/googlesamples/android-BluetoothChat/blob/master/Application/src/main/java/com/example/android/bluetoothchat/BluetoothChatFragment.java

from robot-scouter.

SUPERCILEX avatar SUPERCILEX commented on June 5, 2024

Look into NFC and wifi P2P

from robot-scouter.

SUPERCILEX avatar SUPERCILEX commented on June 5, 2024

https://developer.android.com/guide/topics/connectivity/wifip2p.html
https://developer.android.com/training/connect-devices-wirelessly/wifi-direct.html
https://android.googlesource.com/platform/development/+/master/samples/WiFiDirectDemo/src/com/example/android/wifidirect

from robot-scouter.

SUPERCILEX avatar SUPERCILEX commented on June 5, 2024

Ok, so I looked into this and it actually doesn't seem too hard at all. However, I tested what would happen if someone overwrites a value in the db while offline and unfortunately, the winner is the last device to connect to the internet not the one who wrote to that location last. This would make it highly probable that scouting data would be lost if people use this feature. Therefore, out of an abundance of caution, I'm not going to develop this feature.

There could however be a possibility of just using P2P for exporting an up to data spreadsheet, but I feel like the whole thing would result in bad UX so I'll wait until someone asks for this feature.

from robot-scouter.

Related Issues (20)

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.