Comments (6)
Initial integration is done! We no have a button to auto-connect devices over wifi (requires Android 10)
from agregore-mobile.
Useful resources:
- https://groups.google.com/g/wi-fi-direct
- https://stackoverflow.com/questions/40679154/android-wifip2p-why-is-group-info-null-after-connecting-to-group-owner
- https://github.com/Crash-Test-Buddies/WiFi-Buddy/blob/ee554a5f3ec9a0fe315b80b475c880043e901479/wifibuddy/src/main/java/edu/rit/se/wifibuddy/WifiDirectHandler.java
from agregore-mobile.
The big eureka moment for getting stuff working was to use multicastSocket.setNetworkInterface(p2pInterface)
in addition to specifying the interface for joinGroup
.
Huge thanks to this Stack Overflow post: https://stackoverflow.com/a/62418119
from agregore-mobile.
Initial demo app seeing if any of this is even possible is here: https://github.com/RangerMauve/WifiP2P-MDNS-Test/blob/default/app/src/main/java/com/example/wifip2p_mdns_test/WifiP2PActivity.java
from agregore-mobile.
Got the initial WifiAutoConnect library published: https://github.com/RangerMauve/WifiAutoConnect-Android
Next steps will be to integrate it with Agregore Mobile with a button somewhere.
from agregore-mobile.
Had to start using Trichrome in order to set the min SDK to 29 and work with the WifiP2p APIs.
As a result, the build will now output AAB files instead of APKs which we will need to turn into APKs with bundletool
I'll try adding a script to use the universal APK for ease of installation.
from agregore-mobile.
Related Issues (20)
- Add custom protocol handlers HOT 8
- Figure out funky ad-related code HOT 1
- Get WebExtensions running HOT 8
- Add script to "reapply" the latest patch
- Pass Protocol Compliance Test Suite HOT 12
- Make sure Agregore is registered as a handler for IPFS and IPNS URLs HOT 4
- Customize plain text rendering HOT 1
- Add links to new tab page for stuff to do
- Have explanatory docs on the first time welcome screen
- Improve feedback on wifi autoconnect
- Publish on F-Droid HOT 1
- Instructions for installing application
- URL annotation
- Content flagging HOT 1
- Improved user feedback while loading URLs HOT 1
- Add Erudo as bookmarklet for injecting devtools
- Allow custom Ethereum RPCs for ENS HOT 1
- Resolve ENS domains no matter the URL HOT 1
- 'hyper:' URLs not working HOT 1
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 agregore-mobile.