Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I wonder how Android determines when you connect to an open network whether you need to authenticate in your browser or not for the internet connection to be established.
Does it just check if it can reach the WAN by pinging some server or does it query the default gateway address and checks the reply for some kind of information that hints authentication?
I'm curious how this works but I haven't been able to find an answer. Your thoughts?
Android OS is just another Linux distro, hence it works like in any Linux. The rules for connecting to a wireless are independent from the OS, and regulated by the international standard IEEE_802.11. You will find tons of info, just Google it. The connection to a wireless network is done by a special deamon in Linux, called of course usually "network manager". The connection process is too complex to explain here, but you can find everywhere on Google or Wikipedia.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
How would I find a device on the local network? I'm building an IoT device that needs to find another device connected to the same network.
There will be two ESP8266 modules that need to communicate with each other on the local network, how would I achive this?
Using mDNS doesn't work router just gives it a generic name.
I was thinking about storing the local IP in a database on my server but that seems very cumbersome and wouldn't work if it failed to establish a connection.
The devices will be using the ESP8266 and interfaced with an Android application.
Open your router admin page.
In the DHCP section give the two ESP8266 static IP addresses.
Remember the IP addresses and use them in your code.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I purchased a BLE module HM-10 from eBay. But it is a CC41-A actually. Currently I’m working on an IoT project both for Android and IOS. I actually tried to connect this with the IOS mobile app and it connected successfully. But when I try to connect it to Android (Samsung Note 3 and Nexus 5) it rejects pairing. It simply gives an error message saying “Pairing Rejected By CC41-A”. Snapshot.
Please help me to sort this problem.
Tried to find a lot and finally got to know that BLE modules like HM-10 does not have a pairing mode. They connect directly through the app
Try changing the TYPE parameter to 3
using the AT commands (no need to press any button) it will work just like that
BAUD 9600 by default.
after changing it to TYPE 3 it worked for me, didn't get "pairing rejected"
But I'm still having trouble connecting to it via my APP
(working on that part)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am developing an application which need to use both networks at the same time - via WiFi the app has connection with some external device, and control it, using of 3G network needs to download a firmware for device. But the problem is when you connect to WiFi the system automatically do the disconnect of 3G network. It seems that WiFi has high priority than 3G network, but I need to use them at the same time, it's wrong behavior of the system for me in this case
I saw a couple similar questions, but they have no solution. Is really android has no way for developers to control both networks even for versions higher than 4.03?
How we can solve the problem?
Do it in a linear fashion. Turn off the wifi and download the firmware. Subsequently re-connect to the device (re-enable the wifi) and transfer the locally stored firmware.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Can a mobile firmware app sniff all outgoing HTTP packets of a Wi-Fi network on a stock distribution device running Android OS connected to the fixed line (ADSL, for example).
In my understanding regarding what is stated here on PCAP page, for example, such is possible through custom firmware and by gaining root access. If so, could the firmware consist of something of a web proxy like Transproxy? I have doubts regarding the reliability of this approach because I know that there are apps that dont respect the central proxy settings (Firefox is one of them).
Or maybe the firmware could be implemented as an Android service that would act as hub for all outgoing HTTP traffic, by somehow forcing all the other apps to register to it?
Thank you!
The OS handles sending and receiving network data. Therefore the OS will also be able to look at the data if it wants to. I'm fairly sure this would have to be done at a system level, a service can't look at traffic from other apps.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
Could you please help me: is it possible to set proxy settings in Android (especially in Chrome)? I have to change IP on Android during the testing. Or there is some soft which can help me to solve this issue...
Found one solution for WIFI (works for Android 4.3, 4.4):
Connect to WIFI network (e.g. 'Alex')
Settings->WIFI
Long tap on connected network's name (e.g. on 'Alex')
Modify network config-> Show advanced options
Set proxy settings