KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
WifiP2P
★ 8
Open GitHub ↗
Xamarin Forms Android WiFi Direct
Download README (.md)
Explore Similar Repositories
BRISC
:
Bootstrap for Rapid Inference on Spatial Covariances
alexa-headless-start
:
A one-click script to run alexa-avs-sample-app headlessly
watch
:
基于ECharts实现的可视化大屏展示
simple-social-share
:
Simple web sharing
mageconf2017
:
Code samples (patches) for MageConf
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
WifiP2P
?
Download (.md)
This WiFiP2P demonstrates the usage of Android WiFi Direct in Xamarin Forms framework. How it is working? 1. Publish project into your android devices, you need at least two devices to see result 2. From one of android device, Device A, click 'Find TEAMLEAD', it will list other android devices including your other device, Device B, if B does not show up in A, go to your B setting->Find WiFi direct, then B will show up in A. 3. Click device name from A (we choose B name), then B will pop up confirm connection which is done by android OS, you click 'OK' 4. From A, you will see 'I am Client', and B will show 'I am Host' 5. From A, Click 'Send Message', which send timestamp to B 6. From B, Click 'Send Message', which send timestamp to A 7. The first time send message, only from client to host, because host doesn't know client IP address unless host received client message. For simple process, i use Task.Delay(1000) (every one second) to fetch communication result from Andriod to PCL. Below are links i reference most. https://developer.android.com/guide/topics/connectivity/wifip2p.html https://github.com/Cheesebaron/WiFiDirectSample https://developer.android.com/training/connect-devices-wirelessly/wifi-direct.html https://www.youtube.com/watch?v=st-SQEQJ0dM