Questions tagged [android-wifi]

This tag is related to Wifi related questions on Android mobile devices

2111 questions
0
votes
0 answers

Transferring data using wi-fi sockets inside an anonymous thread stops after a few iterations - CLOSED

UPDATE Thanks to everyone who tried to help in any way. But after much research I discovered that the problem was not in the code. The equipment I connected to had a bug. The code written will perfectly fit the data now. I wrote a code that…
0
votes
0 answers

how to read mac address of cellphone thats unavailable in android studio

I have written some codes in android studio and I Can Read the Mac address but the problem is when the mac address of Cellphone is Unavailble an blutooth address is Unavailble too .... so What Can I read Mac address in this situation ?
0
votes
1 answer

How can I enforce internet connection only through wifi?

We have a Wifi-connected device. We need to connect to the device via wifi for installation. Once connected, the application sends the request on a ip. This works smoothly before android 9. But I'm having some problems when I do with android 9.…
Mustafa Kuloğlu
  • 1,122
  • 1
  • 8
  • 16
0
votes
1 answer

Is there a way to detect internet connectivity change when phone is connected to wifi over hotspot?

Phone A has mobile data ON and is sharing internet via Wi-Fi hotspot to Phone B. If Mobile Data is TURNED OFF in phone A, no connectivity change is received @PhoneB. How can I get this change in Phone B when mobile data is turned ON/OFF in Phone A?…
user1517153
  • 336
  • 2
  • 10
0
votes
0 answers

How to get data(mobile and wifi) usage of each application in android?

How to get data (mobile and wifi) usage of each application in android? Hello guys, I want to know that how much data (mobile and wifi) used by each application. Actually I need a solution which gives data usage of applications in a given time…
0
votes
1 answer

Android app: How to control system settings?

Disclaimer: I am a seasoned developer, but quite a newbie in the Android arena, sorry if asking the obvious. I need to write a "simple" App to collect data from other devices (Linux embedded) over which I have full control. Communication will be…
ZioByte
  • 2,690
  • 1
  • 32
  • 68
0
votes
0 answers

How to connect to school wifi with POST request using Arduino?

I am trying to connect to the wifi in my school using Arduino. I have no problem getting a connection to the wifi, but it's not that simple. After connecting to the wifi, I have to go to a login webpage to submit my username and password in order to…
0
votes
1 answer

Android location incorrect

This is my case. when the mobile signal is too weak one or two bars. The phone will connect to wifi automatically. After that, when the app try to acquire location. The location is always incorrect. is that gps signal issue?
Chih Yang
  • 11
  • 3
0
votes
1 answer

Bind all client sockets to wifi interface

I'm writing a client application for my action camera. There's an issue using network connections when smartphone connected to wifi and mobile network: Android determines, that wifi does not connected to internet, so all requests passed to mobile…
Bars
  • 194
  • 1
  • 7
0
votes
1 answer

Do I need to worry about new startScan()/getScanResults() restrictions if both compileSdkVersion and targetSdkVersion are 21?

My app stop working on Android Pie but my project (very old!) is compileSdkVersion 21 minSdkVersion 14 targetSdkVersion 21 Do you think I need to rewrite the code that uses WiFiManager to respect the latest Android security restrictions?
Seraphim's
  • 12,559
  • 20
  • 88
  • 129
0
votes
1 answer

RSSI measures in Android!!updating it from Wifi scan results!!how to?

I'm doing this app were I get the RSSI measurements from previous choosen APs (whch are retrieved in the "recebidos" variable stated in the code bellow!), but after the scan in broadcast receive the application is not updating the RSSI value, it is…
Mark
  • 11
  • 1
  • 3
0
votes
0 answers

Lauching a task when WIFI connects on Android Oreo or newer

I have an app that run some security checks and alerts the user using notifications when the device connects to a WIFI network with an specific SSID. The app run checks in background and if there is some security issue alerts the user using…
Cesar
  • 707
  • 3
  • 13
0
votes
1 answer

How to use ADB to connect to smartwatch? Smartphone is connected with PC over WiFi while smartwatch is paired with the smartphone using Bluetooth?

I know you can connect individually via adb connect :. However, I would like the setup to be in the following manner: PC to smartphone => wifi Smartphone to paired smartwatch => Bluetooth I don't want to connect to smartwatch directly…
0
votes
1 answer

Disable WiFi option in Google Text To Speech (TTS) programmatically

I am working on text conversion in android so I want to disable/enable Use WIfi-only option programmatically in TTS. Here is the code to land at Google TTS option page in settings: startActivity(new…
0
votes
1 answer

How to register Android Broadcast Reciever in my QT application?

I want to register broadcastReceiver in my application. I am writing a program to print some string when wifi is closed or wifi network is shifted to another network. Manifest:
Ash
  • 41
  • 7