Questions tagged [android-wireless]

97 questions
4
votes
4 answers

Can I use WiFi to transfer data/messages between two android phones, not connected to a router?

I'm aware that if two Android phones are connected to a same wifi network, they can implement socket programming to transfer data between them But I actually want to know if you can use wifi as a transfer medium between two Android phones, just like…
4
votes
0 answers

How to fix the error "E: Unable to locate package wireless-tools" in termux

The answer is: We get this error when we try to install the wireless tools in termux using the below command pkg install wireless-tools This is because the termux-root-packages repository are not subscribed. To subscribe to the root repository,…
10Sicnarf
  • 41
  • 1
  • 2
4
votes
0 answers

Execute iwlist and iwconfig binary file on Android

Recently I need to Accelerate the scan speed of wifi, so I use the tool of Iwlist and Iwconfig. downloaded from :https://github.com/nvamelichev/wireless-tools-android After Compiling, I put these two binary file to /system/xbin/ with proper…
zwj0571
  • 61
  • 1
  • 5
4
votes
1 answer

Android Wifi flow

I am trying to trace the wifi settings code. My intention is to know the flow from application to kernel layer after toggling the WIFI button OFF to ON. While we go to Settings page in Android, toggle the WLAN(WIFI) button, then your wifi should be…
Sam
  • 4,521
  • 13
  • 46
  • 81
3
votes
3 answers

Android WiFi Direct Demo Issues

im testing the new technology wifi direct and im having some issues using the wifi direct demo from the samples that come with the android-sdk. So, I have two devices A and B, both with android 4.0.3. First, from device A, I send a file to B.…
ImNotAnUser
  • 305
  • 5
  • 15
3
votes
1 answer

Android Wireless Adaptor Support in Emulator

I need to re configure wireless adaptor to setup an adhoc network over android phones. I need a way to test it on emulator but i have heard it doesnt has support to it hence cannot be accessed. Is there any way i can do it ? The reconfiguring is…
NovusMobile
  • 1,813
  • 2
  • 21
  • 48
3
votes
0 answers

Bluetooth connectivity: MODE_IN_CALL vs MODE_IN_COMMUNICATION

I have an application that needs to connect to wireless bluetooth headset to collection RAW audio. MODE_IN_CALL works in some devices and MODE_IN_COMMUNICATION in others. Mic works and I lose audio or vice versa. I am using Nexus 5x and Samsung…
3
votes
0 answers

Android connects to multiple WiFi networks

Is there exists any application to make android connects to multiple WiFi networks at the same time, may be something like virtual Wifi that makes wifi card looks like many but virtually, like this…
alex CSD
  • 405
  • 2
  • 4
  • 11
3
votes
3 answers

Nexus 5 Wireless driver for BCM4339

I want to work on Access Point (AP) and Power Saving Mode (PSM) behaviour with a Nexus 5, which has a BCM4339 wireless chipset. Currently, there are 4 drivers (1 experimental) available for Broadcom chipsets: broadcom-iw (proprietary). Firmware,…
JahMyst
  • 1,616
  • 3
  • 20
  • 39
3
votes
2 answers

How to connect to a wireless network in android?

I have managed to scan for wireless networks and obtain scan results in my application. but is there a way i could possibly connect to them using my app itself? I was wondering whether I would have to specify the encryption type for the network i'm…
Mr.Noob
  • 1,005
  • 3
  • 24
  • 58
2
votes
1 answer

Creating an android WLAN multiplayer game

I'm fairly new to android development and want to develop a multiplayer game. I want multiple players to connect together over WLAN and join game rooms. It's meant to be played in a room so the phone can set up the server. Are there any tutorials…
2
votes
1 answer

can we have wifi direct api working in 2.3 version

hi i am developing a app which will use proximity to pair other persons. I can either use Bluetooth or Wifi Direct. After some research i found out that Android ICS has API's for Wifi direct but if my application needs to work on older phones i…
Anurag
  • 956
  • 2
  • 8
  • 21
2
votes
0 answers

ioctl() invocation with 'SIOCGIWNAME' returns EOPNOTSUPP for wireless interface

I'm trying to run the following code in the native stack of my app on Pixel 6 running Android 13. Unfortunately, the ioctl() API invocation for the wireless interface wlan0 is returning error code 95 (EOPNOTSUPP). ​bool isWireless() { int sock; …
2
votes
0 answers

Is there any way to rename physical devices paired using wi-fi in Android Studio

One of the recent Android Studio updates introduced ability to connect physical android devices (with android 11+) using wi-fi (https://developer.android.com/studio/run/device?utm_source=android-studio-2021-1-1#wireless) The thing is I have several…
2
votes
0 answers

Android not trusting self-signed cert even though issuing cert installed in trust store

I have a captive portal on my Wi-Fi using a self-signed certificate. I installed the issuing (root) cert in the trusted cert store in Android under Settings > Biometrics and security > Other security settings > Install from device storage. I…
slantalpha
  • 515
  • 1
  • 6
  • 18