Questions tagged [wifi-direct]

Wi-Fi Direct is an extension to Wi-Fi, created by the Wi-Fi Alliance, that allows for Bluetooth style point-to-point networking as well as the more well known method of networking with access points that Wi-Fi traditionally uses. It is designed to make the process of connecting small intelligent devices like phones and cameras and even home appliances easier and faster. To make it easier to exchange information and files between devices as needed.

852 questions
0
votes
0 answers

Why would you want to configure intent filters from code?

I'm going through the Wi-Fi Direct tutorials for Android and had a quick question about how they're using an IntentFilter in the section "Set Up a Broadcast Receiver and Peer-to-Peer Manager". There, they manually configure an instance of…
0
votes
1 answer

Automatically accept wifi direct connections through root

In Android SDK the Wireless P2P (WiFi Direct) API is provided. I am developing an application that would require for the app to connect to other devices on the fly that have the same application and share information among them (text data). In order…
fsschmitt
  • 599
  • 5
  • 10
0
votes
1 answer

Intent for device list in Wi-fi direct android

I have enabled wifi through code ... wifiManager = (WifiManager) this.getSystemService(Context.WIFI_SERVICE); wifiManager.setWifiEnabled(true); I want to redirect to the Available devices in the wi-fi direct screen. I dont wanna implement…
Akash Malhotra
  • 1,106
  • 1
  • 17
  • 30
0
votes
1 answer

WiFi Direct example from Google developer sdk examples error during specific file sharing

I am trying to run the WiFi Direct Demo example from the Google API 14 and when I try to share any file from one phone to another via the demo app, I am only able to share photos(jpg) files...anything else, the app force closes. I am using a…
lucky88shp
  • 61
  • 1
  • 2
  • 11
0
votes
1 answer

Android WifiDirect open socket connection in activity

I want to transfer data with WifiDirect. So I connected two devices with it and opened a SeverSocket on one device. When I want to connect to this ServerSocket from the other device by clicking a button in an activity (there I open a socket with the…
nilo
  • 699
  • 7
  • 18
0
votes
1 answer

How can I Listen for the event of a connection to my AP?

I create a WI-FI AP with my phone(Phone A), then enable it successfully; then I use another phone(Phone B) to connect to the AP; Now I want to know how I can get info of devices that are connecting to the AP created by Phone A; It's better that I…
Yin Young
  • 13
  • 3
0
votes
1 answer

Android WiFi-Direct Connection and Broadcast

1) How long does it take an Android device to set up a WiFi-Direct connection with another Android device? I read some news from GM, they are developing something system with WiFi-Direct, they claims that they can connect in about 1 second. (But…
Shiyong
  • 1
  • 3
0
votes
0 answers

how to know the wifi direct commands which used in android?

i interested to know what commands that used in Android ? i have a look to p2p WIFI direct but i didn't catch these commands!! i see these commands from this link that used in Linux. but do they used in android frame-ware ? and if yes how can i…
Hana90
  • 943
  • 5
  • 17
  • 37
0
votes
1 answer

How to develop a wifi sync app for PC to Windows Phone?

I want to develop a wifi sync app for pc to windows phone.Any idea about how to start?
0
votes
4 answers

Possibilities communication beetwen several Windows 8 RT devices (running same app) C# WI-FI

I want to develop an app, which will be running on tablets with Windows 8 (RT). One tablet with this app should be a "master" tablet and this tablet will communicate with other tablets "slave" (running same app). Master tablet should send data to…
Pepa Zapletal
  • 2,879
  • 3
  • 39
  • 69
0
votes
1 answer

PC to Android Architecture choice: Bluetooth X Wi-fi

I have a need: Build a system that allows a offline terminal(it´s a PC) to connect to a server. to do this, we decided to upload the data to a android 3G smartphone and, by network, send the data to the server, retrieve the response and send to…
0
votes
1 answer

When developing an Android app that uses Wi-Fi Direct, which target SDK should I use?

I'm currently on Android 4.1 for the Project Build Target. My issue is that I have two HTC One V's to develop with. These run 4.0 at the moment. I figure I have 1 of 2 options. Either: *Set the build target to Android 2.2 (the only other Android one…
Chucky
  • 1,701
  • 7
  • 28
  • 62
0
votes
2 answers

WifiP2pManager.initialize returns null

WifiP2pManager.initialize returns null. I am using Droid 4, Android version 4.0.4 and built my app with API level 14. ... _p2pChannel = _p2pManager.initialize(this, getMainLooper(), new…
0
votes
3 answers

android sdk incompatiblities with wi-fi direct

I'm developing an app that uses wi-fi direct module. As you all know it's not available before Android 4.0, but I want to mantain compatibility without wi-fi direct. The problem is I'm using instance variables from classes like Channel or…
Javier Manzano
  • 4,761
  • 16
  • 56
  • 86
0
votes
2 answers

Why the connect() in android socket does not work?

I wrote similar codes as the demo of Android WiFiDirect, but my socket.connect() cannot work. It terminated and jumped into the "finally" section without throwing any exceptions. I checked all the input parameters of connect(), and they are exactly…
Tianlong Song
  • 61
  • 1
  • 3