Comments (4)
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.
Look into NFC and wifi P2P
from robot-scouter.
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.
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)
- Min API 21 task list
- Exporting all teams from nav drawer breaks fragment stack when doing so outside teams fragment
- Season 2020 HOT 5
- Kill jetifier
- Can't sign in to app using GitHub HOT 1
- Continue improving chromebook support
- Build results in ClassNotFoundException: Didn't find class "androidx.lifecycle.DefaultLifecycleObserver HOT 4
- Move to clientApi functions model
- Kill isOffline/isOnline flags
- Move TBA team syncing to server HOT 1
- Move last sign in update to ProcessLifecycleOwner onCreate
- Update GitHub sign-in API calls
- Support uploading robot images from storage
- Move to safer account deletion model
- Taking a picture of a team while the team still has a local image fails
- Add cleanup functions for dead documents
- Add un-synced required network type pref for media uploads
- Kotlin 1.4 TODO
- Desbloquar
- Does it support IOS or windows HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robot-scouter.